-
-
Notifications
You must be signed in to change notification settings - Fork 629
Milestone
Description
After upgrading from pip-tools 7.4.1 to 7.5.0, pip-compile
outputs URLs in "via" lines with a slash missing.
Environment Versions
- Linux
- Python version: 3.12.3
- pip version: 24.0
- pip-tools version: 7.5.0
Steps to replicate
Create file demo.in
, referencing an HTTPS constraint URL that constrains one of the dependencies:
django
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
Run pip-compile -o demo.txt demo.in
and observe the via-comments.
Expected result
Constraint URL is preserved intact in comment
Actual result
Constraint URL is missing a slash from the authority delimiter:
...
django==4.2.23
# via
# -c https:/raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r demo.in
...
sirosen
Metadata
Metadata
Assignees
Labels
No labels