Repository navigation
feat: update to PyO3 0.30 - #121
Conversation
PyO3 0.30 drops Python 3.8 and raises its MSRV to 1.85, so follow suit: bump rust-version, test abi3 against py39, and remove 3.8 from the CI matrix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jpmckinney
left a comment
There was a problem hiding this comment.
Looks good. Though, I figure matrix should use non-dev 3.15 (as it's been released), and add the dev for 3.16 (to match current practice).
| fail-fast: false # If one platform fails, allow the rest to keep testing. | ||
| matrix: | ||
| python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"] | ||
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"] |
There was a problem hiding this comment.
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"] | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t", "3.16-dev", "3.16t-dev"] |
There was a problem hiding this comment.
Thanks! Switched to the released 3.15/3.15t in e898a9e, which matches PyO3's own CI. I've held off on 3.16-dev since PyO3 doesn't test against it yet and setup-python doesn't have a 3.16 build. Happy to add it once either changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Any progress on this one? we're hoping to upgrade to pyo3 0.30 and we also depend on pythonize |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #121 +/- ##
=======================================
Coverage 85.64% 85.64%
=======================================
Files 3 3
Lines 1198 1198
Branches 1198 1198
=======================================
Hits 1026 1026
Misses 106 106
Partials 66 66 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Release should be going live now. Sorry for the delay folks - had family commitments to deal with the past couple weeks. |
Bumps
pyo3to 0.30.PyO3 0.30 drops Python 3.8 support and raises its MSRV to 1.85, so this also:
rust-versionto 1.85abi3-py38(no longer exists) toabi3-py39Tested locally:
cargo test,cargo test --features pyo3/abi3-py39, andcargo test --features arbitrary_precisionall pass. (cargo clippy --all-targetsreports 3approx_constanterrors in tests, but those are already present onmain.)🤖 Generated with Claude Code