We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while trying to install cffi using pip under python 3.13 0b4 pre-release:
python3.13 -m pip install cffi
error: subprocess-exited-with-error × Building wheel for cffi (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [52 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.13-universal2-cpython-313 creating build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/_imp_emulation.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/backend_ctypes.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/error.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/setuptools_ext.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/_shimmed_dist_utils.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/__init__.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/cffi_opcode.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/vengine_gen.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/pkgconfig.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/model.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/ffiplatform.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/api.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/vengine_cpy.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/commontypes.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/lock.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/recompiler.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/cparser.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/verifier.py -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/_cffi_include.h -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/parse_c_type.h -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/_embedding.h -> build/lib.macosx-10.13-universal2-cpython-313/cffi copying src/cffi/_cffi_errors.h -> build/lib.macosx-10.13-universal2-cpython-313/cffi running build_ext building '_cffi_backend' extension creating build/temp.macosx-10.13-universal2-cpython-313 creating build/temp.macosx-10.13-universal2-cpython-313/src creating build/temp.macosx-10.13-universal2-cpython-313/src/c clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c src/c/_cffi_backend.c -o build/temp.macosx-10.13-universal2-cpython-313/src/c/_cffi_backend.o -iwithsysroot/usr/include/ffi src/c/_cffi_backend.c:4532:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations] Py_FileSystemDefaultEncoding, &filename_or_null, &flags)) ^ /Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/fileobject.h:22:1: note: 'Py_FileSystemDefaultEncoding' has been explicitly marked deprecated here Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; ^ /Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ src/c/_cffi_backend.c:6121:9: error: call to undeclared function '_PyErr_WriteUnraisableMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL); ^ src/c/_cffi_backend.c:6121:9: note: did you mean 'PyErr_WriteUnraisable'? /Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *); ^ 1 warning and 1 error generated. error: command '/usr/bin/clang' 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 cffi ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)
The text was updated successfully, but these errors were encountered:
Fixed already. See the discussion in #71
Sorry, something went wrong.
sorted - thanks.
python3.13 -m pip install --pre cffi==1.17.0rc1
No branches or pull requests
Error while trying to install cffi using pip under python 3.13 0b4 pre-release:
The text was updated successfully, but these errors were encountered: