-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
bpo-38488: Upgrade bundled versions of pip & setuptools #20491
Conversation
For core devs reviewing this change: before merging a new setuptoos + pip upgrade, please run buildbots on the PR to ensure that it doesn't break FreeBSD and Install buildbots again. See https://bugs.python.org/issue38488 for the previous issues. |
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.
This PR doesn't seem to fix the 2 regressions that I listed in https://bugs.python.org/issue38488
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Ah, the permission issue should be fixed: @xavfernandez wrote in #16782 (comment):
But what about the https://bugs.python.org/issue40808 issue? |
That looks like a fragile test that using re.sub to ignore that specific error message, but it's changed in the newer pip release. |
@vstinner , like Pradyun, this is due to pypa/pip@1ee270a that slightly changed the wording. It should hopefully be fixed by 0a90c28 |
Let's see how buildbots like this upgrade :-) |
Buildbot seems happy ? |
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. But I will not merge this PR since I don't know how to validate the content of binary wheel files.
Is there a GPG signature somewhere to verify the files? Or an automated way to validate its content?
No GPG signature but I'd suggest checking that the hashes of the bundled files match those advertised by https://pypi.org/project/pip/#files & https://pypi.org/project/setuptools/47.1.0/#files |
Would it be possible to add a tool somewhere in Tools/ to validate hashes of wheel binaries? |
I'd like to see this get into the next round of releases including 3.7.8 so I'm merging it now. I manually verified the hashes of the pip and setuptools wheels. Having a tool to manually check would be nice; even better, I think would be a tool that allows us to build the two wheels ourselves from source so that we are not dependent on non-source files from elsewhere. |
Thanks @xavfernandez for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Thanks @xavfernandez for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Thanks @xavfernandez for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, @xavfernandez and @ned-deily, I could not cleanly backport this to |
Sorry @xavfernandez and @ned-deily, I had trouble checking out the |
GH-20898 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 5f79f46) Co-authored-by: Xavier Fernandez <[email protected]>
(cherry picked from commit 5f79f46) Co-authored-by: Xavier Fernandez <[email protected]>
GH-20900 is a backport of this pull request to the 3.8 branch. |
…H-20900) Co-authored-by: Xavier Fernandez <[email protected]>
…) (pythonGH-20900) Co-authored-by: Xavier Fernandez <[email protected]> (cherry picked from commit e63cc2f) Co-authored-by: Ned Deily <[email protected]>
…H-20900) Co-authored-by: Xavier Fernandez <[email protected]> (cherry picked from commit e63cc2f) Co-authored-by: Ned Deily <[email protected]>
https://bugs.python.org/issue38488