python-zstandard
python-zstandard copied to clipboard
Update PyO3 to latest version
Right now PyO3 is set to 0.21.2 in Cargo.toml but the latest version is 0.23.4. PyO3 0.22 finalized the gil refs migration and it looks like there are some minor things that need to be fixed. You'll be able to turn on 3.13 CI for Rust once this is done.
PyO3 0.23 added support for the free-threaded build, so you'll also need to update to 0.23 to support the free-threaded build with the rust backend.
I'm now a PyO3 maintainer and helped ship 0.23, please let me know if you need a hand with any of this.
Originally posted by @indygreg in https://github.com/indygreg/python-zstandard/pull/243#discussion_r1948231218
I think based on this assistance would be very much appreciated if you have time Nathan!
main is now on PyO3 0.24. We also enabled Rust on Python 3.13. And on Linux and Windows ARM CI (which are now using native ARM runners).
I didn't attempt the IntoPyObject migration yet and could use some help with that.
I also possibly created some future bugs around free-threaded support. But I suppose those will get teased out when we actually implement free-threaded support.
mainis now on PyO3 0.24. We also enabled Rust on Python 3.13. And on Linux and Windows ARM CI (which are now using native ARM runners).I didn't attempt the
IntoPyObjectmigration yet and could use some help with that.I also possibly created some future bugs around free-threaded support. But I suppose those will get teased out when we actually implement free-threaded support.
pyo3 is now on 0.25: especially useful for improved free-threading support in 3.14!
Yeah, we need to tackle IntoPyObject so we can upgrade to 0.25 and unblock 3.14 support.
I'm putting out the zstandard 0.24.0 release today. But I'd love to get free-threading landed and follow up with a 0.25.0 release as soon as it is ready.
#273 should close this