-
-
Notifications
You must be signed in to change notification settings - Fork 612
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
Add support for pip>=22.0, drop support for Python 3.6 #1567
Commits on Feb 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 941e5c8 - Browse repository at this point
Copy the full SHA 941e5c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f717176 - Browse repository at this point
Copy the full SHA f717176View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb88812 - Browse repository at this point
Copy the full SHA eb88812View commit details -
Canonicalize the requirement name when rendering
Since pip no longer guarantees that it will no longer normalize underscore (_) in distribution names to dash (-) in `pip freeze`, `pip list`, and `pip show` (https://pip.pypa.io/en/stable/news/#id73) , in the interest of minimizing churn, pip-compile should normalize requirements names instead. This will ensure there are no changes to requirements files compiled with earlier versions of pip-tools/pip.
Configuration menu - View commit details
-
Copy full SHA for 6d10505 - Browse repository at this point
Copy the full SHA 6d10505View commit details -
Update test that doesn't rewrite requirements file
This test doesn't actually modify the requirements file, so update it to start with a normalized requirement name so it can continue to expect a normalized requirement name.
Configuration menu - View commit details
-
Copy full SHA for 4c25f28 - Browse repository at this point
Copy the full SHA 4c25f28View commit details -
Update test that compares our output to pip freeze
This is where we diverge from pip's output: pip no longer guarantees that it will canonicalize requirement names in `pip freeze` but we will continue to output canonicalized names.
Configuration menu - View commit details
-
Copy full SHA for a38d6b6 - Browse repository at this point
Copy the full SHA a38d6b6View commit details -
Copy ireq.req instead of mutating it
Co-authored-by: wouter bolsterlee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1eba7f - Browse repository at this point
Copy the full SHA d1eba7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6fe9b8 - Browse repository at this point
Copy the full SHA a6fe9b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6b39c5 - Browse repository at this point
Copy the full SHA d6b39c5View commit details -
Don't set up logging for newer versions of pip
A new log handler for the 'console' logger was added in later versions of pip, which doesn't require this workaround.
Configuration menu - View commit details
-
Copy full SHA for 2250321 - Browse repository at this point
Copy the full SHA 2250321View commit details
Commits on Feb 3, 2022
-
Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c06ab8f - Browse repository at this point
Copy the full SHA c06ab8fView commit details