Dependabot should properly handle PyPI sources that don't have a custom url
field in pyproject.toml
#7724
Labels
Ecosystems
Used by the maintainer team for internal-facing project tracking
F: private-registries 💂♂️
Issues about using private registries with Dependabot; may be paired with an R: label.
L: python:poetry
Python packages via poetry
python
Dependabot pull requests that update Python code
When reading
pyproject.toml
, Dependabot is expecting everytool.poetry.source
entry to have aurl
field. As a result, if this field is omitted, Dependabot will fail while attempting to process anil
URL.Poetry explicitly forbids the presence of the
url
field when the source is PyPI. Poetry will currently add PyPI as the default package source automatically if it's not specified, so it is possible to omit the entry altogether to get around the issue; however, in a future version of Poetry this will no longer be the case:The text was updated successfully, but these errors were encountered: