Skip to content

Commit 0fb50d3

Browse files
committed
Add a quick fix for 3.14.0b1 on windows
1 parent 4cf0116 commit 0fb50d3

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

3.14-rc/windows/windowsservercore-1809/Dockerfile

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.14-rc/windows/windowsservercore-ltsc2025/Dockerfile

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-windows.template

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en
5555
\
5656
$env:PYTHONDONTWRITEBYTECODE = '1'; \
5757
\
58+
{{ if .version == "3.14.0b1" then ( -}}
59+
Write-Host 'Reinstalling pip to workaround a bug ...'; \
60+
# https://github.com/python/cpython/issues/133626
61+
# clean up broken pip install
62+
Remove-Item -Recurse C:\Python\Lib\site-packages\pip*; \
63+
# install pip as pip.exe
64+
python -m ensurepip --default-pip -vvv; \
65+
\
66+
{{ ) else "" end -}}
5867
Write-Host 'Verifying pip install ...'; \
5968
pip --version; \
6069
\

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy