Skip to content

CI: test Python 3.10–3.13; drop 3.8 and 3.9 - #120

Merged
jrfaeder merged 1 commit into
mainfrom
ci/python-matrix-3.10-3.13
Nov 24, 2026
Merged

jrfaeder merged 1 commit into
mainfrom
ci/python-matrix-3.10-3.13

Conversation

@jrfaeder

Copy link
Copy Markdown
Contributor

The ci-testing matrix still lists Python 3.8 and 3.9. Both now fail on every PR, for reasons unrelated to the code (seen on #119):

  • Ubuntu: actions/setup-python stops before any code runs with "The version '3.8' with architecture 'x64' was not found for Ubuntu 26.04", and the same for 3.9. ubuntu-latest moved to 26.04, which does not provide them.
  • macOS: with 3.9, test collection fails because the python-libsbml extension no longer loads (ImportError: dlopen(... _libsbml.cpython-39-darwin.so ...)).

Both versions are past end of life (3.8 in October 2024, 3.9 in October 2025). This PR tests 3.10, 3.11, 3.12 and 3.13 on all three operating systems. 3.13 is new to the matrix. If its jobs fail on a dependency, that tells us what blocks 3.13 users, and the version can be dropped again.

setup.py has no python_requires, so this PR changes only what CI tests, not who can install. Whether to add python_requires=">=3.10" for the 0.8.8 release is a separate decision. With it, users on 3.8 or 3.9 would be held at 0.8.7 by pip, and so would not get the #118 security fix.

🤖 Generated with Claude Code

ubuntu-latest (Ubuntu 26.04) no longer provides Python 3.8 or 3.9, so
those jobs fail in actions/setup-python before any code runs. On
macos-latest, the python-libsbml wheel no longer loads under 3.9. Both
versions are past end of life (3.8 in Oct 2024, 3.9 in Oct 2025). Add
3.13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jrfaeder
jrfaeder merged commit 2fdc33d into main Nov 24, 2026
15 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.

1 participant