-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Description
Hi, I've updated the dependencies of one of my packages, and now the CI on Linux fails with the following message, which happens on the Docker image python:3.13-bullseye. Can you please deploy the wheel for this configuration?
PEP517 build of a dependency failed
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
| Command '['/tmp/tmp7y7fv6ih/.venv/bin/python', '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'get_requires_for_build_wheel', '/tmp/tmp8ytbzbat']' returned non-zero exit status 1.
|
| Package hdf5 was not found in the pkg-config search path.
| Perhaps you should add the directory containing `hdf5.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'hdf5' found
| reading from setup.cfg...
| HDF5_DIR environment variable not set, checking some standard locations ..
| checking /root/include...
| hdf5 headers not found in /root/include
| checking /usr/local/include...
| hdf5 headers not found in /usr/local/include
| checking /sw/include...
| hdf5 headers not found in /sw/include
| checking /opt/include...
| hdf5 headers not found in /opt/include
| checking /opt/local/include...
| hdf5 headers not found in /opt/local/include
| checking /opt/homebrew/include...
| hdf5 headers not found in /opt/homebrew/include
| checking /usr/include...
| hdf5 headers not found in /usr/include
| Traceback (most recent call last):
| File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
| main()
| ~~~~^^
| File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
| json_out["return_val"] = hook(**hook_input["kwargs"])
| ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
| File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
| return hook(config_settings)
| File "/tmp/tmp7y7fv6ih/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
| return self._get_build_requires(config_settings, requirements=[])
| ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/tmp/tmp7y7fv6ih/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
| self.run_setup()
| ~~~~~~~~~~~~~~^^
| File "/tmp/tmp7y7fv6ih/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
| exec(code, locals())
| ~~~~^^^^^^^^^^^^^^^^
| File "<string>", line 297, in <module>
| File "<string>", line 244, in _populate_hdf5_info
| ValueError: did not find HDF5 headers
Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with netcdf4 (1.7.4)
- 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 "netcdf4 (==1.7.4)".
P.S.: The Windows pipeline runs on python:3.13-windowsservercore, and there the installation works fine.
Metadata
Metadata
Assignees
Labels
No labels