Skip to content
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
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"aiohttp[speedups]~=3.8",
"gql[aiohttp,requests]>=3.5.1,<4",
Expand All @@ -40,6 +41,7 @@ dev-dependencies = [
"sphinx-autobuild",
"sphinx-book-theme~=1.0",
"tox~=4.11",
"watchfiles>=1.1.0",
]

[tool.commitizen]
Expand Down
16 changes: 12 additions & 4 deletions taskcluster/docker/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

FROM python:3.9
FROM debian:bookworm-slim
LABEL maintainer="Mozilla Release Engineering <[email protected]>"

VOLUME /builds/worker/checkouts
Expand All @@ -15,15 +15,23 @@ RUN mkdir -p /builds && \

# %include-run-task

RUN apt-get update && apt-get install -y --force-yes --no-install-recommends \
mercurial build-essential zlib1g-dev libssl-dev git
RUN apt-get update \
&& apt-get install -y --reinstall ca-certificates \
&& apt-get install -y --force-yes --no-install-recommends \
build-essential \
git \
libffi-dev \
libssl-dev \
mercurial \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simple-github
look inside
mercurial

I'm guessing this was required at some point for run-task? Or it was copy pasted from somewhere else?

Not something to do in this PR, just found it funny

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, probably copy/paste.. we can almost certainly remove it ><

zlib1g-dev

ENV SHELL=/bin/bash \
HOME=/builds/worker \
PATH=/builds/worker/.local/bin:$PATH

# uv
COPY --from=ghcr.io/astral-sh/uv:0.4.9 /uv /bin/uv
# %ARG UV_VERSION
COPY --from=ghcr.io/astral-sh/uv:$UV_VERSION /uv /bin/uv
# %ARG PYTHON_VERSIONS
RUN uv python install $PYTHON_VERSIONS
RUN chown -R worker:worker /builds/worker
Expand Down
3 changes: 2 additions & 1 deletion taskcluster/kinds/docker-image/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ tasks:
fetch: {}
python:
args:
PYTHON_VERSIONS: "3.11 3.10 3.9 3.8"
PYTHON_VERSIONS: "3.14 3.13 3.12 3.11 3.10 3.9"
UV_VERSION: 0.9.18
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tox]
envlist = clean,py{38,39,310,311,312},report
envlist = clean,py{39,310,311,312,313,314},report

[testenv]
allowlist_externals = uv
parallel_show_output = true
depends =
py{38,39,310,311,312}: clean
report: py{38,39,310,311,312}
py{39,310,311,312,313,314}: clean
report: py{39,310,311,312,313,314}
commands =
uv run python --version
uv run coverage run --context={envname} -p -m pytest -vv {posargs}
Expand Down
Loading
Loading