-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Fix compatibility with pip master (pip>=20.0) #953
Fix compatibility with pip master (pip>=20.0) #953
Conversation
PackageFinder moved to pip._internal.index.package_finder FormatControl moved to pip._internal.models.format_control See: pypa/pip#7144
Codecov Report
@@ Coverage Diff @@
## master #953 +/- ##
=========================================
+ Coverage 99.1% 99.1% +<.01%
=========================================
Files 35 35
Lines 2336 2338 +2
Branches 301 301
=========================================
+ Hits 2315 2317 +2
Misses 13 13
Partials 8 8
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.
LGTM 👍
Thanks for reviewing this, @codingjoe! 🎉 |
See details in jazzband#953 (comment)
Problem
Cron job is failing, see: https://github.com/jazzband/pip-tools/commit/023d7cabe36277bf9e5a5f37ebca299d87f4e36d/checks
What's fixed
index
sub-package pypa/pip#7144PackageFinder
moved topip._internal.index.package_finder
FormatControl
moved topip._internal.models.format_control
Pass require_hashes directly to Resolver
Additional notes
pragma: no cover
prevents suddenly decreasing coverage if pip master fails again. Any other suggestions on how to achieve this?Changelog-friendly one-liner: Add compatibility with
pip>=20.0
Contributor checklist
Provided the tests for the changes.