-
-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
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
Write out default index when it is provided as--extra-index-url
#1325
Write out default index when it is provided as--extra-index-url
#1325
Conversation
If the default index is provided as `--extra-index-url` it can not safely be dropped from the written output since this changes behaviour when the output is synced. While jazzband#756 Explicitly introduced tests for the opposite this seams to have been a mistake since otherwise the following lines comment about making an exception would be nonsensical.
--extra-index-url
Codecov Report
@@ Coverage Diff @@
## master #1325 +/- ##
==========================================
- Coverage 99.62% 99.62% -0.01%
==========================================
Files 33 33
Lines 2921 2920 -1
Branches 318 318
==========================================
- Hits 2910 2909 -1
Misses 5 5
Partials 6 6
Continue to review full report at Codecov.
|
@atugushev Since you wrote that test, did I interpret that right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@fahrradflucht thanks for the contribution! 🎉 |
pip-tools |
If the default index is provided as
--extra-index-url
it can not safely be dropped from the written output since this changes behavior when the output is synced.While #756 Explicitly introduced tests for the opposite, this seams to have been a mistake since otherwise the following lines comment about making an exception would be nonsensical.
Changelog-friendly one-liner: Write out default index when it is provided as
--extra-index-url
.Contributor checklist