Description
Trying to install dependencies with Poetry and get this crash. Trying diff versions but result is the same.
Python = 3.13.3
Poetry = 1.8.5
MacOS
Updating dependencies
Resolving dependencies...
Package operations: 2 installs, 0 updates, 0 removals
- Installing coincurve (20.0.0)
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
WARNING: Use build.verbose instead of cmake.verbose for scikit-build-core >= 0.10
*** scikit-build-core 0.11.3 using CMake 4.0.2 (wheel)
*** Configuring CMake...
loading initial cache file /private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmpraba5scw/build/CMakeInit.txt
-- The C compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Python: /private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/bin/python (found suitable version "3.13.3", minimum required is "3") found components: Interpreter Development.Module Development.SABIModule
CMake Error at /private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/cmake/data/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/cmake/data/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/cmake/data/share/cmake-4.0/Modules/FindPkgConfig.cmake:110 (find_package_handle_standard_args)
CMakeLists.txt:35 (find_package)
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
wheel_directory, config_settings, metadata_directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/hatchling/build.py", line 58, in build_wheel
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 147, in build
build_hook.initialize(version, build_data)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/scikit_build_core/hatch/plugin.py", line 125, in initialize
self._initialize(build_data=build_data)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/scikit_build_core/hatch/plugin.py", line 228, in _initialize
builder.configure(
~~~~~~~~~~~~~~~~~^
defines=defines,
^^^^^^^^^^^^^^^^
...<2 lines>...
version=Version(self.build_config.builder.metadata.version),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/scikit_build_core/builder/builder.py", line 283, in configure
self.config.configure(
~~~~~~~~~~~~~~~~~~~~~^
defines=cmake_defines,
^^^^^^^^^^^^^^^^^^^^^^
cmake_args=[*self.get_cmake_args(), *configure_args],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/private/var/folders/2t/zp0q0kys4kb7956646h_rmt00000gn/T/tmp_fowsyck/.venv/lib/python3.13/site-packages/scikit_build_core/cmake.py", line 262, in configure
raise FailedLiveProcessError(msg) from None
scikit_build_core.errors.FailedLiveProcessError: CMake configuration failed
at /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/poetry/installation/chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with coincurve (20.0.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "coincurve (==20.0.0)"'.