bpo-46119: Update bundled pip to 21.3.1 and setuptools to 59.7.0 by kumaraditya303 · Pull Request #30178 · python/cpython
Hi @kumaraditya303. Thanks for your PR.
Unfortunately I cannot merge this PR directly as I need to
validate the contents of the binary files included, as this is a potential security concern.
Will try to check this as soon as possible if @ambv doesn't do it first :)
I am thinking about automating this step in cpython with a github action which runs every let's say a week or so and creates a PR with the latest pip and setuptools as manually it takes longer for pip to be updated in the repo and that will be more secure and fast rather than someone doing it.
Let me know your thoughts on this @pablogsal
uptools as manually it takes longer for pip to be updated in the repo and that will be more secure and fast rather than someone doing it.
That would be a lot of unnecessary churns. We only need to update these pre-release, so technically once a month is ok. On the other hand this can be something done in the release itself. Maybe @ambv has some ideas here
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks straight forward.
Thanks for the review but this is not ready to merge, there are now newer pip and setuptools versions (and possibly a new pip this week).
Plus see earlier discussion on how to do this in a way to better fit with the release and avoid churn.
Ah, that would certainly be interesting!
Done in #31885