error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "/tmp/tmpgdk2dhab/venv/lib/python3.13t/site-packages/pip/__pip-runner__.py", line 50, in <module>
runpy.run_module("pip", run_name="__main__", alter_sys=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen runpy>", line 226, in run_module
File "<frozen runpy>", line 98, in _run_module_code
File "<frozen runpy>", line 88, in _run_code
File "/tmp/tmpgdk2dhab/venv/lib/python3.13t/site-packages/pip/__main__.py", line 8, in <module>
if sys.path[0] in ("", os.getcwd()):
~~~~~~~~~^^
FileNotFoundError: [Errno 2] No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Ignoring cffi: markers 'python_version >= "3.15" and platform_python_implementation != "PyPy"' don't match your environment
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for cryptography
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/tmptfir4hej/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/LICENSE"
📦 Including license file "/tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.13t at /tmp/tmptfir4hej/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.13t at /tmp/tmptfir4hej/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/src/rust/Cargo.toml: unused manifest key: lints
error: package `once_cell v1.21.3` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.65 or newer, or use
cargo update -p once_cell@1.21.3 --precise ver
where `ver` is the latest version of `once_cell` 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/tmptfir4hej/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmptfir4hej/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-xaldvfz6/cryptography_23de39d78fcb491ca021e8b4a6ee7652/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmptfir4hej/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
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
Ignoring cffi: markers 'python_version >= "3.15" and platform_python_implementation != "PyPy"' don't match your environment
Collecting maturin<2,>=1.14.1
Downloading maturin-1.15.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (17 kB)
Collecting cffi>=2.0.0
Downloading cffi-2.1.1.tar.gz (530 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 530.8/530.8 kB 16.1 MB/s 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/tmp/tmpj6gzxggm/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpj6gzxggm/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpj6gzxggm/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-caatlhg1/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-caatlhg1/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-caatlhg1/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 22, in <module>
RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cffi' when getting requirements to build wheel
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'cryptography' when installing build dependencies for 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/tmpjn04xb1k/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/LICENSE"
📦 Including license file "/tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.14t at /tmp/tmpjn04xb1k/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.14t at /tmp/tmpjn04xb1k/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/src/rust/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
error: package `cryptography-rust v0.1.0 (/tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/src/rust)` 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/tmpjn04xb1k/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmpjn04xb1k/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-y1y815gx/cryptography_0ca8686c1d8644b5ae96cc464920203d/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpjn04xb1k/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)