← 输入框|github.com|刷新
Skip to content

feat: update to PyO3 0.30 - #121

Merged
davidhewitt merged 3 commits into
davidhewitt:mainfrom
sd2k:pyo3-0.30
Nov 10, 2026
Merged

davidhewitt merged 3 commits into
davidhewitt:mainfrom
sd2k:pyo3-0.30

Conversation

@sd2k

@sd2k sd2k commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Bumps pyo3 to 0.30.

PyO3 0.30 drops Python 3.8 support and raises its MSRV to 1.85, so this also:

  • bumps rust-version to 1.85
  • switches the abi3 CI test from abi3-py38 (no longer exists) to abi3-py39
  • removes 3.8 from the CI Python matrix
  • adds an Unreleased CHANGELOG entry

Tested locally: cargo test, cargo test --features pyo3/abi3-py39, and cargo test --features arbitrary_precision all pass. (cargo clippy --all-targets reports 3 approx_constant errors in tests, but those are already present on main.)

🤖 Generated with Claude Code

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>
@sd2k sd2k changed the title Update to PyO3 0.30 feat: update to PyO3 0.30 Oct 18, 2026

@jpmckinney jpmckinney left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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).

Comment thread .github/workflows/ci.yml Outdated
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"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
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"]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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>
@fabianmurariu

Copy link
Copy Markdown

Any progress on this one? we're hoping to upgrade to pyo3 0.30 and we also depend on pythonize

@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.64%. Comparing base (901358d) to head (22f574a).

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.
📢 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.

@davidhewitt
davidhewitt merged commit 6b3f3b1 into davidhewitt:main Nov 10, 2026
38 checks passed
@davidhewitt

Copy link
Copy Markdown
Owner

Release should be going live now. Sorry for the delay folks - had family commitments to deal with the past couple weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants