Can't install with Pip
walking-octopus opened this issue · 1 comments
walking-octopus commented
Describe the bug
The following error happens when attempting to install whispering
with pip
.
To Reproduce
pip install -U git+https://github.com/shirayu/whispering.git@v0.5.0
- Error:
Preparing metadata (pyproject.toml) did not run successfully.
Expected behavior
A proper installation
Logs
stas@stas-zenbook ~> pip install -U git+https://github.com/shirayu/whispering.git@v0.5.0
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/shirayu/whispering.git@v0.5.0
Cloning https://github.com/shirayu/whispering.git (to revision v0.5.0) to /tmp/pip-req-build-zn5l2obc
Running command git clone --filter=blob:none --quiet https://github.com/shirayu/whispering.git /tmp/pip-req-build-zn5l2obc
Running command git checkout -q 77808b11825493a1a1b10947a2412df98c6fb511
Resolved https://github.com/shirayu/whispering.git to commit 77808b11825493a1a1b10947a2412df98c6fb511
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Traceback (most recent call last):
File "/home/stas/.local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/home/stas/.local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/stas/.local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/usr/lib/python3/dist-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel
poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False)
File "/usr/lib/python3/dist-packages/poetry/core/factory.py", line 43, in create_poetry
raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
- Additional properties are not allowed ('group' was unexpected)
[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.
stas@stas-zenbook ~ [1]>
Environment
- OS: Ubuntu 22.04.1 LTS
- Python Version: Python 3.10.6
- Whispering version:
whispering.git@v0.5.0