Skip to content

Commit c3892b1

Browse files
committed
feat: add CPython 3.13 --disable-gil build
1 parent 63a1ad4 commit c3892b1

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docker/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ FROM build_cpython AS build_cpython313
141141
COPY build_scripts/cpython-pubkey-312-313.txt /build_scripts/cpython-pubkeys.txt
142142
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.13.0b1
143143

144+
FROM build_cpython AS build_cpython313_nogil
145+
COPY build_scripts/cpython-pubkey-312-313.txt /build_scripts/cpython-pubkeys.txt
146+
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.13.0b1 nogil
147+
144148

145149
FROM runtime_base
146150
COPY --from=build_git /manylinux-rootfs /
@@ -154,6 +158,7 @@ RUN --mount=type=bind,target=/build_cpython36,from=build_cpython36 \
154158
--mount=type=bind,target=/build_cpython311,from=build_cpython311 \
155159
--mount=type=bind,target=/build_cpython312,from=build_cpython312 \
156160
--mount=type=bind,target=/build_cpython313,from=build_cpython313 \
161+
--mount=type=bind,target=/build_cpython313_nogil,from=build_cpython313_nogil \
157162
mkdir -p /opt/_internal && \
158163
cp -rf /build_cpython*/opt/_internal/* /opt/_internal/ && \
159164
manylinux-entrypoint /opt/_internal/build_scripts/finalize.sh \

tests/run_tests.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ else
1818
fi
1919

2020
if [ "${AUDITWHEEL_POLICY:0:10}" == "musllinux_" ]; then
21-
EXPECTED_PYTHON_COUNT=8
22-
EXPECTED_PYTHON_COUNT_ALL=8
21+
EXPECTED_PYTHON_COUNT=9
22+
EXPECTED_PYTHON_COUNT_ALL=9
2323
else
2424
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ] || [ "${AUDITWHEEL_ARCH}" == "i686" ] || [ "${AUDITWHEEL_ARCH}" == "aarch64" ]; then
25-
EXPECTED_PYTHON_COUNT=12
26-
EXPECTED_PYTHON_COUNT_ALL=12
25+
EXPECTED_PYTHON_COUNT=13
26+
EXPECTED_PYTHON_COUNT_ALL=13
2727
else
28-
EXPECTED_PYTHON_COUNT=8
29-
EXPECTED_PYTHON_COUNT_ALL=8
28+
EXPECTED_PYTHON_COUNT=9
29+
EXPECTED_PYTHON_COUNT_ALL=9
3030
fi
3131
fi
3232
PYTHON_COUNT=$(manylinux-interpreters list --installed | wc -l)

0 commit comments

Comments
 (0)