Skip to content

Commit a9da83e

Browse files
committed
Ensure test modules are enabled when building 3.13-dev
Currently, these modules are required for building 3.13-dev. See python/cpython/pull/110530
1 parent 8459803 commit a9da83e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ RUN git clone -b v2.3.28 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROO
3737
&& /build_python.sh 3.12.0
3838
# ------------------------------------------------------------------------------
3939
FROM builder-py-base as builder-py-3_13
40+
# This is copied from line 23, removing --disable-test-modules as this is currently required for 3.13-dev
41+
# See https://github.com/python/cpython/pull/110530
42+
ENV PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto --with-system-expat --without-ensurepip'
4043
RUN git clone -b v2.3.28 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT \
4144
&& /build_python.sh 3.13-dev
4245
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)