Improve error message for packages in src folder #10236
Open
Cirrus CI / Tests / FreeBSD (Python 3.11) / pytest
failed
Mar 1, 2025 in 50s
Task Summary
Instruction bootstrap_poetry failed in 00:44
Details
✅ 00:04 clone
❌ 00:44 bootstrap_poetry
Downloading rapidfuzz-3.12.1.tar.gz (57.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.9/57.9 MB 36.6 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
+ Exception Group Traceback (most recent call last):
| File "/opt/poetry/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
| main()
| File "/opt/poetry/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
| json_out['return_val'] = hook(**hook_input['kwargs'])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/opt/poetry/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
| whl_basename = backend.build_wheel(metadata_directory, config_settings)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/tmp/pip-build-env-hud984tq/overlay/lib/python3.11/site-packages/scikit_build_core/build/__init__.py", line 33, in build_wheel
| return _build_wheel_impl(
| ^^^^^^^^^^^^^^^^^^
| File "/tmp/pip-build-env-hud984tq/overlay/lib/python3.11/site-packages/scikit_build_core/build/wheel.py", line 174, in _build_wheel_impl
| return _build_wheel_impl_impl(
| ^^^^^^^^^^^^^^^^^^^^^^^
| File "/tmp/pip-build-env-hud984tq/overlay/lib/python3.11/site-packages/scikit_build_core/build/wheel.py", line 231, in _build_wheel_impl_impl
| metadata = get_standard_metadata(pyproject, settings)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/tmp/pip-build-env-hud984tq/overlay/lib/python3.11/site-packages/scikit_build_core/build/metadata.py", line 75, in get_standard_metadata
| metadata = StandardMetadata.from_pyproject(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/tmp/pip-build-env-hud984tq/overlay/lib/python3.11/site-packages/scikit_build_core/_vendor/pyproject_metadata/__init__.py", line 432, in from_pyproject
| pyproject.finalize("Failed to parse pyproject.toml")
| File "/tmp/pip-build-env-hud984tq/overlay/lib/python3.11/site-packages/scikit_build_core/_vendor/pyproject_metadata/errors.py", line 108, in finalize
| raise ExceptionGroup(msg, self.errors)
| ExceptionGroup: Failed to parse pyproject.toml (1 sub-exception)
+-+---------------- 1 ----------------
| scikit_build_core._vendor.pyproject_metadata.errors.ConfigurationError: Extra keys present in "project": 'Changelog', 'Documentation', 'Homepage', 'Issues', 'Repository'
+------------------------------------
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[notice] A new release of pip is available: 24.0 -> 25.0.1
[notice] To update, run: python3.11 -m pip install --upgrade pip
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Loading