We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in existing documentation
https://python-poetry.org/docs/pyproject/#urls
The keys in the tool.poetry.urls documentation are all lowercase:
but lowercase keys cause an error in poetry-core here when installing the project with pip (pip version is 24.3.1).
E.g., with this config:
[tool.poetry.urls] repository = "xyz"
running this command: pip install .
pip install .
causes this error: KeyError: 'Repository'
KeyError: 'Repository'
I was able to fix this by using capital keys instead. This works for both poetry commands and pip commands:
[tool.poetry.urls] Repository = "xyz"
Should the docs be updated to use capital keys or should the source code be updated like so?:
if name == "repository" and url == package.urls["repository"]: continue if name == "documentation" and url == package.urls["documentation"]: continue
The text was updated successfully, but these errors were encountered:
please search for duplicates, please close
Sorry, something went wrong.
Hey @dimbleby
I tried to find a duplicate (using multiple combinations) but without success Can you or anyone point where is that issue?
Sorry for the trouble
#9957, python-poetry/poetry-core#803
ah yeah it seems like my searching wasn’t deep enough, didn’t even think to look over in pull requests, thanks!
No branches or pull requests
Issue Kind
Error in existing documentation
Existing Link
https://python-poetry.org/docs/pyproject/#urls
Description
The keys in the tool.poetry.urls documentation are all lowercase:
but lowercase keys cause an error in poetry-core here when installing the project with pip (pip version is 24.3.1).
E.g., with this config:
running this command:
pip install .
causes this error:
KeyError: 'Repository'
I was able to fix this by using capital keys instead. This works for both poetry commands and pip commands:
Should the docs be updated to use capital keys or should the source code be updated like so?:
The text was updated successfully, but these errors were encountered: