error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-rkt2qow4 --interpreter /tmp/tmpuddvu3ko/venv/bin/python`
error: failed to parse lock file at: /tmp/pip-install-x1uuelja/orjson_be1bfbf527964ac1b41c3763185da25a/Cargo.lock
Caused by:
lock file version `4` was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated?
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-rkt2qow4', '--interpreter', '/tmp/tmpuddvu3ko/venv/bin/python']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Running `maturin pep517 build-wheel -i /tmp/tmprxehlbqu/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/LICENSE"
📦 Including license file "/tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.13t at /tmp/tmprxehlbqu/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.13t at /tmp/tmprxehlbqu/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/src/rust/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
error: package `asn1_derive v0.21.3` cannot be built because it requires rustc 1.65.0 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.65.0 or newer, or use
cargo update -p asn1_derive@0.21.3 --precise ver
where `ver` is the latest version of `asn1_derive` supporting rustc 1.63.0
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/tmp/tmprxehlbqu/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmprxehlbqu/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-qdun881g/cryptography_fc221913eabc44cfbc4f7c5ba3cf6d81/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmprxehlbqu/venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cryptography)
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-u5kzp76e --interpreter /tmp/tmp90fjynwk/venv/bin/python`
error: failed to parse lock file at: /tmp/pip-install-x6gi3va3/orjson_5572fb8f9e08499c89cc5b5250b1e64b/Cargo.lock
Caused by:
lock file version `4` was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated?
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-u5kzp76e', '--interpreter', '/tmp/tmp90fjynwk/venv/bin/python']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Running `maturin pep517 build-wheel -i /tmp/tmp2x9boh2g/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/LICENSE"
📦 Including license file "/tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.14t at /tmp/tmp2x9boh2g/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.14t at /tmp/tmp2x9boh2g/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/src/rust/Cargo.toml: unused manifest key: lints
error: package `cryptography-x509-verification v0.1.0 (/tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/src/rust/cryptography-x509-verification)` cannot be built because it requires rustc 1.74.0 or newer, while the currently active rustc version is 1.63.0
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/tmp/tmp2x9boh2g/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmp2x9boh2g/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-mk314pnt/cryptography_8108239cf7d943b78f04cd7aa76e6368/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmp2x9boh2g/venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cryptography)