-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Vendor in pip==22.0.4 #4966
Vendor in pip==22.0.4 #4966
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
I've updated the pip patches and got the vendoring part of the build passing. I have a much better grasp of what is going on there now. |
I'd appreciate if you can fix #5008 before dropping 3.6 support. It is our route to later versions of python. |
…v into issues-4651-vendor-pip-22.0.3
For some reason the build is failing on the linting step because something is causing it to drop the pyproject.toml file which has the black configuration for line length. Very odd: https://github.com/pypa/pipenv/runs/6063647329?check_suite_focus=true#step:7:789 |
…ary across the board.
…lementation) because it affects the outcome of this test now in pip 22.0.4
@oz123 There are two primary changes that were required to fix the build. Well its still running but I have good indicators that this run will be fixed. Here is the intel: The first issue was to drop a patch we had for pip_shims that was causing it to get confused by two different install locations of packaging -- this one was confusing and causing a bulk of the test failures, it seems a bunch of imports are mixed between using Which brings me to the second issue: for some reason the old pip vendoring didn't mind my prior refactor to
|
Awesome work! |
This PR is currently isolated to upgrading vendor'd
pip==22.0.4
but there seems is a bug with how we or something internal use specifiers and some follow-up changes required, to separate those out: #4969The issue
The newer pip version has some fixes to dependency resolution that we rely on in pipenv.
So for the example Pipfile I am trying to solve the Infinity lock, and now locking fails with logical error:
The fix
How does this pull request fix your problem? Did you consider any alternatives? Why is this the best solution, in your opinion?
Upgrading vendor'd pip is the path forward for a number of resolver bugs.
The checklist
news/
directory to describe this fix with the extension.bugfix
,.feature
,.behavior
,.doc
..vendor
. or.trivial
(this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.