PLEQUE not supporting PEP 517 builds
When installing mpld3
for pyCharm U got fallowing error:
Using version ^0.5.9 for mpld3
Updating dependencies
Resolving dependencies...
Package operations: 0 installs, 1 update, 0 removals
• Updating pleque (0.0.7 /home/kripner/Projects/pleque -> 0.1.0b0 /home/kripner/Projects/pleque)
ChefBuildError
Backend subprocess exited when trying to invoke build_editable
Traceback (most recent call last):
File "/home/kripner/.local/share/pypoetry/venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/kripner/.local/share/pypoetry/venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/kripner/.local/share/pypoetry/venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
return hook(wheel_directory, config_settings, metadata_directory)
File "/tmp/tmpq5gzuj9r/.venv/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 79, in build_editable
poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
File "/tmp/tmpq5gzuj9r/.venv/lib/python3.10/site-packages/poetry/core/factory.py", line 58, in create_poetry
raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
- data.documentation must be uri
at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ 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 pleque (0.1.0b0 /home/kripner/Projects/pleque) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 --editable "/home/kripner/Projects/pleque"'.