Skip to content

Commit 9df4cf4

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

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

3.14-rc/windows/windowsservercore-1809/Dockerfile

Lines changed: 6 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: 6 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: 6 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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ 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+
# https://github.com/python/cpython/issues/133626
60+
# clean up broken pip install
61+
Remove-Item -Recurse C:\Python\Lib\site-packages\pip*; \
62+
# install pip as pip.exe
63+
python -m ensurepip --default-pip -vvv; \
64+
\
65+
{{ ) else "" end -}}
5866
Write-Host 'Verifying pip install ...'; \
5967
pip --version; \
6068
\

0 commit comments

Comments
 (0)