Repository navigation
physXAI 0.3.0: Python 3.11 - 3.13, dependency versions fixing the security advisories - #86
Merged
Merged
Conversation
…ries - requirements.txt: first patched releases for all 76 open Dependabot alerts (GitPython 3.2.1, keras 3.15.0, urllib3 2.8.0, protobuf 5.29.6, requests 2.33.0, certifi 2026.10.18, idna 3.15, Markdown 3.8.1, Pygments 2.20.0, Werkzeug 3.1.9, setuptools 84.1.0, wheel 0.46.2). keras 3.15 needs Python >= 3.11. - pyproject.toml: GitPython >= 3.2.1; keras >= 3.15.0 on Python >= 3.11 (older keras versions are vulnerable when loading models), unchanged below. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
- Python 3.9 (EOL 2025-10, no longer available on the GitHub runners) and 3.10 (EOL 2026-10) are dropped, 3.13 is added (CI matrices, classifiers). - keras >= 3.15.0 for all supported versions (no Python markers needed anymore). - requirements.txt regenerated from a fresh install (tensorflow 2.21, which supports 3.13); numpy and scipy are pinned per Python version, since numpy 2.5 and scipy 1.18 need Python 3.12. All versions are at or above the security fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
physXAI 0.3.0. It supports Python 3.11–3.13 and closes the 76 open Dependabot alerts on
main(2 critical, 47 high, 24 moderate, 3 low).Why a minor release
Python 3.9 is no longer available on the GitHub runners (
The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04), so every PR onmainfailed. Python 3.9 has been end of life since 2025-10 and 3.10 since 2026-10. The patched keras 3.15 also requires Python 3.11.Python 3.11 stays supported (end of life 2027-10), the same range as physXAI 1.0.
Python 3.14 is not possible yet. The only TensorFlow with cp314 wheels is the release candidate 2.22.0rc0, which depends on
keras-nightly. Python 3.14 can be added once TensorFlow 2.22 is final.Changes
Python 3.11–3.13:
requires-python = ">=3.11", the classifiers, and the matrices ofpytest_coverage.yml,verify_installation.ymlandverify_executables.yml.copilot-instructions.mdis updated too.pyproject.toml:keras>=3.15.0(older versions have known vulnerabilities when loading.kerasmodels) andGitPython>=3.2.1.requirements.txt: regenerated from a fresh install of this branch, the way the CI installs it. tensorflow 2.21.0 supports Python 3.13; 2.19 did not. numpy and scipy are pinned per Python version, because numpy 2.5 and scipy 1.18 require Python 3.12:Every version is at or above the first patched release of all advisories: GitPython 3.2.1, keras 3.15.1, urllib3 2.8.0, protobuf 7.36.2, requests 2.34.2, certifi 2026.10.23, idna 3.20, Pygments 2.21.0, setuptools 84.2.1, wheel 0.48.0. tensorboard, and with it Werkzeug and Markdown, is no longer a dependency of tensorflow 2.21.
Verification
pip install .andpip checkare clean.pytest unittests: 12 passed.unittests/verify_installation.py: OK.requirements.txtresolves for Python 3.11, 3.12 and 3.13 on Windows and Linux (uv pip compile --python-version … --python-platform …; pip cannot evaluate the markers of another Python version).After the merge
Create the tag
v0.3.0on the merge commit. The version comes from the tag (setuptools-scm).Relation to 1.0.0
The merge of
refactoring_v1.0.0intomainwill conflict in two places:requirements.txt: 1.0 deletes the file. Keep the deletion; 1.0 hasconstraints.txt.pyproject.tomland the workflows: take the 1.0 version.PR #84 fixes the same numpy/scipy issue for Python 3.11 in the
constraints.txtof 1.0.🤖 Generated with Claude Code