Skip to content

Update pyo3 to 0.27#44

Closed
musicinmybrain wants to merge 1 commit intoDoctorJohn:mainfrom
musicinmybrain:pyo3-v0.27
Closed

Update pyo3 to 0.27#44
musicinmybrain wants to merge 1 commit intoDoctorJohn:mainfrom
musicinmybrain:pyo3-v0.27

Conversation

@musicinmybrain
Copy link
Copy Markdown
Contributor

@DoctorJohn
Copy link
Copy Markdown
Owner

Thanks for your contribution! PyO3 drops support for Python 3.9 and 3.10 which we'd like to keep around for a bit longer.

I'm well aware these versions are end of life, but they still make up a significant amount of our downloads, so they'll stay first class citizens for a bit longer.

image

@musicinmybrain
Copy link
Copy Markdown
Contributor Author

musicinmybrain commented Nov 25, 2025

That’s reasonable enough! This PR will still be available when you need it, and I’ll be carrying it as a downstream patch in Fedora, since we don’t benefit from supporting end-of-life interpreters, but we do benefit from the improved Python 3.14 support in PyO3 0.26 and later, and it’s my understanding, though I can’t dig up a link right now, that versions of PyO3 prior to 0.26 are also expected to have issues with a future LLVM release.

@musicinmybrain
Copy link
Copy Markdown
Contributor Author

Amended my comment above; I was mixing up PyO3 and bindgen with respect to LLVM compatibility.

@ngoldbaum
Copy link
Copy Markdown
Contributor

PyO3 drops support for Python 3.9 and 3.10 which we'd like to keep around for a bit longer.

Hi, I think this might be a misreading of the PyO3 changelog. PyO3 dropped support for pypy 3.9 and 3.10, not Python 3.9 and 3.10.

I doubt pypy 3.9 and 3.10 are a big fraction of your downloads. Unfortunately pypistats doesn't break stats out between CPython and pypy.

I think I might go ahead and open a new PR based on this one that updates to PyO3 0.28, which automatically declares support for the free-threaded build in the extension. PyO3 0.28 still supports Python 3.8 and 3.9.

@ngoldbaum ngoldbaum mentioned this pull request Mar 18, 2026
@DoctorJohn
Copy link
Copy Markdown
Owner

I think this might be a misreading of the PyO3 changelog. PyO3 dropped support for pypy 3.9 and 3.10, not Python 3.9 and 3.10.

You're absolutely correct. I misread the release notes. We can go ahead and upgrade PyO3.

@DoctorJohn
Copy link
Copy Markdown
Owner

Sorry for unnecessarily holding this back @musicinmybrain, I misread the release notes. Thanks again for opening this PR!

Closing in favor of #60

@DoctorJohn DoctorJohn closed this Mar 20, 2026
@musicinmybrain
Copy link
Copy Markdown
Contributor Author

Thanks!

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.

3 participants