Open DanielYang59 opened 1 week ago
The changes in this pull request primarily involve modifications to the pyproject.toml
and GitHub Actions workflow files. The pyproject.toml
file updates the Python version requirements to restrict it to a maximum of 3.13 and removes the upper limit for the numpy
dependency. Additionally, it introduces conditional dependencies for pint
and torch
based on the Python version. The GitHub Actions workflow is updated to reflect the new Python versions in the job matrix.
File | Change Summary |
---|---|
pyproject.toml | Updated requires-python to ">=3.9,<=3.13" ; removed upper limit for numpy ; added conditional dependencies for pint and torch . |
.github/workflows/test.yml | Updated python-version in job matrix from ["3.9", "3.12"] to ["3.9", "3.10", "3.11", "3.12", "3.13"] ; reordered OS list and updated variable name to python . |
Objective | Addressed | Explanation |
---|---|---|
Support Numpy 2 | ✅ | |
Support Python 3.13 | ✅ |
🐰 Hopping through the code so bright,
Numpy's limits take flight!
With Torch by its side, oh what a sight,
Compatibility shines, all feels right!
Let's celebrate with a joyful cheer,
For changes that bring us near! 🎉
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.53%. Comparing base (
1798d59
) to head (d7a6d02
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
New Features
numpy
,pint
, andtorch
.Bug Fixes
torch
dependency concerningnumpy 2
.Chores