Skip to content

Fix CI: test Python 3.9-3.14 with current GitHub Actions - #38

Merged
amamd07 merged 2 commits into
masterfrom
tasks/11945
Nov 10, 2026
Merged

amamd07 merged 2 commits into
masterfrom
tasks/11945

Conversation

@amamd07

@amamd07 amamd07 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes the test workflow, which fails before running any tests. This blocks #37.

Problem

actions/setup-python@v2 on ubuntu-latest can no longer install Python 3.8 and 3.9 (Version 3.8 with arch x64 not found), and fail-fast then cancels the other versions. It has been failing since at least April (#36). The tests themselves pass: the 3.11 job on #37 got to run them (67 passed) before being cancelled.

The matrix was also behind current Python releases: it tested 3.8, which is end-of-life, and not 3.13 or 3.14.

Changes

  • Test 3.9, 3.10, 3.11, 3.12, 3.13, 3.14; drop 3.8. 3.9 runs on ubuntu-24.04, because ubuntu-latest is now Ubuntu 26.04 and has no Python 3.9 build.
  • actions/checkout@v4 and actions/setup-python@v5.
  • fail-fast: false, so one version's failure doesn't cancel and hide the others.
  • Test-only pins: psycopg2-binary 2.9.9 → 2.9.11 and PyYAML 6.0.1 → 6.0.3. 2.9.9 fails to build on 3.13+, and these are the first releases with wheels for every version in the matrix. Runtime requirements in setup.py (>= bounds) are unchanged.

Tests

All six CI jobs pass. The full suite also passes locally on all six versions (63 tests each, in the official python:<version> images).

ahmed and others added 2 commits October 30, 2026 15:15
setup-python@v2 on ubuntu-latest can no longer install Python 3.8/3.9,
so every run failed before reaching the tests and fail-fast cancelled
the remaining versions.

- Test 3.9-3.14 (drop 3.8, unused; add 3.13/3.14, used in production).
- actions/checkout@v4 and actions/setup-python@v5.
- fail-fast: false so one version's failure doesn't hide the others.
- Test-only pins psycopg2-binary 2.9.11 and PyYAML 6.0.3, the first
  releases with wheels for every version in the matrix. Runtime
  requirements in setup.py are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ubuntu-latest is now Ubuntu 26.04, which has no Python 3.9 build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@hammady hammady left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a general purpose library. Any reference to Rayyan's own worker applications should be omitted.

@amamd07

amamd07 commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Done.

@amamd07
amamd07 merged commit 98f486a into master Nov 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants