error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-ulnhnt_8 --interpreter /tmp/tmpe72e96im/venv/bin/python`
error: failed to parse manifest at `/tmp/pip-install-m_tnjxce/pydantic-core_b9171212721f40568f48d0a7c643d54e/Cargo.toml`
Caused by:
failed to parse the `edition` key
Caused by:
this version of Cargo is older than the `2024` edition, and only supports `2015`, `2018`, and `2021` editions.
💥 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-ulnhnt_8', '--interpreter', '/tmp/tmpe72e96im/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.
╰─> pydantic-core
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/tmp87zqf461/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/LICENSE"
📦 Including license file "/tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.13t at /tmp/tmp87zqf461/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.13t at /tmp/tmp87zqf461/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/src/rust/Cargo.toml: unused manifest key: lints
error: package `cryptography-cffi v0.1.0 (/tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/src/rust/cryptography-cffi)` 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.13-64bit" PYO3_PYTHON="/tmp/tmp87zqf461/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmp87zqf461/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-licuagc7/cryptography_063601aafc9949c1b8326ac2fa4bf347/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmp87zqf461/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
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Running `maturin pep517 build-wheel -i /tmp/tmpsh0vcfae/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/LICENSE"
📦 Including license file "/tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.14t at /tmp/tmpsh0vcfae/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.14t at /tmp/tmpsh0vcfae/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/src/rust/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
error: package `cryptography-cffi v0.1.0 (/tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/src/rust/cryptography-cffi)` 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/tmpsh0vcfae/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmpsh0vcfae/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-38s6yrig/cryptography_4a18e656080e441d9cb2225a9f47410a/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpsh0vcfae/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)