Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Python 3.12 beta #41

Merged
merged 1 commit into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docker/Dockerfile-alpine3.18-arm64v8
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM --platform=linux/arm64/v8 alpine:3.18

ARG PLATFORM=arm64v8
ENV PYTHON_VERSIONS="3.8.15 3.9.15 3.10.8 3.11.0"
ENV PYTHON_VERSIONS="3.8.16 3.9.16 3.10.11 3.11.3 3.12.0b1"

# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
Expand Down Expand Up @@ -68,7 +68,6 @@ RUN set -eux; \
--enable-option-checking=fatal \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
&& make -j "$(nproc)" \
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile-alpine3.18-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM alpine:3.18

ENV PYTHON_VERSIONS="3.8.15 3.9.15 3.10.8 3.11.0"
ENV PYTHON_VERSIONS="3.8.16 3.9.16 3.10.11 3.11.3 3.12.0b1"

# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
Expand Down Expand Up @@ -67,7 +67,6 @@ RUN set -eux; \
--enable-option-checking=fatal \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
&& make -j "$(nproc)" \
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
Expand Down
4 changes: 2 additions & 2 deletions docker/build_install_pythons.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Install Pythons 2.7 3.6 3.7 3.8 3.9 3.10 3.11 and matching pips
# Install Pythons 2.7 3.6 3.7 3.8 3.9 3.10 3.11 3.12 and matching pips
set -ex

echo "deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main" > /etc/apt/sources.list.d/deadsnakes.list
Expand All @@ -22,7 +22,7 @@ for pyver in 3.6; do
${pybin} ${get_pip_fname}
done
wget $PIP_ROOT_URL/get-pip.py
for pyver in 3.7 3.8 3.9 3.10 3.11; do
for pyver in 3.7 3.8 3.9 3.10 3.11 3.12; do
pybin=python$pyver
apt install -y ${pybin} ${pybin}-dev ${pybin}-tk ${pybin}-distutils
get_pip_fname="get-pip.py"
Expand Down