From 17ad2ea8d215f3aa33a77f3c0063667e15e2fb34 Mon Sep 17 00:00:00 2001 From: woutdenolf Date: Fri, 3 Jul 2026 14:26:28 +0200 Subject: [PATCH 1/2] CI: remove QT_BINDING environment variable --- .github/workflows/test.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31f06533..c2ca9767 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,35 +23,30 @@ jobs: os: ubuntu-latest python-version: "3.12" qt-api: "PyQt6" - qt-binding: "" enable-coverage: "true" extra-pytest-args: "" - name: "py3.13-linux-qt6" os: ubuntu-latest python-version: "3.13" qt-api: "PyQt6" - qt-binding: "" enable-coverage: "false" extra-pytest-args: "" - name: "py3.11-linux-qt6" os: ubuntu-latest python-version: "3.11" qt-api: "PyQt6" - qt-binding: "" enable-coverage: "false" extra-pytest-args: "" - name: "py3.10-windows-qt6" os: windows-latest python-version: "3.10" qt-api: "PyQt6" - qt-binding: "" enable-coverage: "false" extra-pytest-args: "" - name: "py3.9-linux-qt5" os: ubuntu-latest python-version: "3.9" qt-api: "PyQt5" - qt-binding: "" enable-coverage: "false" extra-pytest-args: "-W ignore::RuntimeWarning:networkx.utils.backends" uses: ewoks-kit/.github/.github/workflows/python-tests.yml@main @@ -61,7 +56,6 @@ jobs: os: ${{ matrix.os }} python-version: ${{ matrix.python-version }} qt-api: ${{ matrix.qt-api }} - qt-binding: ${{ matrix.qt-binding }} enable-coverage: ${{ matrix.enable-coverage }} pytest-args: >- -v -ra -W error From de1943494381afd76316202b8f6bb8e2178f8e5e Mon Sep 17 00:00:00 2001 From: woutdenolf Date: Fri, 3 Jul 2026 16:51:02 +0200 Subject: [PATCH 2/2] native Orange task gets all OWS node settings, not just the task inputs --- pyproject.toml | 2 +- src/ewoksorange/tests/test_tutorials.py | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bb9a4035..9fae635d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ ] requires-python = ">=3.8" dependencies = [ - "ewokscore >=4.0.1", + "ewokscore >=5", "orange-canvas-core", "orange-widget-base>=4.13.0", "importlib-resources; python_version<'3.9'", diff --git a/src/ewoksorange/tests/test_tutorials.py b/src/ewoksorange/tests/test_tutorials.py index 7189958d..2525cd2c 100644 --- a/src/ewoksorange/tests/test_tutorials.py +++ b/src/ewoksorange/tests/test_tutorials.py @@ -1,5 +1,8 @@ +import warnings + import pytest from ewokscore import execute_graph +from ewoksutils.exceptions import TaskInputWarning from ..gui.workflows.owscheme import ows_to_ewoks from ..orange_version import ORANGE_VERSION @@ -145,6 +148,10 @@ def assert_mixed_tutorial_with_qt(ewoks_orange_canvas, filename): def assert_mixed_tutorial_without_qt(filename): """Execute workflow after converting it to an ewoks workflow""" graph = ows_to_ewoks(filename) - tasks = execute_graph(graph, output_tasks=True) + + with warnings.catch_warnings(): + warnings.simplefilter("ignore", TaskInputWarning) + tasks = execute_graph(graph, output_tasks=True) + results = tasks["2"].get_output_values() assert results == {"result": 3}