From d9be0e9655ef18dcc4df9ab5297740bec553bd6e Mon Sep 17 00:00:00 2001 From: Maarten Breddels Date: Fri, 12 Jun 2026 13:23:31 +0200 Subject: [PATCH 1/2] Fix CI stuck in queue by moving off retired ubuntu-20.04 runner GitHub retired the ubuntu-20.04 runner image, so the code-quality and unit-test jobs queued forever and never started. Move them to ubuntu-22.04, which the installation job already uses successfully and which still provides Python 3.7/3.8 via actions/setup-python. Python 3.6 is dropped from the unit-test matrix because no 3.6 builds exist for ubuntu-22.04; 3.7 through 3.13 remain. Pin bqplot<0.13 (0.13 breaks import) and pandas<3 (breaks one test) at the workflow install step rather than in pyproject, since these are CI-environment issues, not package requirements. Co-Authored-By: Claude Fable 5 --- .github/workflows/codequality.yaml | 2 +- .github/workflows/unittest.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codequality.yaml b/.github/workflows/codequality.yaml index b36889f..c78c407 100644 --- a/.github/workflows/codequality.yaml +++ b/.github/workflows/codequality.yaml @@ -5,7 +5,7 @@ on: jobs: code-quality: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index f53bbab..39a4de7 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -17,11 +17,11 @@ jobs: unit-test: needs: [build, code-quality] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -35,6 +35,6 @@ jobs: path: ./dist - name: Install run: | - pip install `echo dist/*.whl`[dev] + pip install `echo dist/*.whl`[dev] "bqplot<0.13" "pandas<3" - name: test run: pytest --cov=reacton reacton From 9154cfba0d8e34952e1f3b4fc17c9c2a39c3740b Mon Sep 17 00:00:00 2001 From: Maarten Breddels Date: Fri, 12 Jun 2026 13:33:51 +0200 Subject: [PATCH 2/2] Pin ruff in CI so generated-code tests match the expected formatting The generate_test.py assertions encode the output of `ruff format`, which changed its blank-line style in newer releases, so an unpinned ruff makes these tests fail in CI. Pin ruff to 0.8.3, the same version the pre-commit hook already uses, where the tests pass. Co-Authored-By: Claude Fable 5 --- .github/workflows/unittest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 39a4de7..19e9a25 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -35,6 +35,6 @@ jobs: path: ./dist - name: Install run: | - pip install `echo dist/*.whl`[dev] "bqplot<0.13" "pandas<3" + pip install `echo dist/*.whl`[dev] "bqplot<0.13" "pandas<3" "ruff==0.8.3" - name: test run: pytest --cov=reacton reacton