René's URL Explorer Experiment


Title: Switch from get-pip.py to ensurepip by edmorley · Pull Request #955 · docker-library/python · GitHub

Open Graph Title: Switch from get-pip.py to ensurepip by edmorley · Pull Request #955 · docker-library/python

X Title: Switch from get-pip.py to ensurepip by edmorley · Pull Request #955 · docker-library/python

Description: 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. Doing so simplifies the build scripts and removes an external dependency, tightening the supply chain. 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.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/docker-library/python/pull/955

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f4e419ed-26e6-416f-54f5-52ee0597caa2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE9A6:C843D:1298517:187C453:6AFEA685
html-safe-nonce18f4821cde8c9bcbbb0400a042d2c0df3573f54643d61c55f941c2006b126936
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUE2OkM4NDNEOjEyOTg1MTc6MTg3QzQ1Mzo2QUZFQTY4NSIsInZpc2l0b3JfaWQiOiI0MTE0Nzg0OTU4NjQyMzAwNTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac051c6ed277a985666d9e047d77dc885ad7217b832a05c5061d49c9227c59615f
hovercard-subject-tagpull_request:2045977054
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/docker-library/python/pull/955/files
twitter:imagehttps://avatars.githubusercontent.com/u/501702?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/501702?s=400&v=4
og:image:altSince: 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...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/docker-library/python git https://github.com/docker-library/python.git
octolytics-dimension-user_id7739233
octolytics-dimension-user_logindocker-library
octolytics-dimension-repository_id21054928
octolytics-dimension-repository_nwodocker-library/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21054928
octolytics-dimension-repository_network_root_nwodocker-library/python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3f25273206cd841171bca0002261ae4c9757d934
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docker-library/python/pull/955/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fpull%2F955%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fpull%2F955%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=docker-library%2Fpython
Reloadhttps://github.com/docker-library/python/pull/955/files
Reloadhttps://github.com/docker-library/python/pull/955/files
Reloadhttps://github.com/docker-library/python/pull/955/files
docker-libraryhttps://github.com/docker-library
pythonhttps://github.com/docker-library/python
Codehttps://github.com/docker-library/python
Issues23 (23)https://github.com/docker-library/python/issues
Pull requests5 (5)https://github.com/docker-library/python/pulls
Discussionshttps://github.com/docker-library/python/discussions
Actionshttps://github.com/docker-library/python/actions
Projectshttps://github.com/docker-library/python/projects
Security and qualityhttps://github.com/docker-library/python/security
Insightshttps://github.com/docker-library/python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fdocker-library%2Fpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdocker-library%2Fpython%2Fissues%2Fnew%2Fchoose
yosifkithttps://github.com/yosifkit
docker-library:masterhttps://github.com/docker-library/python/tree/master
edmorley:rm-get-piphttps://github.com/edmorley/python/tree/rm-get-pip
Conversation 26 https://github.com/docker-library/python/pull/955
Commits 1 https://github.com/docker-library/python/pull/955/commits
Checks 0 https://github.com/docker-library/python/pull/955/checks
Files changed https://github.com/docker-library/python/pull/955/files
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
Switch from get-pip.py to ensurepip https://github.com/docker-library/python/pull/955/files#top
Show all changes 1 commit https://github.com/docker-library/python/pull/955/files
9cd3243 Switch from get-pip.py to ensurepip edmorley Sep 7, 2024 https://github.com/docker-library/python/pull/955/commits/9cd324371ef929bfc5036a00d7705a213d8b5020
Clear filters https://github.com/docker-library/python/pull/955/files
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-37d3808b0188fe35ddb42b18b603cf1c4ddfce8e13b255461ec6c517f72a19fa
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-48160b51d6bd1d3f0ff51d43506098131a6fb18df315cebd31c8156faab4bd87
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-dbfdebd7458671374bd8c157a459ed7434fbd0f5c909f1a2ab2774bdfb7add8c
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-49dbd5af5a955b7dcc6eb38844a1a38995289522959e3b16db22774fde0b5f3f
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-b1cf3a21782b2e0d0bcfb6a32714b6e059e132676b00a9db72fe9fac01e77e17
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-717bb97ae890b8249779c2474086ba589aefebdeba6de8a43b16a32b2a7ab615
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-94b785d5a3347dba7ac50c0617e958e8b045c9ee0b3bf36a690c50e0025f08fd
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-681372463c4b879ac2a86f676975187609720fe642206791d59ae4049d8fbcd2
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-7bc56f562e63b67f3f35fefb7a08eb3e1c7563d7e9151a5502f587d929b3ab95
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-850147019edc70a9bbb4e950d83d5fd93ccb26c5714ddef959ceb2be79173fc2
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-4aebddfdf53d2168f4a89b57442c5188967645bbedea1561a3cca5fd5d76ce94
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-30b4ac6077a8cfe0c57720c403b8a805edf134689ef7ef3b99a38229ee03272e
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-0bf2874357b9405940a3aa7ce8870b9413254589d60f67430b90a7f2a7620e4f
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-33d2a90c34c403c17a2b9ede1dcd75e2d7d5b9cd65890abe0e2838a2ce305699
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-8cf187a278844f99e3a159f1efeebb19333ca6b32f152b23d4aed533b2ec31d4
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-9c148661073806112340830d9cff8d274e9acbc7301e83a9bd6091f78cb109d5
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-91d8ba2c84d8946cc67eef877848d6f6b8c1ad297d32e7249a3120aeae1a11c4
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-e547167096196c97d1bcabefeff401c558e30cfb2c4a3b799cfdbeaa0fd2ef4a
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-6dec6cb2de0841f9463d203c67f279c0276a4da5dac8fa2a3386b43c74a5b4a5
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-4c9496ba6e06c59544de2f7f6e59847a78cf5519825320b4e9aa6b7bef2d34d4
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-4aa8f82492849704dabadcb87168d93fd583cf6d357162b054a1acd077449d2c
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-f4070cf8027820e30bbc55f739c37e26321c4402ee6aa3fb416dc1ce2da88646
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-d3380753ab8159f496cfb90c2eb3ade328ece820fff4502b4ee05d389aec6ed8
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-5be8f3d4b25e8d095d69ac60618357c8fa68107ad194a5624b9d3e6ea967539e
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-4ab84e8a0bacdfbe3937e0b0059849cf97ae098980d6c99802d4eeef1e982161
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-724f8b11c7d5047c83821fc75e3be1b0fc59950fb36d5772fb499a1c248907c3
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-52c2cbd7fa6c1b2832c358d6ba25594cfd1f99d2e173911e0acc0a8d7067a87c
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-7e5990ca77c0195b50f0879ac8814d1cebb03fcd39316bc4133cc7f54c001173
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-56a1ee226485720bbbb08e8859e37c58cf46d6efcd686de581e2e8b892b7dc19
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-73148af8a4d1bb8b73b27f98baec5518d6bcb65ca1552f8379d23205d85f5bff
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-e4d4d2c5d3da6b2d4c4e332bdf9968c48c2dd5aa9276491e2885dfda848cf764
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-ab505ab1966749b7345bd82cd37c2ea513bc99fe4ed97c583c16b16f035def82
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-a6218eff6d4e6af8b19427f2619d0d23a7cc132f03e3d364c5e188e1d50ea489
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-66ff429a2016715e2060e9076aa8fb4e27c022b62844083c8bc026f4c4ba0b6a
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-3d51081e967927dad7076616cecaeb546867881d43a35cbbafb995c2b660521a
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-d0345dcc08e2d3b02ee776f36795156e9cdf5c3b494bb03ca00c6978ce3529ff
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-b210f8d43f7abf627d401d5e05788177bfa62a2d444aa9d555285b1b5acd13c3
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-9a947370e0be3dc2d1dfd2c879f129007ec350e464036317bb173ad2c0b9e2eb
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-5af801754f3747049bd55f3ef4fed15dbb95c7a3ee26085342f615e08a95a745
Dockerfile https://github.com/docker-library/python/pull/955/files#diff-1ede90db84354d656d23cea61cade1a7b0c28e985c9784077aaed3da44011e1d
Dockerfile-linux.template https://github.com/docker-library/python/pull/955/files#diff-b3c0fcf605d397bd3fce8ea61588d2c9da8b24a9fe6886b2e640d97914f1d01f
Dockerfile-windows.template https://github.com/docker-library/python/pull/955/files#diff-a934c34cc091cad290199216be0e806f5a91c1887fe972459e9dc11cb2f23556
versions.json https://github.com/docker-library/python/pull/955/files#diff-2b39d33506bc7a34cef4b9ebf4cf8b1e3a5532f2131ceb37011b94261cec5f8c
versions.sh https://github.com/docker-library/python/pull/955/files#diff-75ae6e7f38ff53b3bddf05c7161672455ae64dfc0de8be7566925506498f8a78
3.10/alpine3.19/Dockerfilehttps://github.com/docker-library/python/pull/955/files#diff-37d3808b0188fe35ddb42b18b603cf1c4ddfce8e13b255461ec6c517f72a19fa
View file https://github.com/edmorley/python/blob/9cd324371ef929bfc5036a00d7705a213d8b5020/3.10/alpine3.19/Dockerfile
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
3.10/alpine3.20/Dockerfilehttps://github.com/docker-library/python/pull/955/files#diff-48160b51d6bd1d3f0ff51d43506098131a6fb18df315cebd31c8156faab4bd87
View file https://github.com/edmorley/python/blob/9cd324371ef929bfc5036a00d7705a213d8b5020/3.10/alpine3.20/Dockerfile
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
3.10/bookworm/Dockerfilehttps://github.com/docker-library/python/pull/955/files#diff-dbfdebd7458671374bd8c157a459ed7434fbd0f5c909f1a2ab2774bdfb7add8c
View file https://github.com/edmorley/python/blob/9cd324371ef929bfc5036a00d7705a213d8b5020/3.10/bookworm/Dockerfile
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
3.10/bullseye/Dockerfilehttps://github.com/docker-library/python/pull/955/files#diff-49dbd5af5a955b7dcc6eb38844a1a38995289522959e3b16db22774fde0b5f3f
View file https://github.com/edmorley/python/blob/9cd324371ef929bfc5036a00d7705a213d8b5020/3.10/bullseye/Dockerfile
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
3.10/slim-bookworm/Dockerfilehttps://github.com/docker-library/python/pull/955/files#diff-b1cf3a21782b2e0d0bcfb6a32714b6e059e132676b00a9db72fe9fac01e77e17
View file https://github.com/edmorley/python/blob/9cd324371ef929bfc5036a00d7705a213d8b5020/3.10/slim-bookworm/Dockerfile
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
Please reload this pagehttps://github.com/docker-library/python/pull/955/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.