add ubuntu noble and python 3.13.0rc3

This commit is contained in:
dave 2024-09-28 17:03:48 -07:00
parent fcdc57dcc5
commit 7737ebd46d
4 changed files with 35 additions and 9 deletions

14
Dockerfile.noble Normal file
View File

@ -0,0 +1,14 @@
FROM ubuntu:noble
RUN sed -i -E 's/(archive|security).ubuntu.com/aptmirror/' /etc/apt/sources.list && \
sed -i -E 's/^deb-src/# deb-src/' /etc/apt/sources.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y dpkg-dev debhelper build-essential sudo wget curl
RUN useradd builder && \
install -d /build -o builder -g builder
ADD scripts/bootstrap.sh /bootstrap.sh
ADD scripts/build.sh /build.sh
ENTRYPOINT ["/bootstrap.sh"]

View File

@ -21,16 +21,18 @@ The vars file - `trusty-3.9.5.sh` above - contains information about what python
Version support matrix
----------------------
| | 2.7 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 |
|--------|--------|------------------|-------|----------------------|--------|---------|--------|
| 14.04 | | 3.6.7<br />3.6.8 | | | 3.9.5* | 3.10.0* | |
| 16.04 | | 3.6.7 | 3.7.3 | | 3.9.5 | 3.10.0* | |
| 18.04 | 2.7.16 | 3.6.7 | 3.7.3 | 3.8.0a4<br />3.8.0b1 | 3.9.5 | 3.10.0 | 3.11.5 |
| 19.04 | | | 3.7.3 | | | | |
| 20.04 | | | | | 3.9.5 | 3.10.0 | 3.11.5 |
| 22.04 | | | | | | | 3.11.5 |
| | 2.7 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.13\*\* |
|--------|--------|------------------|-------|----------------------|--------|---------|--------|-----------|
| 14.04 | | 3.6.7<br />3.6.8 | | | 3.9.5* | 3.10.0* | | |
| 16.04 | | 3.6.7 | 3.7.3 | | 3.9.5 | 3.10.0* | | |
| 18.04 | 2.7.16 | 3.6.7 | 3.7.3 | 3.8.0a4<br />3.8.0b1 | 3.9.5 | 3.10.0 | 3.11.5 | |
| 19.04 | | | 3.7.3 | | | | | |
| 20.04 | | | | | 3.9.5 | 3.10.0 | 3.11.5 | |
| 22.04 | | | | | | | 3.11.5 | |
| 24.04 | | | | | | | | 3.13.0rc3 |
\* with provided extpython-openssl packages - see below
\*\* 3.13 and later are built with `--disable-gil`
Openssl

View File

@ -1,6 +1,6 @@
#!/bin/bash -ex
RELEASES="trusty xenial bionic focal jammy"
RELEASES="trusty xenial bionic focal jammy noble"
for release in $RELEASES ; do
docker pull ubuntu:${release}

10
src/noble-3.13.0rc3.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash -eux
export EXTPYTHON_DIST=noble
export PYTHON_RELEASE=3.13.0rc3
export PYTHON_MAJOR=3.13
export PYTHON_TARBALL="http://artifact.scc.net.davepedu.com/repo/tar/cpython/cpython/cpython-${PYTHON_RELEASE}.tar.gz"
export CPYTHON_DEPS="libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev \
libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev uuid-dev"
export EXTRA_PY_CONFIGURE_FLAGS="--enable-optimizations --disable-gil"