Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ❯ poetry install
- The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
- Installing dependencies from lock file
- Package operations: 56 installs, 0 updates, 0 removals
- - Installing cffi (1.15.0): Failed
- PEP517 build of a dependency failed
- Backend subprocess exited when trying to invoke build_wheel
- | Command '['/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/tmpsl8o3m62/.venv/bin/python', '/opt/homebrew/Cellar/poetry/2.0.0/libexec/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/tmp_m3h8wwv']' returned non-zero exit status 1.
- |
- | running bdist_wheel
- | running build
- | running build_py
- | creating build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/backend_ctypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/error.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/setuptools_ext.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/cffi_opcode.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/vengine_gen.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/pkgconfig.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/model.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/ffiplatform.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/api.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/vengine_cpy.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/commontypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/lock.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/recompiler.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/cparser.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/verifier.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/_cffi_include.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/parse_c_type.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/_embedding.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/_cffi_errors.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | running build_ext
- | building '_cffi_backend' extension
- | creating build/temp.macosx-15.0-arm64-cpython-313/c
- | clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/private/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/tmpsl8o3m62/.venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c c/_cffi_backend.c -o build/temp.macosx-15.0-arm64-cpython-313/c/_cffi_backend.o -iwithsysroot/usr/include/ffi
- | c/_cffi_backend.c:4517:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
- | 4517 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
- | | ^
- | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/fileobject.h:22:1: note: 'Py_FileSystemDefaultEncoding' has been explicitly marked deprecated here
- | 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
- | | ^
- | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
- | 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- | | ^
- | c/_cffi_backend.c:6100:9: error: call to undeclared function '_PyErr_WriteUnraisableMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- | 6100 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
- | | ^
- | c/_cffi_backend.c:6100:9: note: did you mean 'PyErr_WriteUnraisable'?
- | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
- | 233 | PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
- | | ^
- | 1 warning and 1 error generated.
- | error: command '/usr/bin/clang' failed with exit code 1
- Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with cffi (1.15.0)
- - not supporting PEP 517 builds
- - not specifying PEP 517 build requirements correctly
- - the build requirements are incompatible with your operating system or Python version
- - the build requirements are missing system dependencies (eg: compilers, libraries, headers).
- You can verify this by running pip wheel --no-cache-dir --use-pep517 "cffi (==1.15.0)".
- ❯ pip wheel --no-cache-dir --use-pep517 "cffi (==1.15.0)"
- Collecting cffi==1.15.0
- Downloading cffi-1.15.0.tar.gz (484 kB)
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Preparing metadata (pyproject.toml) ... done
- Collecting pycparser (from cffi==1.15.0)
- File was already downloaded /Users/bosomt/Trezor/trezor-firmware/pycparser-2.22-py3-none-any.whl
- Building wheels for collected packages: cffi
- Building wheel for cffi (pyproject.toml) ... done
- Created wheel for cffi: filename=cffi-1.15.0-cp311-cp311-macosx_15_0_arm64.whl size=174181 sha256=9fb46b51070789ed3ccc1f1e25e6b0cde604caf299b9003a91ff5f5828d6a63e
- Stored in directory: /private/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/pip-ephem-wheel-cache-ao8nkoib/wheels/12/f5/09/5baf6dde29553c4804a3ce1adfd4f1815e136fc19644deb92a
- Successfully built cffi
- ❯
- ❯
- ❯
- ❯ poetry install
- The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
- Installing dependencies from lock file
- Package operations: 56 installs, 0 updates, 0 removals
- - Installing cffi (1.15.0): Failed
- PEP517 build of a dependency failed
- Backend subprocess exited when trying to invoke build_wheel
- | Command '['/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/tmpswi9c5q1/.venv/bin/python', '/opt/homebrew/Cellar/poetry/2.0.0/libexec/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/tmp03ag34xj']' returned non-zero exit status 1.
- |
- | running bdist_wheel
- | running build
- | running build_py
- | creating build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/backend_ctypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/error.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/setuptools_ext.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/cffi_opcode.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/vengine_gen.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/pkgconfig.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/model.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/ffiplatform.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/api.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/vengine_cpy.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/commontypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/lock.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/recompiler.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/cparser.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/verifier.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/_cffi_include.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/parse_c_type.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/_embedding.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | copying cffi/_cffi_errors.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
- | running build_ext
- | building '_cffi_backend' extension
- | creating build/temp.macosx-15.0-arm64-cpython-313/c
- | clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/private/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/tmpswi9c5q1/.venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c c/_cffi_backend.c -o build/temp.macosx-15.0-arm64-cpython-313/c/_cffi_backend.o -iwithsysroot/usr/include/ffi
- | c/_cffi_backend.c:4517:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
- | 4517 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
- | | ^
- | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/fileobject.h:22:1: note: 'Py_FileSystemDefaultEncoding' has been explicitly marked deprecated here
- | 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
- | | ^
- | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
- | 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- | | ^
- | c/_cffi_backend.c:6100:9: error: call to undeclared function '_PyErr_WriteUnraisableMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- | 6100 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
- | | ^
- | c/_cffi_backend.c:6100:9: note: did you mean 'PyErr_WriteUnraisable'?
- | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
- | 233 | PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
- | | ^
- | 1 warning and 1 error generated.
- | error: command '/usr/bin/clang' failed with exit code 1
- Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with cffi (1.15.0)
- - not supporting PEP 517 builds
- - not specifying PEP 517 build requirements correctly
- - the build requirements are incompatible with your operating system or Python version
- - the build requirements are missing system dependencies (eg: compilers, libraries, headers).
- You can verify this by running pip wheel --no-cache-dir --use-pep517 "cffi (==1.15.0)".
- ~/Trezor/trezor-firmware on main ?3
Add Comment
Please, Sign In to add comment