Skip to content

Commit

Permalink
Merge pull request #41 from radarhere/python
Browse files Browse the repository at this point in the history
Added Python 3.12 beta
  • Loading branch information
mattip authored May 29, 2023
2 parents ca1cad9 + 56843a9 commit 9bb513c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
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

0 comments on commit 9bb513c

Please sign in to comment.