Building cffi from pip fails on Python 3.13
clin1234 opened this issue · 2 comments
clin1234 commented
Build fails due to usage of a private C function see here
, which is no longer accessible outside CPython because of python/cpython#106320.
Output:
Collecting pbr>=1.3 (from -r C:/Users/ךינשגכהד/veles/python/requirements.txt (line 1))
Obtaining dependency information for pbr>=1.3 from https://files.pythonhosted.org/packages/64/dd/171c9fb653591cf265bcc89c436eec75c9bde3dec921cc236fa71e5698df/pbr-6.0.0-py2.py3-none-any.whl.metadata
Using cached pbr-6.0.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting msgpack-python>=0.4.8 (from -r C:/Users/ךינשגכהד/veles/python/requirements.txt (line 2))
Using cached msgpack_python-0.5.6-cp313-cp313-win_amd64.whl
Collecting pyOpenSSL (from -r C:/Users/ךינשגכהד/veles/python/requirements.txt (line 3))
Obtaining dependency information for pyOpenSSL from https://files.pythonhosted.org/packages/db/de/007b832ad7a95e6a73745609bbe123c407aa2c46bb0b8f765c8718294e7f/pyOpenSSL-23.3.0-py3-none-any.whl.metadata
Using cached pyOpenSSL-23.3.0-py3-none-any.whl.metadata (12 kB)
Collecting cryptography<42,>=41.0.5 (from pyOpenSSL->-r C:/Users/ךינשגכהד/veles/python/requirements.txt (line 3))
Obtaining dependency information for cryptography<42,>=41.0.5 from https://files.pythonhosted.org/packages/f6/23/b28f4a03650512efff13a8fcbb977bac178a765c5a887a6720bee13fa85b/cryptography-41.0.7-cp37-abi3-win_amd64.whl.metadata
Using cached cryptography-41.0.7-cp37-abi3-win_amd64.whl.metadata (5.3 kB)
Collecting cffi>=1.12 (from cryptography<42,>=41.0.5->pyOpenSSL->-r C:/Users/ךינשגכהד/veles/python/requirements.txt (line 3))
Using cached cffi-1.16.0.tar.gz (512 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 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pycparser (from cffi>=1.12->cryptography<42,>=41.0.5->pyOpenSSL->-r C:/Users/ךינשגכהד/veles/python/requirements.txt (line 3))
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using cached pbr-6.0.0-py2.py3-none-any.whl (107 kB)
Using cached pyOpenSSL-23.3.0-py3-none-any.whl (58 kB)
Using cached cryptography-41.0.7-cp37-abi3-win_amd64.whl (2.7 MB)
Building wheels for collected packages: cffi
Building wheel for cffi (pyproject.toml): started
Building wheel for cffi (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for cffi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [133 lines of output]
_configtest.c
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-313
creating build\lib.win-amd64-cpython-313\cffi
copying src\cffi\api.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\backend_ctypes.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\cffi_opcode.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\commontypes.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\cparser.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\error.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\ffiplatform.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\lock.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\model.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\pkgconfig.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\recompiler.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\setuptools_ext.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\vengine_cpy.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\vengine_gen.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\verifier.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_imp_emulation.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_shimmed_dist_utils.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\__init__.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_cffi_include.h -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\parse_c_type.h -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_embedding.h -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_cffi_errors.h -> build\lib.win-amd64-cpython-313\cffi
running build_ext
building '_cffi_backend' extension
creating build\temp.win-amd64-cpython-313
creating build\temp.win-amd64-cpython-313\Release
creating build\temp.win-amd64-cpython-313\Release\src
creating build\temp.win-amd64-cpython-313\Release\src\c
creating build\temp.win-amd64-cpython-313\Release\src\c\libffi_x86_x64
"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 -IC:\Users\ךינשגכהד\veles\build\msgpack-venv\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26020.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\cppwinrt" /Tcsrc/c/_cffi_backend.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/_cffi_backend.obj
_cffi_backend.c
src/c/_cffi_backend.c(413): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(414): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1105): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1114): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1139): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1162): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1181): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1195): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1344): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1346): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1696): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1697): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1699): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1711): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1712): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1715): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1734): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1778): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1843): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1845): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1856): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1859): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2258): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2263): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2267): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2282): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2341): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(3271): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(3992): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4092): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4208): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4249): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4521): warning C4133: 'function': incompatible types - from 'PyUnicodeObject *' to 'PyObject *'
src/c/_cffi_backend.c(4532): warning C4996: 'Py_FileSystemDefaultEncoding': deprecated in 3.12
src/c/_cffi_backend.c(4816): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4834): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4975): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4966): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4987): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5383): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5430): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5437): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5656): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned short', possible loss of data
src/c/_cffi_backend.c(5790): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5794): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5810): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5823): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5852): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5918): warning C4244: 'function': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
src/c/_cffi_backend.c(6006): warning C4244: 'function': conversion from 'Py_ssize_t' to 'long', possible loss of data
src/c/_cffi_backend.c(6121): warning C4013: '_PyErr_WriteUnraisableMsg' undefined; assuming extern returning int
src/c/_cffi_backend.c(6556): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\parse_c_type.c(218): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\parse_c_type.c(287): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\parse_c_type.c(341): warning C4244: '=': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\parse_c_type.c(445): warning C4244: 'return': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(425): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(430): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(448): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(460): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(559): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(621): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(700): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\realize_c_type.c(753): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\lib_obj.c(130): warning C4244: 'initializing': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\lib_obj.c(306): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\lib_obj.c(358): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\lib_obj.c(384): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\lib_obj.c(405): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\lib_obj.c(419): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(170): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(215): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(247): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(248): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(260): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(261): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(281): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(301): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(302): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(307): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(327): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\cdlopen.c(331): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-install-q72zdvdv\cffi_ddbdd2b5e42340aea3874fc149c0d84c\src\c\call_python.c(110): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 -IC:\Users\ךינשגכהד\veles\build\msgpack-venv\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26020.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\cppwinrt" /Tcsrc/c/libffi_x86_x64\ffi.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\ffi.obj
ffi.c
"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 -IC:\Users\ךינשגכהד\veles\build\msgpack-venv\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26020.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\cppwinrt" /Tcsrc/c/libffi_x86_x64\prep_cif.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\prep_cif.obj
prep_cif.c
src/c/libffi_x86_x64\prep_cif.c(169): warning C4267: '+=': conversion from 'size_t' to 'unsigned int', possible loss of data
"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 -IC:\Users\ךינשגכהד\veles\build\msgpack-venv\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\include -IC:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26020.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26020.0\\cppwinrt" /Tcsrc/c/libffi_x86_x64\types.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\types.obj
types.c
"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\ךינשגכהד\veles\build\msgpack-venv\libs /LIBPATH:C:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313\libs /LIBPATH:C:\Users\ךינשגכהד\AppData\Local\Programs\Python\Python313 /LIBPATH:C:\Users\ךינשגכהד\veles\build\msgpack-venv\PCbuild\amd64 "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.39.33321\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.26020.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.26020.0\\um\x64" /EXPORT:PyInit__cffi_backend build\temp.win-amd64-cpython-313\Release\src/c/_cffi_backend.obj build\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\ffi.obj build\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\prep_cif.obj build\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\types.obj /OUT:build\lib.win-amd64-cpython-313\_cffi_backend.cp313-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-313\Release\src/c\_cffi_backend.cp313-win_amd64.lib src/c/libffi_x86_x64\win64.obj
Creating library build\temp.win-amd64-cpython-313\Release\src/c\_cffi_backend.cp313-win_amd64.lib and object build\temp.win-amd64-cpython-313\Release\src/c\_cffi_backend.cp313-win_amd64.exp
_cffi_backend.obj : error LNK2001: unresolved external symbol _PyErr_WriteUnraisableMsg
build\lib.win-amd64-cpython-313\_cffi_backend.cp313-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\VC\\Tools\\MSVC\\14.39.33321\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
arigo commented
That's already fixed in the development version of cffi.
arigo commented
See #23 (comment) if you need to install cffi in 3.13 with the latest fixes.