aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2025-08-24 22:33:47 +0100
committerGravatar Joe Banks <[email protected]>2025-08-30 21:58:10 +0100
commit90de5d98a85843f6c6cdcc63f35f346e618caf69 (patch)
tree1727b7328d631f7dde357738d8a8ca7310d6e944
parentRegenerate NSJail config protobuf for version 3.4 (diff)
Update to Python 3.13.6
-rw-r--r--Dockerfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 81e2ae5..7f43919 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,17 +28,20 @@ RUN apt-get -y update \
tk-dev \
&& rm -rf /var/lib/apt/lists/*
-RUN git clone -b v2.6.5 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT
+RUN git clone -b v2.6.7 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT
COPY --link scripts/build_python.sh /
# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_13
-RUN /build_python.sh 3.13.5
+RUN /build_python.sh 3.13.6
# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_13t
-# This can't be bumped to latest until https://github.com/python/cpython/issues/135734 is resolved.
-RUN /build_python.sh 3.13.2t
+# https://github.com/python/cpython/issues/135734 will be released in 3.13.8
+# until then test-modules cannot be disabled for free-threaded 3.13.
+ENV PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto \
+ --with-system-expat --without-ensurepip'
+RUN /build_python.sh 3.13.6t
# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_14
RUN /build_python.sh 3.14.0rc1