Skip to content

Update Pyo3 to v0.28#60

Merged
DoctorJohn merged 3 commits intoDoctorJohn:mainfrom
ngoldbaum:pyo3-v0.28
Mar 20, 2026
Merged

Update Pyo3 to v0.28#60
DoctorJohn merged 3 commits intoDoctorJohn:mainfrom
ngoldbaum:pyo3-v0.28

Conversation

@ngoldbaum
Copy link
Copy Markdown
Contributor

@ngoldbaum ngoldbaum commented Mar 18, 2026

Supersedes #44. Fixes #59.

I'm not sure when pypy 3.9 went EOL, but it's been that way for some time. In fact, pypy 3.10 is EOL as well.

Ping @mattip, who is one of the main pypy maintainers and one of my colleagues at Quansight. I think he'd agree with me that you probably shouldn't still be publishing wheels for old pypy versions.

@ngoldbaum
Copy link
Copy Markdown
Contributor Author

See the PR in my fork for passing CI: ngoldbaum#1 (except for benchmark uploads to codspeed, which I don't have access to from my fork)

@ngoldbaum
Copy link
Copy Markdown
Contributor Author

Also see fastapi/fastapi#15149, where fastar re-enabling the GIL is causing the FastAPI tests to fail on 3.14t.

@mattip
Copy link
Copy Markdown

mattip commented Mar 18, 2026

If the project is still supporting CPython 3.8, 3.9, then they can continue supporting PyPy3.9, 3.10. The PyPy versions are "EOL" as much as the CPython versions are: none of them are getting updates.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 19, 2026

Merging this PR will not alter performance

✅ 21 untouched benchmarks


Comparing ngoldbaum:pyo3-v0.28 (65ea05e) with main (f0a02fc)

Open in CodSpeed

@DoctorJohn
Copy link
Copy Markdown
Owner

Thanks again @ngoldbaum! This should unblock the fastapi[standard] tests for free-threaded Python. I'm also happy about the PyO3 upgrade, which I unnecessarily held back by misreading their release notes 🫠

@DoctorJohn DoctorJohn merged commit 1631882 into DoctorJohn:main Mar 20, 2026
31 checks passed
@DoctorJohn DoctorJohn mentioned this pull request Mar 20, 2026
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.

Importing fastar re-enables the GIL on the free-threaded build

4 participants