Skip to content

Conversation

@shaneahmed
Copy link
Member

@shaneahmed shaneahmed commented Oct 10, 2025

This PR upgrades the supported Python versions by removing support for Python 3.9 and adding support for Python 3.13. It also updates NumPy to version >2.0.0 to maintain compatibility with the new Python versions.

  • Drops Python 3.9 support and adds Python 3.13 support
  • Updates NumPy from <2.0.0 to >=2.0.0
  • Modernizes code for new Python versions with strict parameters and type hint improvements
  • Adds tests for type hints

Summary

File Description
setup.py Updates Python version constraints and classifiers
requirements/requirements.txt Updates NumPy version and PyTorch CUDA version
pyproject.toml Updates target Python version for tools
Multiple .py files Adds strict=False to zip() calls and modernizes type imports
GitHub workflows Updates CI matrix to test Python 3.10-3.13
Documentation Updates supported Python version references

@shaneahmed shaneahmed self-assigned this Oct 10, 2025
@shaneahmed shaneahmed added the enhancement New feature or request label Oct 10, 2025
@shaneahmed shaneahmed added this to the Release v2.0.0 milestone Oct 10, 2025
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@shaneahmed shaneahmed requested review from Jiaqi-Lv and measty October 15, 2025 10:11
@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.31%. Comparing base (e3c0cc9) to head (f071c53).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #958      +/-   ##
===========================================
+ Coverage    99.09%   99.31%   +0.21%     
===========================================
  Files           71       71              
  Lines         9161     9163       +2     
  Branches      1196     1196              
===========================================
+ Hits          9078     9100      +22     
+ Misses          59       39      -20     
  Partials        24       24              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Jiaqi-Lv Jiaqi-Lv requested a review from Copilot October 15, 2025 10:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the supported Python versions by removing support for Python 3.9 and adding support for Python 3.13. It also updates NumPy to version >2.0.0 to maintain compatibility with the new Python versions.

  • Drops Python 3.9 support and adds Python 3.13 support
  • Updates NumPy from <2.0.0 to >=2.0.0
  • Modernizes code for new Python versions with strict parameters and type hint improvements

Reviewed Changes

Copilot reviewed 64 out of 64 changed files in this pull request and generated no comments.

Show a summary per file
File Description
setup.py Updates Python version constraints and classifiers
requirements/requirements.txt Updates NumPy version and PyTorch CUDA version
pyproject.toml Updates target Python version for tools
Multiple .py files Adds strict=False to zip() calls and modernizes type imports
GitHub workflows Updates CI matrix to test Python 3.10-3.13
Documentation Updates supported Python version references
Comments suppressed due to low confidence (4)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Jiaqi-Lv Jiaqi-Lv requested a review from Copilot October 15, 2025 13:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 64 out of 64 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (4)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Jiaqi-Lv Jiaqi-Lv requested a review from Copilot October 16, 2025 10:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 65 out of 65 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (3)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@shaneahmed shaneahmed merged commit e1eb5bd into develop Oct 16, 2025
27 checks passed
@shaneahmed shaneahmed deleted the dev-update-python-version branch October 16, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants