normalize source vcs urls#701
Conversation
This change ensures when referencing source url for package specifications of source type "git" or for VCS dependencies, a normalized version returned at all times. Relates-to: python-poetry/poetry#8999
78ddf35 to
346e6fc
Compare
|
Use version from python-poetry/poetry-core#701 for testing.
|
Downstream tests created at python-poetry/poetry#9007 |
|
FYI: According to https://secure.phabricator.com/T11004, |
|
I considered this. While it is a bit unclear how reliably this is true, we already make this assumption in the code elsewhere. poetry-core/src/poetry/core/packages/vcs_dependency.py Lines 111 to 115 in 219c52e So, I suspect, for right now this is an alright assumption. |



This change ensures when referencing source url for package specifications of source type "git" or for VCS dependencies, a normalized version returned at all times.
Relates-to: python-poetry/poetry#8999
This change should ensure that we write out a valid url for cases where
[email protected]:org/project.gitus used as source url.