Commit 9cd3243
committed
Switch from get-pip.py to ensurepip
Since:
* All versions of Python that are actively built by this repo now
include the `ensurepip` module.
* The policy of these images is now to use the same pip version as the
one bundled with `ensurepip` (rather than always upgrading as pip
releases occur) to avoid breaking changes, and for parity with the
`venv` module.
* As such, we might as well actually use `ensurepip` to install pip
(since it installs the exact pip version we want) rather than manually
doing the same using `get-pip.py`.
Now that the pip/setuptools versions track (or mostly track, in the case
of setuptools) the ensurepip versions, the concerns over frequent
invalidation of the Python layer no longer apply, and so the
pip/setuptools install can now be part of the Python layer, reducing
layer count by one.
This change is a no-op in terms of pip/setuptools/wheel versions,
since the pip versions being used already exactly matched the
`ensurepip` version of pip.
Closes #951.1 parent ceb2ec1 commit 9cd3243
File tree
44 files changed
+403
-1464
lines changed- 3.10
- alpine3.19
- alpine3.20
- bookworm
- bullseye
- slim-bookworm
- slim-bullseye
- 3.11
- alpine3.19
- alpine3.20
- bookworm
- bullseye
- slim-bookworm
- slim-bullseye
- 3.12
- alpine3.19
- alpine3.20
- bookworm
- bullseye
- slim-bookworm
- slim-bullseye
- windows
- windowsservercore-1809
- windowsservercore-ltsc2022
- 3.13-rc
- alpine3.19
- alpine3.20
- bookworm
- bullseye
- slim-bookworm
- slim-bullseye
- windows
- windowsservercore-1809
- windowsservercore-ltsc2022
- 3.8
- alpine3.19
- alpine3.20
- bookworm
- bullseye
- slim-bookworm
- slim-bullseye
- 3.9
- alpine3.19
- alpine3.20
- bookworm
- bullseye
- slim-bookworm
- slim-bullseye
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+403
-1464
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments