Skip to content

Commit a74a6c7

Browse files
authored
Merge pull request #1040 from infosiftr/short-hack
Add a quick fix for 3.14.0b1 on windows
2 parents 4cf0116 + 0fb50d3 commit a74a6c7

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

3.14-rc/windows/windowsservercore-1809/Dockerfile

+7
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

+7
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

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-windows.template

+9
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)