Repository navigation
30 support phyton 39 311 - #31
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR extends Python version compatibility from supporting only Python 3.12 to supporting Python 3.9 through 3.12. This broadens the accessibility of the physXAI framework to users with older Python environments.
- Updated
requires-pythonconstraint from>=3.12to>=3.9in pyproject.toml - Added Python version classifiers for 3.9, 3.10, and 3.11
- Configured all GitHub Actions workflows to test against multiple Python versions using matrix strategy
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pyproject.toml | Lowered minimum Python requirement to 3.9 and added classifiers for Python 3.9-3.11 |
| .github/workflows/verify_installation.yml | Added matrix strategy to test installation across Python 3.9-3.12 |
| .github/workflows/verify_executables.yml | Extended matrix to test executables on all supported Python versions |
| .github/workflows/pytest_coverage.yml | Added Python version matrix with conditional logic to generate artifacts only for Python 3.12 |
Comments suppressed due to low confidence (4)
pyproject.toml:27
- numpy 2.1.3 requires Python >=3.10 according to its release metadata. This conflicts with the
requires-python = '>=3.9'constraint. For Python 3.9 compatibility, consider usingnumpy>=1.26.0,<2.0.0or verify that numpy 2.x actually supports Python 3.9.
"numpy>=2.1.3",
pyproject.toml:29
- scikit-learn 1.6.1 requires Python >=3.10. For Python 3.9 support, use
scikit-learn>=1.3.0,<1.6.0or verify compatibility with the specified version.
"scikit-learn>=1.6.1",
pyproject.toml:31
- tensorflow 2.19.0 requires Python >=3.10. For Python 3.9 compatibility, consider using
tensorflow>=2.15.0,<2.17.0or verify that the specified version supports Python 3.9.
"tensorflow>=2.19.0",
pyproject.toml:30
- keras 3.9.2 requires Python >=3.10. For Python 3.9 support, use an earlier version like
keras>=3.0.0,<3.5.0or verify compatibility.
"keras>=3.9.2",
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (3)
pyproject.toml:31
- TensorFlow 2.19.0 is not a known version as of January 2025 (latest stable was 2.18.x). This version may not exist yet. Additionally, TensorFlow 2.16+ requires Python >=3.9, but verify compatibility across all target Python versions (3.9-3.12).
"tensorflow>=2.19.0",
pyproject.toml:33
- Pydantic 2.11.4 is not a known version as of January 2025 (latest v2 was around 2.10.x). Verify this version exists or adjust to a valid version that supports Python 3.9-3.12.
"pydantic>=2.11.4",
pyproject.toml:34
- Plotly 6.0.1 is not a known version as of January 2025 (latest was 5.x series). Verify this version exists or adjust to a valid version like '>=5.0.0' for Python 3.9-3.12 compatibility.
"plotly>=6.0.1",
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.