pitrou commented on code in PR #47616:
URL: https://github.com/apache/arrow/pull/47616#discussion_r2425395860
##########
ci/docker/python-free-threaded-wheel-windows-vs2022.dockerfile:
##########
@@ -26,9 +26,13 @@ FROM ${base}
ARG python=3.13
+RUN (if "%python%"=="3.13" setx PYTHON_VERSION "3.13.1") & \
+ (if "%python%"=="3.14" setx PYTHON_VERSION "3.14.0")
+
SHELL ["powershell", "-NoProfile", "-Command", "$ErrorActionPreference =
'Stop'; $ProgressPreference = 'SilentlyContinue';"]
-RUN $filename = 'python-3.13.1-amd64.exe'; \
- $url = 'https://www.python.org/ftp/python/3.13.1/' + $filename; \
+RUN $version = $env:PYTHON_VERSION; \
+ $filename = 'python-' + $version + '-amd64.exe'; \
+ $url = 'https://www.python.org/ftp/python/' + $version + '/' + $filename; \
Review Comment:
Also not necessary for this PR, but we should change these Windows
dockerfiles to use the Python install manager:
https://docs.python.org/3.14/using/windows.html#python-install-manager
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]