Poetry creates non-url url entry in direct_url.json #8999
Labels
area/core
Related to the poetry-core library
area/installer
Related to the dependency installer
kind/bug
Something isn't working as expected
status/waiting-on-core
Requires changes to poetry-core first
Milestone
Summary
With
flask = { git = "git@github.com:pallets/flask.git", rev = "b90a4f1f4a370e92054b9cc9db0efcb864f87ebe" }
poetry write"url": "git@github.com:pallets/flask.git"
in direct_url.json-vvv
option) and have included the output below.Issue
When using a git dependency, the
url
field of thedirect_url.json
that poetry writes is not a url. This causes problems in uv (astral-sh/uv#1744). The spec isn't clear about what the url field contains. I propose to change this both in poetry and in the spec: pypa/packaging.python.org#1506.The text was updated successfully, but these errors were encountered: