rror: ‘_Py_IsOwnedByCurrentThread’ was not declared in 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-av1en5we/opencv-python_b5fb674b91244848b6060d69a75b92bc/opencv/modules/python/src2/cv2.cpp: At global scope:
/tmp/pip-install-av1en5we/opencv-python_b5fb674b91244848b6060d69a75b92bc/opencv/modules/python/src2/cv2.cpp:654:1: error: too many initializers for ‘PyObject’ {aka ‘_object’}
654 | };
| ^
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:3248: 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-vdrxjw69/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-vdrxjw69/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-vdrxjw69/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-vdrxjw69/normal/lib/python3.13t/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-av1en5we/opencv-python_b5fb674b91244848b6060d69a75b92bc
Working directory:
/tmp/pip-install-av1en5we/opencv-python_b5fb674b91244848b6060d69a75b92bc/_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
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> opencv-python
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.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
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/tmp2elpn46c/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/tmp/tmp2elpn46c/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/tmp2elpn46c/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-39v5e7gm/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-39v5e7gm/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-39v5e7gm/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
× 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.16.0-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.musllinux_1_1_x86_64.whl.metadata (17 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/tmpzghcp7yf/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 406, in <module>
main()
~~~~^^
File "/tmp/tmpzghcp7yf/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 381, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpzghcp7yf/venv/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-t_gj49sc/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-t_gj49sc/overlay/lib/python3.13t/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-t_gj49sc/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
edByCurrentThread’ was not declared in this scope
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-hucr35mj/opencv-python_6b1d9ecf1e5b4c939b94815b7febe5bb/opencv/modules/python/src2/cv2.cpp: At global scope:
/tmp/pip-install-hucr35mj/opencv-python_6b1d9ecf1e5b4c939b94815b7febe5bb/opencv/modules/python/src2/cv2.cpp:654:1: error: too many initializers for ‘PyObject’ {aka ‘_object’}
654 | };
| ^
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:3248: 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-389iu1n_/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-389iu1n_/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-389iu1n_/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-389iu1n_/normal/lib/python3.14t/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-hucr35mj/opencv-python_6b1d9ecf1e5b4c939b94815b7febe5bb
Working directory:
/tmp/pip-install-hucr35mj/opencv-python_6b1d9ecf1e5b4c939b94815b7febe5bb/_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
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> opencv-python
error: subprocess-exited-with-error
× installing backend dependencies for duckdb did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "/tmp/tmp8j60cldj/venv/lib/python3.14t/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/tmp8j60cldj/venv/lib/python3.14t/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 'duckdb' when installing backend dependencies for duckdb