-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
Normalize «command to run» in pip-compile headers. #800
Normalize «command to run» in pip-compile headers. #800
Conversation
19a8b6d
to
c697c5d
Compare
Codecov Report
@@ Coverage Diff @@
## master #800 +/- ##
==========================================
+ Coverage 98.78% 98.82% +0.03%
==========================================
Files 35 36 +1
Lines 2050 2119 +69
Branches 262 275 +13
==========================================
+ Hits 2025 2094 +69
Misses 15 15
Partials 10 10
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #800 +/- ##
==========================================
- Coverage 98.06% 98.01% -0.05%
==========================================
Files 34 34
Lines 1965 1969 +4
Branches 257 269 +12
==========================================
+ Hits 1927 1930 +3
Misses 26 26
- Partials 12 13 +1
Continue to review full report at Codecov.
|
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.
Very nice attentions to details! :)
(only reviewed it quickly.)
Did a quick test, works for me. Also the trailing space is gone from the default argument-less
|
@@ -9,6 +9,14 @@ | |||
from .click import style | |||
|
|||
UNSAFE_PACKAGES = {"setuptools", "distribute", "pip"} | |||
COMPILE_EXCLUDE_OPTIONS = { |
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.
any way to extend the click option decorator with a flag for compile_exclude?
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.
May be there is a way. Need to research.
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.
Please rebase as well when you restore the effort.
1c7c617
to
7b4fc90
Compare
f2c3ada
to
d626752
Compare
Fixes raising an exception on pip._internal.utils.encoding.auto_decode when requirement.txt has unique symblols.
d626752
to
5cb1764
Compare
I've added review fixes. Please review guys. |
@auvipy please don't hurry up to merge PRs, give members a chance to review. |
@blueyed @graingert if you have any comments you can post here and i'll try to resolve them in a different PR. |
It seems I might prematurely merge this. Issue reported of regression #811 could you verify? |
@auvipy it's confirmed. See #811 (comment). The case with env variables has been forgotten. |
Normalizes
To update, run:
header inpip-compile
. To normalize it:src files
) alphabetically and puts them to the tail of the command--verbose
or--quiet
--rebuild
or--upgrade
Closes #788, #799.
Also fixed an error when
requirements.txt
has unicode chars.Changelog-friendly one-liner: Normalize «command to run» in
pip-compile
headers.Contributor checklist