How to upgrade/update pyo3? #5628
Replies: 3 comments
-
|
Hi @AxelNennker! There are several possible project layouts possible when using maturin. Most of these have a Once you've found the |
Beta Was this translation helpful? Give feedback.
-
|
As well as @LilyFirefly's solution above I think there is a possible alternative here, which is that the user is installing a package which is itself built using PyO3. In this case the user will need to identify which package has failed to build, and upgrade that package. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the answers. There is not Cargo.toml in the source code that I got from a partner.
I try to install requiremnts.txt and bummer with the error that python 3.13 is not supported by this pyo3 version. I solved my problem by putting everything into docker with python 3.12 I asked that partner to update to the latest pyo3 Thanks again. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I get the error message that my Python3 is to new for pyo3. There is a new version.
Latest version is currently 0.27.1
I updated rust, python3, pip, maturin and installed py03-pack, but the error message stays the same.
I am on macos Tahoe and pip tells me to use brew.
cargo add pyo3does not work because there is no Cargo.tomlI guess I must tell maturin to use the newer pyo3, but how do I do that?
How do I update from pyos 0.21.1 to 0.27.1, which hopefully supports python 3.13.
Thank you
Axel
ps: Feature request:
Get latest release version from crates.io/crates/pyo3 and tell user in error message how to update to that
Beta Was this translation helpful? Give feedback.
All reactions