File tree Expand file tree Collapse file tree 7 files changed +16
-18
lines changed
Expand file tree Collapse file tree 7 files changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ ARG base
1919FROM ${base}
2020
2121ARG python_version=3.13
22- ARG python_patch_version=3.13.7
2322
2423RUN apk add --no-cache \
2524 bash \
@@ -38,7 +37,12 @@ RUN apk add --no-cache \
3837 zlib-dev
3938
4039# Install Python without GIL
41- RUN wget https://github.com/python/cpython/archive/refs/tags/v${python_patch_version}.tar.gz && \
40+ RUN set -e; \
41+ case "${python_version}" in \
42+ 3.13) python_patch_version="3.13.9" ;; \
43+ 3.14) python_patch_version="3.14.0" ;; \
44+ esac && \
45+ wget https://github.com/python/cpython/archive/refs/tags/v${python_patch_version}.tar.gz && \
4246 tar -xzf v${python_patch_version}.tar.gz && \
4347 rm v${python_patch_version}.tar.gz && \
4448 cd cpython-${python_patch_version}/ && \
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ ARG base
1919FROM ${base}
2020
2121ARG python_version=3.13
22- ARG python_patch_version=3.13.7
2322
2423RUN apk add --no-cache \
2524 bash \
@@ -38,7 +37,12 @@ RUN apk add --no-cache \
3837 zlib-dev
3938
4039# Install Python without GIL
41- RUN wget https://github.com/python/cpython/archive/refs/tags/v${python_patch_version}.tar.gz && \
40+ RUN set -e; \
41+ case "${python_version}" in \
42+ 3.13) python_patch_version="3.13.9" ;; \
43+ 3.14) python_patch_version="3.14.0" ;; \
44+ esac && \
45+ wget https://github.com/python/cpython/archive/refs/tags/v${python_patch_version}.tar.gz && \
4246 tar -xzf v${python_patch_version}.tar.gz && \
4347 rm v${python_patch_version}.tar.gz && \
4448 cd cpython-${python_patch_version}/ && \
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ ARG python=3.10
3131RUN (if "%python%" =="3.10" setx PYTHON_VERSION "3.10.11" && setx PYTHON_CMD "py -3.10" ) & \
3232 (if "%python%" =="3.11" setx PYTHON_VERSION "3.11.9" && setx PYTHON_CMD "py -3.11" ) & \
3333 (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" ) & \
34+ (if "%python%" =="3.13" setx PYTHON_VERSION "3.13.9 " && setx PYTHON_CMD "py -3.13" ) & \
3535 (if "%python%" =="3.14" setx PYTHON_VERSION "3.14.0" && setx PYTHON_CMD "py -3.14" )
3636
3737# hadolint ignore=DL3059
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ ARG python=3.10
2626RUN (if "%python%" =="3.10" setx PYTHON_VERSION "3.10.11" && setx PYTHON_CMD "py -3.10" ) & \
2727 (if "%python%" =="3.11" setx PYTHON_VERSION "3.11.9" && setx PYTHON_CMD "py -3.11" ) & \
2828 (if "%python%" =="3.12" setx PYTHON_VERSION "3.12.10" && setx PYTHON_CMD "py -3.12" ) & \
29- (if "%python%" =="3.13" setx PYTHON_VERSION "3.13.7 " && setx PYTHON_CMD "py -3.13" ) & \
29+ (if "%python%" =="3.13" setx PYTHON_VERSION "3.13.9 " && setx PYTHON_CMD "py -3.13" ) & \
3030 (if "%python%" =="3.14" setx PYTHON_VERSION "3.14.0" && setx PYTHON_CMD "py -3.14" )
3131
3232RUN choco install -r -y --pre --no-progress python --version=%PYTHON_VERSION%
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ declare -A versions
2828versions=([3.10]=3.10.11
2929 [3.11]=3.11.9
3030 [3.12]=3.12.10
31- [3.13]=3.13.7
32- [3.13t]=3.13.7
31+ [3.13]=3.13.9
32+ [3.13t]=3.13.9
3333 [3.14]=3.14.0
3434 [3.14t]=3.14.0)
3535
Original file line number Diff line number Diff line change @@ -1248,7 +1248,6 @@ services:
12481248 args :
12491249 base : " ${ARCH}/alpine:${ALPINE_LINUX}"
12501250 python_version : ${PYTHON}
1251- python_patch_version : ${PYTHON_PATCH_VERSION}
12521251 context : .
12531252 dockerfile : ci/docker/python-free-threaded-wheel-musllinux-test-imports.dockerfile
12541253 cache_from :
@@ -1291,7 +1290,6 @@ services:
12911290 args :
12921291 base : " ${ARCH}/alpine:${ALPINE_LINUX}"
12931292 python_version : ${PYTHON}
1294- python_patch_version : ${PYTHON_PATCH_VERSION}
12951293 context : .
12961294 dockerfile : ci/docker/python-free-threaded-wheel-musllinux-test-unittests.dockerfile
12971295 cache_from :
Original file line number Diff line number Diff line change 4242 {% endif %}
4343 PYTHON : " {{ python_version }}"
4444 PYTHON_ABI_TAG : " {{ python_abi_tag }}"
45- {% if python_version == "3.14" %}
46- PYTHON_IMAGE_TAG : " 3.14"
47- PYTHON_PATCH_VERSION : " 3.14.0"
48- {% elif python_version == "3.13" %}
4945 PYTHON_IMAGE_TAG : " {{ python_version }}"
50- PYTHON_PATCH_VERSION : " 3.13.7"
51- {% else %}
52- PYTHON_IMAGE_TAG : " {{ python_version }}"
53- {% endif %}
5446
5547 steps :
5648 {{ macros.github_checkout_arrow()|indent }}
You can’t perform that action at this time.
0 commit comments