Error
Error
/tmp/pip-build-env-z0e_h_l5/overlay/lib/python3.13/site-packages/setuptools/
command/build_py.py:212: _Warning: Package 'thinc.tests.mypy.configs' is absent
from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'thinc.tests.mypy.configs' as an importable
package[^1],
but it is absent from setuptools' `packages` configuration.
-
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
********************************************************************************
!!
check.warn(importable)
/tmp/pip-build-env-z0e_h_l5/overlay/lib/python3.13/site-packages/setuptools/
command/build_py.py:212: _Warning: Package 'thinc.tests.mypy.outputs' is absent
from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'thinc.tests.mypy.outputs' as an importable
package[^1],
but it is absent from setuptools' `packages` configuration.
-
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
********************************************************************************
!!
check.warn(importable)
copying thinc/__init__.pxd -> build/lib.linux-x86_64-cpython-313/thinc
copying thinc/py.typed -> build/lib.linux-x86_64-cpython-313/thinc
copying thinc/layers/premap_ids.pyx -> build/lib.linux-x86_64-cpython-
313/thinc/layers
copying thinc/layers/sparselinear.pyx -> build/lib.linux-x86_64-
cpython-313/thinc/layers
copying thinc/extra/__init__.pxd -> build/lib.linux-x86_64-cpython-
313/thinc/extra
copying thinc/extra/search.pxd ->
build/lib.linux-x86_64-cpython-313/thinc/extra
copying thinc/extra/search.pyx ->
build/lib.linux-x86_64-cpython-313/thinc/extra
copying thinc/backends/__init__.pxd -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/_custom_kernels.cu -> build/lib.linux-x86_64-
cpython-313/thinc/backends
copying thinc/backends/_murmur3.cu -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/cblas.pxd -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/cblas.pyx -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/cpu_kernels.hh -> build/lib.linux-x86_64-
cpython-313/thinc/backends
copying thinc/backends/linalg.pxd -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/linalg.pyx -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/numpy_ops.pxd -> build/lib.linux-x86_64-cpython-
313/thinc/backends
copying thinc/backends/numpy_ops.pyx -> build/lib.linux-x86_64-cpython-
313/thinc/backends
creating build/lib.linux-x86_64-cpython-313/thinc/tests/mypy/configs
copying thinc/tests/mypy/configs/mypy-default.ini -> build/lib.linux-
x86_64-cpython-313/thinc/tests/mypy/configs
copying thinc/tests/mypy/configs/mypy-plugin.ini -> build/lib.linux-
x86_64-cpython-313/thinc/tests/mypy/configs
creating build/lib.linux-x86_64-cpython-313/thinc/tests/mypy/outputs
copying thinc/tests/mypy/outputs/fail-no-plugin.txt -> build/lib.linux-
x86_64-cpython-313/thinc/tests/mypy/outputs
copying thinc/tests/mypy/outputs/fail-plugin.txt -> build/lib.linux-
x86_64-cpython-313/thinc/tests/mypy/outputs
copying thinc/tests/mypy/outputs/success-no-plugin.txt ->
build/lib.linux-x86_64-cpython-313/thinc/tests/mypy/outputs
copying thinc/tests/mypy/outputs/success-plugin.txt -> build/lib.linux-
x86_64-cpython-313/thinc/tests/mypy/outputs
copying thinc/extra/tests/c_test_search.pyx -> build/lib.linux-x86_64-
cpython-313/thinc/extra/tests
running build_ext
building 'thinc.backends.cblas' extension
creating build/temp.linux-x86_64-cpython-313/thinc/backends
x86_64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -
O2 -Wall -fPIC -I/tmp/pip-build-env-z0e_h_l5/overlay/lib/python3.13/site-packages/
numpy/_core/include -I/usr/include/python3.13
-I/home/zemeister/Telerecon/venv/include -I/usr/include/python3.13 -c
thinc/backends/cblas.cpp -o
build/temp.linux-x86_64-cpython-313/thinc/backends/cblas.o -O3 -Wno-strict-
prototypes -Wno-unused-function -std=c++11
cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid
for C/ObjC but not for C++
thinc/backends/cblas.cpp:871:72: warning: ‘Py_UNICODE’ is deprecated [-
Wdeprecated-declarations]
871 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const
Py_UNICODE *u) {
|
^
In file included from /usr/include/python3.13/unicodeobject.h:1014,
from /usr/include/python3.13/Python.h:79,
from thinc/backends/cblas.cpp:24:
/usr/include/python3.13/cpython/unicodeobject.h:10:37: note: declared
here
10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
| ^~~~~~~~~~
thinc/backends/cblas.cpp: In function ‘size_t
__Pyx_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;
| ^~~~~
/usr/include/python3.13/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:1908:22: error: ‘_PyList_Extend’ was not
declared in this scope; did you mean ‘PyList_Extend’?
1908 | PyObject* none = _PyList_Extend((PyListObject*)L, v);
| ^~~~~~~~~~~~~~
| PyList_Extend
thinc/backends/cblas.cpp: In function ‘void
__Pyx_init_assertions_enabled()’:
thinc/backends/cblas.cpp:1946:39: error:
‘_PyInterpreterState_GetConfig’ was not declared in this scope; did you mean
‘PyInterpreterState_GetID’?
1946 | __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:20354:46: error: too few arguments to function
‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
20354 | int ret = _PyLong_AsByteArray((PyLongObject
*)v,
|
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
20355 | bytes,
sizeof(val),
|
~~~~~~~~~~~~~~~~~~~
20356 | is_little, !
is_unsigned);
|
~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/longobject.h:107,
from /usr/include/python3.13/Python.h:81:
/usr/include/python3.13/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:20550:46: error: too few arguments to function
‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
20550 | int ret = _PyLong_AsByteArray((PyLongObject
*)v,
|
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
20551 | bytes,
sizeof(val),
|
~~~~~~~~~~~~~~~~~~~
20552 | is_little, !
is_unsigned);
|
~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/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:20822:46: error: too few arguments to function
‘int _PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
20822 | int ret = _PyLong_AsByteArray((PyLongObject
*)v,
|
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
20823 | bytes,
sizeof(val),
|
~~~~~~~~~~~~~~~~~~~
20824 | is_little, !
is_unsigned);
|
~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared
here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-g++' 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
Failed to build thinc
ERROR: Failed to build installable wheels for some pyproject.toml based
projects (thinc)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with
pip.
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with
pip.