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-obh6bld2 --interpreter /tmp/tmpvdd4680j/venv/bin/python`
error: failed to parse lock file at: /tmp/pip-install-u7xv4sp6/jellyfish_465ea6e7fde5473ca62a2914587ea361/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-obh6bld2', '--interpreter', '/tmp/tmpvdd4680j/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/tmpyr25w12x/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/LICENSE"
📦 Including license file "/tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.13t at /tmp/tmpyr25w12x/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.13t at /tmp/tmpyr25w12x/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/src/rust/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
error: package `cryptography-cffi v0.1.0 (/tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/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/tmpyr25w12x/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmpyr25w12x/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-wm7e3mst/cryptography_542287345bf044f2b04620c681658c6e/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpyr25w12x/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
╰─> [54 lines of output]
+ meson setup /tmp/pip-install-uwlz9w6n/scipy_f460b3712a134e5ca2d77a5b3a6cc1a9 /tmp/pip-install-uwlz9w6n/scipy_f460b3712a134e5ca2d77a5b3a6cc1a9/.mesonpy-hr3pa893 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-uwlz9w6n/scipy_f460b3712a134e5ca2d77a5b3a6cc1a9/.mesonpy-hr3pa893/meson-python-native-file.ini
The Meson build system
Version: 1.12.1
Source dir: /tmp/pip-install-uwlz9w6n/scipy_f460b3712a134e5ca2d77a5b3a6cc1a9
Build dir: /tmp/pip-install-uwlz9w6n/scipy_f460b3712a134e5ca2d77a5b3a6cc1a9/.mesonpy-hr3pa893
Build type: native build
Project name: scipy
Project version: 1.18.1
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14+deb12u1) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14+deb12u1) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Cython compiler for the host machine: cython (cython 3.2.9)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/tmp/tmpwiqp067v/venv/bin/python)
Did not find pkg-config by name 'pkg-config'
Found pkg-config: NO
Run-time dependency python found: YES 3.13
Program cython found: YES (/tmp/pip-build-env-3oaei0mf/overlay/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Library m found: YES
../meson.build:91:2: ERROR: Unknown compiler(s): [['gfortran'], ['flang-new'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]
The following exception(s) were encountered:
Running `gfortran --help` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `flang-new --help` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang-new --version` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang-new -V` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang --help` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
Running `nvfortran --help` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `pgfortran --help` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `ifort --help` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifx --help` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
Running `g95 --help` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"
A full log can be found at /tmp/pip-install-uwlz9w6n/scipy_f460b3712a134e5ca2d77a5b3a6cc1a9/.mesonpy-hr3pa893/meson-logs/meson-log.txt
[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.
╰─> scipy
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-jxgzcey0 --interpreter /tmp/tmph_k5zvqj/venv/bin/python`
Updating crates.io index
Downloading crates ...
Downloaded cfg-if v1.0.4
Downloaded equivalent v1.0.2
Downloaded block2 v0.6.2
Downloaded anyhow v1.0.102
Downloaded id-arena v2.3.0
Downloaded windows-link v0.2.1
Downloaded errno v0.3.14
Downloaded unicode-xid v0.2.6
Downloaded bitflags v2.13.0
Downloaded leb128fmt v0.1.0
Downloaded dispatch2 v0.3.1
Downloaded allocator-api2 v0.2.21
Downloaded pyo3-macros v0.28.3
Downloaded objc2-encode v4.1.0
Downloaded itoa v1.0.18
Downloaded wasm-metadata v0.244.0
Downloaded foldhash v0.1.5
Downloaded wit-bindgen-rust-macro v0.51.0
error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wit-bindgen-rust-macro-0.51.0/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-jxgzcey0', '--interpreter', '/tmp/tmph_k5zvqj/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.
╰─> safetensors
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 pydantic-core (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Running `maturin pep517 build-wheel -i /tmp/tmpr9ipkp0o/venv/bin/python --compatibility off`
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings
🐍 Found CPython 3.13t at /tmp/tmpr9ipkp0o/venv/bin/python
📡 Using build options bindings from pyproject.toml
warning: unused manifest key: lints
error: package `icu_properties_data v1.5.0` cannot be built because it requires rustc 1.67 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.67 or newer, or use
cargo update -p icu_properties_data@1.5.0 --precise ver
where `ver` is the latest version of `icu_properties_data` 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_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/tmp/tmpr9ipkp0o/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmpr9ipkp0o/venv/bin/python" "cargo" "rustc" "--profile" "release" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-qilm2tuj/pydantic-core_6df07d119c26451aba7fe9733f8ef25f/Cargo.toml" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpr9ipkp0o/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 pydantic-core
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pydantic-core
ERROR: Ignored the following versions that require a different python version: 3.10.0.0 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5; 3.7.4.2 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5
ERROR: Could not find a version that satisfies the requirement typing==3.10.0.0 (from versions: 3.5.0b1, 3.5.0, 3.5.0.1, 3.5.1.0, 3.5.2.2, 3.5.3.0, 3.6.1, 3.6.2, 3.6.4, 3.6.6, 3.7.4, 3.7.4.1, 3.7.4.3)
ERROR: No matching distribution found for typing==3.10.0.0
and)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/dist.py", line 1106, in run_command
super().run_command(command)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command
cmd_obj.run()
~~~~~~~~~~~^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build.py", line 137, in run
self.run_command(cmd_name)
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/_distutils/cmd.py", line 342, in run_command
self.distribution.run_command(command)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/dist.py", line 1106, in run_command
super().run_command(command)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command
cmd_obj.run()
~~~~~~~~~~~^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/command/build_ext.py", line 95, in run
_build_ext.run(self)
~~~~~~~~~~~~~~^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 382, in run
self.build_extensions()
~~~~~~~~~~~~~~~~~~~~~^^
File "<string>", line 891, in build_extensions
RequiredDependencyException: jpeg
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/tmpdhb2nrjo/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpdhb2nrjo/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/tmpdhb2nrjo/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
wheel_directory, config_settings, metadata_directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/tmp/pip-install-48r4vxm0/pillow_c9970b6e1f3644499b9d071802edbe31/_custom_build/backend.py", line 26, in build_wheel
return super().build_wheel(wheel_directory, config_settings, metadata_directory)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 441, in build_wheel
return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 429, in _build
return self._build_with_temp_dir(
~~~~~~~~~~~~~~~~~~~~~~~~~^
cmd,
^^^^
...<3 lines>...
self._arbitrary_args(config_settings),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/tmp/pip-build-env-jj6c4phz/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-install-48r4vxm0/pillow_c9970b6e1f3644499b9d071802edbe31/_custom_build/backend.py", line 20, in run_setup
return super().run_setup(setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/tmp/pip-build-env-jj6c4phz/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 1115, in <module>
RequiredDependencyException:
The headers or library files could not be found for jpeg,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation/basic-installation.html
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pillow
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pillow
error: subprocess-exited-with-error
× installing build dependencies for pycares did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
Ignoring cffi: markers 'python_version >= "3.14"' don't match your environment
Collecting setuptools
Using cached setuptools-84.0.0-py3-none-any.whl.metadata (6.6 kB)
Collecting wheel
Using cached wheel-0.48.0-py3-none-any.whl.metadata (2.3 kB)
Collecting cffi>=1.5.0
Using cached cffi-2.1.1.tar.gz (530 kB)
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/tmp5w2bj1cg/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmp5w2bj1cg/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/tmp5w2bj1cg/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-bkruo0sa/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-bkruo0sa/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-bkruo0sa/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 'pycares' when installing build dependencies for pycares
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/tmpoz7ywwa2/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/LICENSE"
📦 Including license file "/tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.13t at /tmp/tmpoz7ywwa2/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.13t at /tmp/tmpoz7ywwa2/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/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/tmpoz7ywwa2/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmpoz7ywwa2/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-5xrip8bd/cryptography_b8bb20a3de75475ab0b557a401ec0126/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpoz7ywwa2/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/tmp6e6vle7u/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/LICENSE"
📦 Including license file "/tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.13t at /tmp/tmp6e6vle7u/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.13t at /tmp/tmp6e6vle7u/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/src/rust/Cargo.toml: unused manifest key: lints
error: package `cryptography-openssl v0.1.0 (/tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/src/rust/cryptography-openssl)` 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/tmp6e6vle7u/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmp6e6vle7u/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-3yj11_tk/cryptography_7bf6d9cd56b042a0aebfd6e2a59b070b/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmp6e6vle7u/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-40orphfo --interpreter /tmp/tmpikgvv54h/venv/bin/python`
error: failed to parse lock file at: /tmp/pip-install-d7n67mia/jellyfish_f504e6079e474a378c6199380801bf9f/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-40orphfo', '--interpreter', '/tmp/tmpikgvv54h/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/tmplio4pnve/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/LICENSE"
📦 Including license file "/tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.14t at /tmp/tmplio4pnve/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.14t at /tmp/tmplio4pnve/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/src/rust/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
error: package `cryptography-openssl v0.1.0 (/tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/src/rust/cryptography-openssl)` 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/tmplio4pnve/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmplio4pnve/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-0y_xjjea/cryptography_f55856ec307149f582e2cd9f15a23a70/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmplio4pnve/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
╰─> [21 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-l_bzub_g --interpreter /tmp/tmpg70q__c3/venv/bin/python`
Updating crates.io index
Downloading crates ...
Downloaded cfg-if v1.0.4
Downloaded errno v0.3.14
Downloaded id-arena v2.3.0
Downloaded foldhash v0.1.5
Downloaded dispatch2 v0.3.1
Downloaded wit-bindgen v0.51.0
error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wit-bindgen-0.51.0/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-l_bzub_g', '--interpreter', '/tmp/tmpg70q__c3/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.
╰─> safetensors
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
ERROR: Ignored the following versions that require a different python version: 3.10.0.0 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5; 3.7.4.2 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5
ERROR: Could not find a version that satisfies the requirement typing==3.10.0.0 (from versions: 3.5.0b1, 3.5.0, 3.5.0.1, 3.5.1.0, 3.5.2.2, 3.5.3.0, 3.6.1, 3.6.2, 3.6.4, 3.6.6, 3.7.4, 3.7.4.1, 3.7.4.3)
ERROR: No matching distribution found for typing==3.10.0.0
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/tmpca963_yd/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/LICENSE"
📦 Including license file "/tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.14t at /tmp/tmpca963_yd/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.14t at /tmp/tmpca963_yd/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/src/rust/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
error: package `cryptography-crypto v0.1.0 (/tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/src/rust/cryptography-crypto)` 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/tmpca963_yd/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmpca963_yd/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-7hb972ji/cryptography_2ef6ab677ff4461e9280b4143a962cf4/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpca963_yd/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
╰─> [21 lines of output]
Running `maturin pep517 build-wheel -i /tmp/tmptrg0b3rv/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/LICENSE"
📦 Including license file "/tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/LICENSE.APACHE"
📦 Including license file "/tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/LICENSE.BSD"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.14t at /tmp/tmptrg0b3rv/venv/bin/python
📡 Using build options locked from pyproject.toml
⚠️ Warning: CPython 3.14t at /tmp/tmptrg0b3rv/venv/bin/python does not yet support abi3 so the build artifacts will be version-specific.
warning: /tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/src/rust/cryptography-cffi/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/src/rust/cryptography-key-parsing/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/src/rust/cryptography-openssl/Cargo.toml: unused manifest key: lints
warning: /tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/src/rust/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.14-64bit" PYO3_PYTHON="/tmp/tmptrg0b3rv/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmptrg0b3rv/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-o_d0fmhw/cryptography_07090891ad1940e38d3c7c6888230364/src/rust/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmptrg0b3rv/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)