PyO3 / pyo3-async-runtimes

PyO3-based bridges between Python and Rust async runtimes
Other
29 stars 7 forks source link

pyo3 0.22 Support #11

Open Zheaoli opened 1 day ago

Zheaoli commented 1 day ago

🐛 Bug Reports

https://github.com/apache/opendal/issues/5224

In some third party library, we are trying to support Python 3.13. we need update the PyO3 to a version larger than 0.22

For now, https://crates.io/crates/pyo3-async-runtimes/0.21.0/dependencies this lib is lock pyo3 to 0.21

So, Should we consider update the pyo3-async-runtimes to 0.22.x support?

cpu commented 1 day ago

:wave: I was also looking into this recently.

0.22 support was merged to main in https://github.com/PyO3/pyo3-async-runtimes/pull/7, however the documentation still needs updating and the Cargo.toml version bumped for a proper release (see https://github.com/PyO3/pyo3-async-runtimes/pull/9).

You could use a Cargo patch in the meantime:

[patch.crates-io]
# TODO(XXX): remove once pyo3-async-runtimes cuts a 0.22 release.
pyo3-async-runtimes  = { git = 'https://github.com/PyO3/pyo3-async-runtimes.git', rev = '284bd36d0426a988026f878cae22abdb179795e6' }
Zheaoli commented 1 day ago

May I ask when will the project release the next version? I think I can not lock the version by using git hash in the upstream repo.

kylebarron commented 1 day ago

You should be able to use the git hash, at least until you plan to publish to crates.io next.

Otherwise, I think we all hope for a new release soon