Skip to content

Commit 09336d2

Browse files
committed
chore!: drop support for Python 3.8
Also add tests for 3.13 and 3.14
1 parent d3672a0 commit 09336d2

File tree

5 files changed

+111
-1483
lines changed

5 files changed

+111
-1483
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ readme = "README.md"
1010
classifiers = [
1111
"Development Status :: 5 - Production/Stable",
1212
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
13-
"Programming Language :: Python :: 3.8",
1413
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
17+
"Programming Language :: Python :: 3.13",
18+
"Programming Language :: Python :: 3.14",
1819
"Topic :: Software Development",
1920
]
20-
requires-python = ">=3.8"
21+
requires-python = ">=3.9"
2122
dependencies = [
2223
"aiohttp[speedups]~=3.8",
2324
"gql[aiohttp,requests]>=3.5.1,<4",

taskcluster/docker/python/Dockerfile

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License, v. 2.0. If a copy of the MPL was not distributed with this
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

5-
FROM python:3.9
5+
FROM debian:bookworm-slim
66
LABEL maintainer="Mozilla Release Engineering <release@mozilla.com>"
77

88
VOLUME /builds/worker/checkouts
@@ -15,15 +15,22 @@ RUN mkdir -p /builds && \
1515

1616
# %include-run-task
1717

18-
RUN apt-get update && apt-get install -y --force-yes --no-install-recommends \
19-
mercurial build-essential zlib1g-dev libssl-dev git
18+
RUN apt-get update \
19+
&& apt-get install -y --reinstall ca-certificates \
20+
&& apt-get install -y --force-yes --no-install-recommends \
21+
build-essential \
22+
git \
23+
libssl-dev \
24+
mercurial \
25+
zlib1g-dev
2026

2127
ENV SHELL=/bin/bash \
2228
HOME=/builds/worker \
2329
PATH=/builds/worker/.local/bin:$PATH
2430

2531
# uv
26-
COPY --from=ghcr.io/astral-sh/uv:0.4.9 /uv /bin/uv
32+
# %ARG UV_VERSION
33+
COPY --from=ghcr.io/astral-sh/uv:$UV_VERSION /uv /bin/uv
2734
# %ARG PYTHON_VERSIONS
2835
RUN uv python install $PYTHON_VERSIONS
2936
RUN chown -R worker:worker /builds/worker

taskcluster/kinds/docker-image/kind.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ tasks:
1010
fetch: {}
1111
python:
1212
args:
13-
PYTHON_VERSIONS: "3.11 3.10 3.9 3.8"
13+
PYTHON_VERSIONS: "3.14 3.13 3.12 3.11 3.10 3.9"
14+
UV_VERSION: 0.9.18

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tox]
2-
envlist = clean,py{38,39,310,311,312},report
2+
envlist = clean,py{39,310,311,312,313,314},report
33

44
[testenv]
55
allowlist_externals = uv
66
parallel_show_output = true
77
depends =
8-
py{38,39,310,311,312}: clean
9-
report: py{38,39,310,311,312}
8+
py{39,310,311,312,313,314}: clean
9+
report: py{39,310,311,312,313,314}
1010
commands =
1111
uv run python --version
1212
uv run coverage run --context={envname} -p -m pytest -vv {posargs}

0 commit comments

Comments
 (0)