bosoMT

Untitled

Jan 7th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.19 KB | None | 0 0
  1. ❯ poetry install
  2. The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
  3. Installing dependencies from lock file
  4.  
  5. Package operations: 56 installs, 0 updates, 0 removals
  6.  
  7. - Installing cffi (1.15.0): Failed
  8.  
  9. PEP517 build of a dependency failed
  10.  
  11. Backend subprocess exited when trying to invoke build_wheel
  12.  
  13. | 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.
  14. |
  15. | running bdist_wheel
  16. | running build
  17. | running build_py
  18. | creating build/lib.macosx-15.0-arm64-cpython-313/cffi
  19. | copying cffi/backend_ctypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  20. | copying cffi/error.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  21. | copying cffi/setuptools_ext.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  22. | copying cffi/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  23. | copying cffi/cffi_opcode.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  24. | copying cffi/vengine_gen.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  25. | copying cffi/pkgconfig.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  26. | copying cffi/model.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  27. | copying cffi/ffiplatform.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  28. | copying cffi/api.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  29. | copying cffi/vengine_cpy.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  30. | copying cffi/commontypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  31. | copying cffi/lock.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  32. | copying cffi/recompiler.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  33. | copying cffi/cparser.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  34. | copying cffi/verifier.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  35. | copying cffi/_cffi_include.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  36. | copying cffi/parse_c_type.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  37. | copying cffi/_embedding.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  38. | copying cffi/_cffi_errors.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  39. | running build_ext
  40. | building '_cffi_backend' extension
  41. | creating build/temp.macosx-15.0-arm64-cpython-313/c
  42. | 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
  43. | c/_cffi_backend.c:4517:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
  44. | 4517 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
  45. | | ^
  46. | /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
  47. | 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
  48. | | ^
  49. | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
  50. | 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
  51. | | ^
  52. | 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]
  53. | 6100 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
  54. | | ^
  55. | c/_cffi_backend.c:6100:9: note: did you mean 'PyErr_WriteUnraisable'?
  56. | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
  57. | 233 | PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
  58. | | ^
  59. | 1 warning and 1 error generated.
  60. | error: command '/usr/bin/clang' failed with exit code 1
  61.  
  62. 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)
  63.  
  64. - not supporting PEP 517 builds
  65. - not specifying PEP 517 build requirements correctly
  66. - the build requirements are incompatible with your operating system or Python version
  67. - the build requirements are missing system dependencies (eg: compilers, libraries, headers).
  68.  
  69. You can verify this by running pip wheel --no-cache-dir --use-pep517 "cffi (==1.15.0)".
  70.  
  71. ❯ pip wheel --no-cache-dir --use-pep517 "cffi (==1.15.0)"
  72. Collecting cffi==1.15.0
  73. Downloading cffi-1.15.0.tar.gz (484 kB)
  74. Installing build dependencies ... done
  75. Getting requirements to build wheel ... done
  76. Preparing metadata (pyproject.toml) ... done
  77. Collecting pycparser (from cffi==1.15.0)
  78. File was already downloaded /Users/bosomt/Trezor/trezor-firmware/pycparser-2.22-py3-none-any.whl
  79. Building wheels for collected packages: cffi
  80. Building wheel for cffi (pyproject.toml) ... done
  81. Created wheel for cffi: filename=cffi-1.15.0-cp311-cp311-macosx_15_0_arm64.whl size=174181 sha256=9fb46b51070789ed3ccc1f1e25e6b0cde604caf299b9003a91ff5f5828d6a63e
  82. Stored in directory: /private/var/folders/w1/k59hb6y575dd_l15jdsfffq40000gq/T/pip-ephem-wheel-cache-ao8nkoib/wheels/12/f5/09/5baf6dde29553c4804a3ce1adfd4f1815e136fc19644deb92a
  83. Successfully built cffi
  84. ❯ poetry install
  85. The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
  86. Installing dependencies from lock file
  87.  
  88. Package operations: 56 installs, 0 updates, 0 removals
  89.  
  90. - Installing cffi (1.15.0): Failed
  91.  
  92. PEP517 build of a dependency failed
  93.  
  94. Backend subprocess exited when trying to invoke build_wheel
  95.  
  96. | 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.
  97. |
  98. | running bdist_wheel
  99. | running build
  100. | running build_py
  101. | creating build/lib.macosx-15.0-arm64-cpython-313/cffi
  102. | copying cffi/backend_ctypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  103. | copying cffi/error.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  104. | copying cffi/setuptools_ext.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  105. | copying cffi/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  106. | copying cffi/cffi_opcode.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  107. | copying cffi/vengine_gen.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  108. | copying cffi/pkgconfig.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  109. | copying cffi/model.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  110. | copying cffi/ffiplatform.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  111. | copying cffi/api.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  112. | copying cffi/vengine_cpy.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  113. | copying cffi/commontypes.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  114. | copying cffi/lock.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  115. | copying cffi/recompiler.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  116. | copying cffi/cparser.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  117. | copying cffi/verifier.py -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  118. | copying cffi/_cffi_include.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  119. | copying cffi/parse_c_type.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  120. | copying cffi/_embedding.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  121. | copying cffi/_cffi_errors.h -> build/lib.macosx-15.0-arm64-cpython-313/cffi
  122. | running build_ext
  123. | building '_cffi_backend' extension
  124. | creating build/temp.macosx-15.0-arm64-cpython-313/c
  125. | 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
  126. | c/_cffi_backend.c:4517:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
  127. | 4517 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
  128. | | ^
  129. | /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
  130. | 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
  131. | | ^
  132. | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
  133. | 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
  134. | | ^
  135. | 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]
  136. | 6100 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
  137. | | ^
  138. | c/_cffi_backend.c:6100:9: note: did you mean 'PyErr_WriteUnraisable'?
  139. | /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
  140. | 233 | PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
  141. | | ^
  142. | 1 warning and 1 error generated.
  143. | error: command '/usr/bin/clang' failed with exit code 1
  144.  
  145. 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)
  146.  
  147. - not supporting PEP 517 builds
  148. - not specifying PEP 517 build requirements correctly
  149. - the build requirements are incompatible with your operating system or Python version
  150. - the build requirements are missing system dependencies (eg: compilers, libraries, headers).
  151.  
  152. You can verify this by running pip wheel --no-cache-dir --use-pep517 "cffi (==1.15.0)".
  153.  
  154.    ~/Trezor/trezor-firmware  on   main ?3 
Add Comment
Please, Sign In to add comment