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 #243 (comment)
Right now PyO3 is set to 0.21.2 in
Cargo.tomlbut 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 #243 (comment)