Skip to content

Commit b4b42fb

Browse files
committed
Fix error - win test still using choco not pymanager
1 parent b0d30cb commit b4b42fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/docker/python-wheel-windows-test-vs2022.dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ FROM ${base}
2828

2929
# Define the full version number otherwise choco falls back to patch number 0 (3.10 => 3.10.0)
3030
ARG python=3.10
31+
RUN (if "%python%"=="3.10" setx PYTHON_VERSION "3.10.11" && setx PYTHON_CMD "py -3.10") & \
32+
(if "%python%"=="3.11" setx PYTHON_VERSION "3.11.9" && setx PYTHON_CMD "py -3.11") & \
33+
(if "%python%"=="3.12" setx PYTHON_VERSION "3.12.10" && setx PYTHON_CMD "py -3.12") & \
34+
(if "%python%"=="3.13" setx PYTHON_VERSION "3.13.7" && setx PYTHON_CMD "py -3.13") & \
35+
(if "%python%"=="3.14" setx PYTHON_VERSION "3.14.0" && setx PYTHON_CMD "py -3.14")
3136

3237
# hadolint ignore=DL3059
3338
RUN choco install -r -y --pre --no-progress --force python --version=%PYTHON_VERSION%
@@ -37,4 +42,4 @@ RUN %PYTHON_CMD% -m pip install -U pip setuptools
3742
COPY python/requirements-wheel-test.txt C:/arrow/python/
3843
RUN %PYTHON_CMD% -m pip install -r C:/arrow/python/requirements-wheel-test.txt
3944

40-
ENV PYTHON=$python
45+
ENV PYTHON=${python}

0 commit comments

Comments
 (0)