feat: add support for Python 3.13 and 3.14#298
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughPython 3.13 and 3.14 are added to the CI test matrix in Python 3.13/3.14 support
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (69.93%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #298 +/- ##
=======================================
Coverage 69.93% 69.93%
=======================================
Files 142 142
Lines 10774 10774
=======================================
Hits 7535 7535
Misses 3239 3239 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Aligns the SDK’s declared and CI-tested Python support with the OpenFGA version support policy by extending coverage to the newest supported Python releases.
Changes:
- Expanded the GitHub Actions test matrix to run on Python 3.13 and 3.14.
- Added PyPI trove classifiers advertising Python 3.13 and 3.14 support.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Adds trove classifiers for Python 3.13 and 3.14 to advertise support on package metadata. |
.github/workflows/main.yaml |
Extends CI test matrix to include Python 3.13 and 3.14 across both urllib3 variants. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Brings the SDK's tested and advertised Python versions in line with the OpenFGA Language & Framework Version Support Policy.
The policy requires supporting every Python version currently in the bug-fix or security-fix phase per the Python Developer's Guide. As of this change the
supported set is 3.10, 3.11, 3.12, 3.13, 3.14. The repo previously only covered 3.10–3.12, leaving the two newest actively-developed releases (3.13 and 3.14, both in the bug-fix phase) untested and
unadvertised.
Changes
.github/workflows/main.yaml— add3.13and3.14to thetestjob'spython-versionmatrix.pyproject.toml— add theProgramming Language :: Python :: 3.13and:: 3.14trove classifiers.Policy alignment
Intentionally unchanged
requires-python = ">=3.10"— floor stays at the oldest supported version; 3.9 is EOL.target-version = "py310"(ruff) andpython_version = "3.10"(mypy) — these target the minimum supported version for lint/type-check, which is correct.3.10..snykinterpreter pin (3.10.6) — scanner resolves deps against the floor version; left as-is.Notes
testmatrix also has aurllib3-versionaxis (1.26.19,2.2.2), so this adds 4 new CI cells (2 Python × 2 urllib3).aiohttpis unpinned (>=3.9.3); the lockfile already resolves aiohttp 3.14.x, which ships 3.13/3.14 wheels.Test plan
3.13and3.14cells (both urllib3 variants)urllib3==1.26.19(pinned legacy line) installs and imports cleanly on 3.13 and 3.14Summary by CodeRabbit