Skip to content

Commit a405468

Browse files
committed
test(docker): upgrade ubuntu14 Python to standalone 3.13.3
20250517/3.13.3+20250517 was latest found working as of today. This is mainly to get a currently supported one for tests and tooling. In particular, current mypy no longer supports < 3.9 as python_version.
1 parent cdc3456 commit a405468

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/docker/ubuntu14/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ RUN export DEBIAN_FRONTEND=noninteractive \
1010
software-properties-common \
1111
openssh-server \
1212
xvfb \
13-
&& python3.4 -c "import urllib.request; urllib.request.urlretrieve('https://github.com/pyston/pyston/releases/download/pyston_2.3.1/pyston_2.3.1_portable_v2.tar.gz', '/tmp/pyston.tar.gz')" \
14-
&& tar xCf /usr/local /tmp/pyston.tar.gz --strip-components=1
13+
&& : 20250517/3.13.3+20250517 was latest found working as of 2025-10-12 \
14+
&& python3.4 -c "import urllib.request; urllib.request.urlretrieve('https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64_v2-unknown-linux-gnu-install_only_stripped.tar.gz', '/tmp/python.tar.gz')" \
15+
&& tar xCf /usr/local /tmp/python.tar.gz --strip-components=1
1516

1617
ADD test-cmd-list.txt \
1718
requirements.txt \
1819
docker/ubuntu14/install-packages.sh \
1920
/tmp/
2021

2122
RUN set -x \
22-
&& pyston3 -m pip install -Ir /tmp/requirements.txt
23+
&& python3 -m pip install -Ir /tmp/requirements.txt
2324

2425
RUN /tmp/install-packages.sh </tmp/test-cmd-list.txt \
2526
&& rm -r /tmp/* /root/.cache/pip /var/lib/apt/lists/*

0 commit comments

Comments
 (0)