ERROR: Could not find a version that satisfies the requirement psycopg-binary==3.3.4 (from versions: none)
ERROR: No matching distribution found for psycopg-binary==3.3.4
this scope
816 | if (_Py_IsOwnedByCurrentThread(op)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:817:9: error: ‘_Py_atomic_store_uint32_relaxed’ was not declared in this scope
817 | _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:820:9: error: ‘_Py_atomic_add_ssize’ was not declared in this scope; did you mean ‘__atomic_add_fetch’?
820 | _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
| ^~~~~~~~~~~~~~~~~~~~
| __atomic_add_fetch
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h: In function ‘void Py_DECREF(PyObject*)’:
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:904:22: error: ‘_Py_atomic_load_uint32_relaxed’ was not declared in this scope
904 | uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:909:9: error: ‘_Py_IsOwnedByCurrentThread’ was not declared in this scope
909 | if (_Py_IsOwnedByCurrentThread(op)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:911:9: error: ‘_Py_atomic_store_uint32_relaxed’ was not declared in this scope
911 | _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:913:13: error: ‘_Py_MergeZeroLocalRefcount’ was not declared in this scope
913 | _Py_MergeZeroLocalRefcount(op);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.9+freethreaded-linux-x86_64-gnu/include/python3.13t/object.h:917:9: error: ‘_Py_DecRefShared’ was not declared in this scope; did you mean ‘_Py_DecRef’?
917 | _Py_DecRefShared(op);
| ^~~~~~~~~~~~~~~~
| _Py_DecRef
/tmp/pip-install-yqcs9hxh/opencv-python-headless_1e4ee59c8c60439cb313096bd0c09f3a/opencv/modules/python/src2/cv2.cpp: At global scope:
/tmp/pip-install-yqcs9hxh/opencv-python-headless_1e4ee59c8c60439cb313096bd0c09f3a/opencv/modules/python/src2/cv2.cpp:610:1: error: too many initializers for ‘PyObject’ {aka ‘_object’}
610 | };
| ^
gmake[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:79: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3108: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
Traceback (most recent call last):
File "/tmp/pip-build-env-iufox53i/overlay/lib/python3.13t/site-packages/skbuild/setuptools_wrap.py", line 669, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-iufox53i/overlay/lib/python3.13t/site-packages/skbuild/cmaker.py", line 697, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-iufox53i/overlay/lib/python3.13t/site-packages/skbuild/cmaker.py", line 742, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/tmp/pip-build-env-iufox53i/normal/lib/python3.13t/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-yqcs9hxh/opencv-python-headless_1e4ee59c8c60439cb313096bd0c09f3a
Working directory:
/tmp/pip-install-yqcs9hxh/opencv-python-headless_1e4ee59c8c60439cb313096bd0c09f3a/_skbuild/linux-x86_64-3.13/cmake-build
Please check the install target is valid and see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for opencv-python-headless
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> opencv-python-headless
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
Collecting maturin!=1.12.0,<2,>=1.9.4
Downloading maturin-1.14.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (16 kB)
Collecting cffi>=2.0.0
Downloading cffi-2.1.0.tar.gz (531 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 531.0/531.0 kB 17.7 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/tmpmbzkn4mg/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpmbzkn4mg/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/tmpmbzkn4mg/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-jiy76l2i/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-jiy76l2i/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-jiy76l2i/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
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
× 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-_mfguihg --interpreter /tmp/tmpey4q2_f2/venv/bin/python`
error: failed to parse manifest at `/tmp/pip-install-j1nfmwv8/nh3_ba1ec6224b9f4f3b9e21dce0839bbe05/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-_mfguihg', '--interpreter', '/tmp/tmpey4q2_f2/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.
╰─> nh3
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
╰─> [10 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-_4ayx5f_ --interpreter /tmp/tmp9g_2jq6t/venv/bin/python`
error: failed to parse lock file at: /tmp/pip-install-z_1dmpg8/rpds-py_ce2a180cca6641c09ffdcf5602fc6f85/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-_4ayx5f_', '--interpreter', '/tmp/tmp9g_2jq6t/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.
╰─> rpds-py
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: subprocess-exited-with-error
× installing build dependencies for cryptography did not run successfully.
│ exit code: 1
╰─> [38 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
Using cached maturin-1.14.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (16 kB)
Collecting cffi>=2.0.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/tmpx1dvqfmh/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmpx1dvqfmh/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/tmpx1dvqfmh/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-kxgoq9yr/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-kxgoq9yr/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-kxgoq9yr/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
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
yx_Py_UNICODE_strlen(const Py_UNICODE*)’:
thinc/backends/cblas.cpp:872:23: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
872 | const Py_UNICODE *u_end = u;
| ^~~~~
/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t/cpython/unicodeobject.h:10:37: note: declared here
10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
| ^~~~~~~~~~
thinc/backends/cblas.cpp: In function ‘int __Pyx_PyList_Extend(PyObject*, PyObject*)’:
thinc/backends/cblas.cpp:1938:22: error: ‘_PyList_Extend’ was not declared in this scope; did you mean ‘PyList_Extend’?
1938 | PyObject* none = _PyList_Extend((PyListObject*)L, v);
| ^~~~~~~~~~~~~~
| PyList_Extend
thinc/backends/cblas.cpp: In function ‘void __Pyx_init_assertions_enabled()’:
thinc/backends/cblas.cpp:1976:39: error: ‘_PyInterpreterState_GetConfig’ was not declared in this scope; did you mean ‘PyInterpreterState_GetID’?
1976 | __pyx_assertions_enabled_flag = ! _PyInterpreterState_GetConfig(__Pyx_PyThreadState_Current->interp)->optimization_level;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PyInterpreterState_GetID
thinc/backends/cblas.cpp: In function ‘int __Pyx_PyInt_As_int(PyObject*)’:
thinc/backends/cblas.cpp:20689:46: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
20689 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
20690 | bytes, sizeof(val),
| ~~~~~~~~~~~~~~~~~~~
20691 | is_little, !is_unsigned);
| ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t/longobject.h:107,
from /root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t/Python.h:81:
/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t/cpython/longobject.h:111:17: note: declared here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
thinc/backends/cblas.cpp: In function ‘long int __Pyx_PyInt_As_long(PyObject*)’:
thinc/backends/cblas.cpp:20885:46: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
20885 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
20886 | bytes, sizeof(val),
| ~~~~~~~~~~~~~~~~~~~
20887 | is_little, !is_unsigned);
| ~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t/cpython/longobject.h:111:17: note: declared here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
thinc/backends/cblas.cpp: In function ‘char __Pyx_PyInt_As_char(PyObject*)’:
thinc/backends/cblas.cpp:21157:46: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
21157 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
21158 | bytes, sizeof(val),
| ~~~~~~~~~~~~~~~~~~~
21159 | is_little, !is_unsigned);
| ~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t/cpython/longobject.h:111:17: note: declared here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/c++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for thinc
ERROR: Failed to build installable wheels for some pyproject.toml based projects (thinc)
ERROR: Could not find a version that satisfies the requirement psycopg-binary==3.3.4 (from versions: none)
ERROR: No matching distribution found for psycopg-binary==3.3.4
273 | if (_Py_IsOwnedByCurrentThread(op)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:274:9: error: ‘_Py_atomic_store_uint32_relaxed’ was not declared in this scope
274 | _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:277:9: error: ‘_Py_atomic_add_ssize’ was not declared in this scope; did you mean ‘__atomic_add_fetch’?
277 | _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
| ^~~~~~~~~~~~~~~~~~~~
| __atomic_add_fetch
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h: In function ‘void Py_DECREF(PyObject*)’:
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:363:22: error: ‘_Py_atomic_load_uint32_relaxed’ was not declared in this scope
363 | uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:369:9: error: ‘_Py_IsOwnedByCurrentThread’ was not declared in this scope
369 | if (_Py_IsOwnedByCurrentThread(op)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:371:9: error: ‘_Py_atomic_store_uint32_relaxed’ was not declared in this scope
371 | _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:373:13: error: ‘_Py_MergeZeroLocalRefcount’ was not declared in this scope
373 | _Py_MergeZeroLocalRefcount(op);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/include/python3.14t/refcount.h:377:9: error: ‘_Py_DecRefShared’ was not declared in this scope; did you mean ‘_Py_DecRef’?
377 | _Py_DecRefShared(op);
| ^~~~~~~~~~~~~~~~
| _Py_DecRef
/tmp/pip-install-l6asffw0/opencv-python-headless_dd36d2da4bfa476787196a5ad809e60b/opencv/modules/python/src2/cv2.cpp: At global scope:
/tmp/pip-install-l6asffw0/opencv-python-headless_dd36d2da4bfa476787196a5ad809e60b/opencv/modules/python/src2/cv2.cpp:610:1: error: too many initializers for ‘PyObject’ {aka ‘_object’}
610 | };
| ^
gmake[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:79: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3108: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
Traceback (most recent call last):
File "/tmp/pip-build-env-eljv0osc/overlay/lib/python3.14t/site-packages/skbuild/setuptools_wrap.py", line 669, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-eljv0osc/overlay/lib/python3.14t/site-packages/skbuild/cmaker.py", line 697, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-eljv0osc/overlay/lib/python3.14t/site-packages/skbuild/cmaker.py", line 742, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/tmp/pip-build-env-eljv0osc/normal/lib/python3.14t/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-l6asffw0/opencv-python-headless_dd36d2da4bfa476787196a5ad809e60b
Working directory:
/tmp/pip-install-l6asffw0/opencv-python-headless_dd36d2da4bfa476787196a5ad809e60b/_skbuild/linux-x86_64-3.14/cmake-build
Please check the install target is valid and see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for opencv-python-headless
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> opencv-python-headless
uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t -c srsly/msgpack/_unpacker.cpp -o build/temp.linux-x86_64-cpython-314t/srsly/msgpack/_unpacker.o -O2 -Wno-strict-prototypes -Wno-unused-function
cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
srsly/msgpack/_unpacker.cpp:877:72: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
877 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
| ^
In file included from /root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/unicodeobject.h:1018,
from /root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/Python.h:81,
from srsly/msgpack/_unpacker.cpp:35:
/root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/cpython/unicodeobject.h:10:37: note: declared here
10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
| ^~~~~~~~~~
srsly/msgpack/_unpacker.cpp: In function ‘size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE*)’:
srsly/msgpack/_unpacker.cpp:878:23: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
878 | const Py_UNICODE *u_end = u;
| ^~~~~
/root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/cpython/unicodeobject.h:10:37: note: declared here
10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
| ^~~~~~~~~~
srsly/msgpack/_unpacker.cpp: In function ‘int __pyx_f_5srsly_7msgpack_9_unpacker_get_data_from_buffer(PyObject*, Py_buffer*, char**, Py_ssize_t*, int*)’:
srsly/msgpack/_unpacker.cpp:2605:17: error: ‘PyObject_AsReadBuffer’ was not declared in this scope; did you mean ‘PyObject_GetBuffer’?
2605 | __pyx_t_2 = PyObject_AsReadBuffer(__pyx_v_obj, ((void const **)__pyx_v_buf), __pyx_v_buffer_len); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 136, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~
| PyObject_GetBuffer
srsly/msgpack/_unpacker.cpp: In function ‘long int __Pyx_PyInt_As_long(PyObject*)’:
srsly/msgpack/_unpacker.cpp:9638:46: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
9638 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
9639 | bytes, sizeof(val),
| ~~~~~~~~~~~~~~~~~~~
9640 | is_little, !is_unsigned);
| ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/longobject.h:119,
from /root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/Python.h:83:
/root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/cpython/longobject.h:135:17: note: declared here
135 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
srsly/msgpack/_unpacker.cpp: In function ‘int __Pyx_PyInt_As_int(PyObject*)’:
srsly/msgpack/_unpacker.cpp:9834:46: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
9834 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
9835 | bytes, sizeof(val),
| ~~~~~~~~~~~~~~~~~~~
9836 | is_little, !is_unsigned);
| ~~~~~~~~~~~~~~~~~~~~~~~~
/root/.local/share/uv/python/cpython-3.14.0a7+freethreaded-linux-x86_64-gnu/include/python3.14t/cpython/longobject.h:135:17: note: declared here
135 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/c++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for srsly
ERROR: Failed to build installable wheels for some pyproject.toml based projects (thinc, pydantic-core, srsly)