-
Notifications
You must be signed in to change notification settings - Fork 65
chore: python 3.14 support #2908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional Comments (1)
-
pyproject.toml, line 15 (link)logic: add Python 3.14 classifier to match the updated version constraint on line 25
4 files reviewed, 2 comments
8d86f86 to
2b25c48
Compare
|
@greptile review again knowing 3.14 is already released |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this PR to add Python 3.14 support, I can now provide a complete assessment knowing 3.14 is released:
Overall Assessment
The changes look good and follow the right pattern for adding Python version support. The PR correctly:
- ✅ Updates CI workflows to test against 3.14
- ✅ Updates
pyproject.tomlto allow Python 3.14 - ✅ Updates
poetry.lockwith Python 3.14-compatible dependencies
Key Observations
Dependency Handling:
- PyTorch 2.9.0 is being used for Python 3.14, which appears to be the first PyTorch version with official 3.14 support
- New dependencies added:
nvidia-nccl-cu12==2.27.5andnvidia-nvshmem-cu12==3.3.20specifically for 3.14 - Triton 3.5.0 is used for 3.14 (vs 3.4.0 for earlier versions)
cffi>=2.0.0b1is required for Python 3.14 (wascffi>=1.0.1for <3.14)
CI Strategy:
- Tests run on Python 3.10 and 3.14 (good coverage of min/max versions)
- Full matrix includes 3.10, 3.11, 3.12, 3.13, 3.14 across all platforms
- Diff coverage checks switched from 3.13 to 3.14 (ensuring latest version is thoroughly tested)
Potential Concerns
-
Poetry Version Inconsistency: The lock file shows it was regenerated with Poetry 2.1.4, but the previous version was 2.2.1. This might indicate the lock was generated in a different environment. Ensure your CI and dev environments use the same Poetry version.
-
Platform Markers: Some of the new 3.14 dependencies have the marker
sys_platform == "darwin"combined withplatform_system == "Linux", which is contradictory and likely incorrect. This might cause issues on actual Darwin/macOS systems. -
Testing Coverage: Since 3.14 is newly released, ensure you've run the full test suite locally to catch any compatibility issues that might not be obvious from the code changes alone.
The changes are well-structured and should work correctly for adding Python 3.14 support! 🚀
2b25c48 to
47c925c
Compare
No description provided.