-
-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maturin develop builds for mixed python versions #2198
Comments
That's odd, could you play around with maturin source code (use Lines 807 to 824 in a40f720
|
I think there are two parts to this issue: User setup
Why is it Python version discovery by maturinI think I just had a similar experience on Ubuntu with this setup:
Steps to reproduce:
This is clearly an issue with the setup, not with maturin itself. However, I don't know if that's actually desirable, or if the current behavior is best. |
Bug Description
The bug on my machine is that maturin builds for a faulty combination of python versions.
I have multiple Python versions on my system.
I have pinned it to 3.11:
Your maturin version (
maturin --version
)maturin 1.7.0
Your Python version (
python -V
)Python 3.11.9
Your pip version (
pip -V
)pip 24.0 from /nix/store/z5xf4y7v8b5g31x0cxj683x38n5gakam-python3.12-pip-24.0/lib/python3.12/site-packages/pip (python 3.11)
What bindings you're using
pyo3
Does
cargo build
work?Steps to Reproduce
The error is here:
For reasons in this line there is the wrong python version.
The text was updated successfully, but these errors were encountered: