File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,9 @@ FROM ${base}
2525ARG python=3.10
2626
2727# Use python_abi_tag env var to select regular or free-threaded Python
28- ARG freethreaded=0
29- ENV PYTHON_MODE=${freethreaded}
30- RUN if "%PYTHON_MODE%" =="1" ( \
31- pymanager install --version %PYTHON_VERSION% --variant freethreaded \
32- ) else ( \
33- pymanager install --version %PYTHON_VERSION% \
34- )
28+ ARG python_variant=default
29+ ENV PYTHON_VARIANT=${python_variant}
30+ RUN pymanager install --version %PYTHON_VERSION% --variant %PYTHON_VARIANT%
3531
3632RUN %PYTHON_CMD% -m pip install -U pip setuptools
3733
Original file line number Diff line number Diff line change @@ -1388,7 +1388,7 @@ services:
13881388 args :
13891389 base : ${REPO}:python-wheel-windows-vs2022-base-vcpkg-${VCPKG}-${PYTHON_WHEEL_WINDOWS_IMAGE_REVISION}
13901390 python : ${PYTHON}
1391- freethreaded : 0
1391+ python_variant : default
13921392 context : .
13931393 dockerfile : ci/docker/python-wheel-windows-vs2022.dockerfile
13941394 # This should make the pushed images reusable, but the image gets rebuilt.
@@ -1405,7 +1405,7 @@ services:
14051405 args :
14061406 base : ${REPO}:python-wheel-windows-vs2022-base-vcpkg-${VCPKG}-${PYTHON_WHEEL_WINDOWS_IMAGE_REVISION}
14071407 python : ${PYTHON}
1408- freethreaded : 1
1408+ python_variant : freethreaded
14091409 context : .
14101410 dockerfile : ci/docker/python-wheel-windows-vs2022.dockerfile
14111411 # This should make the pushed images reusable, but the image gets rebuilt.
You can’t perform that action at this time.
0 commit comments