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 @@ -1408,7 +1408,7 @@ services:
14081408 args :
14091409 base : ${REPO}:python-wheel-windows-vs2022-base-vcpkg-${VCPKG}-${PYTHON_WHEEL_WINDOWS_IMAGE_REVISION}
14101410 python : ${PYTHON}
1411- freethreaded : 0
1411+ python_variant : default
14121412 context : .
14131413 dockerfile : ci/docker/python-wheel-windows-vs2022.dockerfile
14141414 # This should make the pushed images reusable, but the image gets rebuilt.
@@ -1425,7 +1425,7 @@ services:
14251425 args :
14261426 base : ${REPO}:python-wheel-windows-vs2022-base-vcpkg-${VCPKG}-${PYTHON_WHEEL_WINDOWS_IMAGE_REVISION}
14271427 python : ${PYTHON}
1428- freethreaded : 1
1428+ python_variant : freethreaded
14291429 context : .
14301430 dockerfile : ci/docker/python-wheel-windows-vs2022.dockerfile
14311431 # This should make the pushed images reusable, but the image gets rebuilt.
You can’t perform that action at this time.
0 commit comments