-
-
Notifications
You must be signed in to change notification settings - Fork 8
feat: support python 3.14 #167
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
Conversation
WalkthroughBumps Python upper bound from 3.13 to 3.14 across CI workflow, nox session default, and project classifiers. No control-flow or logic changes beyond version literals. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (21)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
It seems we need to wait for a new release of libgit2/pygit2@ff64e61 |
|
I also raised awareness of their ability to deploy future-compatible wheels using |
|
FWIW, I've been diving into the pygit2 source code... They cannot deploy future-compatible wheels because some of pygit2 C sources rely parts of the Python C API that are not exposed in its Limited API. Note, Python C extensions must only use the Python C Limited API to guarantee future compatibility. This might change in the future when Python 3.13 becomes the minimum supported Python version, but the Aside from that, I have submitted patches to pygit2 to improve CI and support Python free-threaded variants (3.14t). Pygit2 v1.19.0 should be out soon. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #167 +/- ##
=======================================
Coverage 98.26% 98.26%
=======================================
Files 23 23
Lines 1899 1899
=======================================
Hits 1866 1866
Misses 33 33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Pygit2 v1.19.0 is out! It drops support for Python 3.10. @shenxianpeng In the future, we have to remember to update the uv.lock file to support newer Python versions: |
Python 3.14 has been released today, so let's start supporting it.
I kept Python 3.9 even though it's EOL, since some users (including myself on AIX 7.2 🙂) are still using it.
Summary by CodeRabbit
New Features
Tests
Chores