You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this isn't the latest pip version, have you checked using the latest pip version?
The version of the bindings you're using, if any (e.g. pyo3, rust-cpython or cffi): pyo3 0.14.x
Does cargo build work? Yes
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Please list the exact steps required to reproduce your error with all command output and if possible with a repository:
Just a simple build:
❯ maturin develop
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8
🐍 Not using a specific python interpreter (With abi3, an interpreter is only required on windows)
💥 maturin failed
Caused by: Invalid platform string from `sysconfig.get_platform()`
I've determined it is the base_version.split_once('.') call. That returns None because there is no dot-separated version in my platform string, it is simply 11. This is the case on both Big Sur 11.5.2, as well as Monterey 12.0.1, interestingly enough.
Please provide the following information:
python -V
): Python 3.9.8pip -V
): 21.3.1pyo3
,rust-cpython
orcffi
): pyo3 0.14.xcargo build
work? Yes/
)?Please list the exact steps required to reproduce your error with all command output and if possible with a repository:
Just a simple build:
0.12.0 introduced this
get_platform
inspection code, which is not parsing correctly it would seem. 0.11.x works fine.My sysconfig.get_platform() value is
macosx-11-arm64
on my M1 andmacosx-11-x86_64
on my Intel. Neither are working with 0.12.0.Thanks in advance!
The text was updated successfully, but these errors were encountered: