diff --git a/pyproject.toml b/pyproject.toml index 12f6b04..e08a5cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,8 @@ classifiers = [ "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.9" diff --git a/taskcluster/docker/python/Dockerfile b/taskcluster/docker/python/Dockerfile index 9b8bd45..dadbe38 100644 --- a/taskcluster/docker/python/Dockerfile +++ b/taskcluster/docker/python/Dockerfile @@ -29,7 +29,7 @@ ENV SHELL=/bin/bash \ PATH=/builds/worker/.local/bin:$PATH # uv -COPY --from=ghcr.io/astral-sh/uv:0.4.16 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.9.3 /uv /bin/uv # %ARG PYTHON_VERSIONS RUN uv python install $PYTHON_VERSIONS RUN chown -R worker:worker /builds/worker diff --git a/taskcluster/kinds/complete/kind.yml b/taskcluster/kinds/complete/kind.yml new file mode 100644 index 0000000..bb36318 --- /dev/null +++ b/taskcluster/kinds/complete/kind.yml @@ -0,0 +1,23 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# 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/. +--- +loader: taskgraph.loader.transform:loader + +transforms: + - taskgraph.transforms.from_deps + - taskgraph.transforms.task + +kind-dependencies: + - check + - test + +tasks: + pr: + description: Ensures required PR tasks have completed + run-on-tasks-for: ["github-pull-request", "github-pull-request-untrusted"] + worker-type: succeed + from-deps: + group-by: all + set-name: false + unique-kinds: false diff --git a/taskcluster/kinds/docker-image/kind.yml b/taskcluster/kinds/docker-image/kind.yml index 2644bd7..f60329a 100644 --- a/taskcluster/kinds/docker-image/kind.yml +++ b/taskcluster/kinds/docker-image/kind.yml @@ -10,4 +10,4 @@ tasks: fetch: {} python: args: - PYTHON_VERSIONS: "3.12 3.11 3.10 3.9" + PYTHON_VERSIONS: "3.14 3.13 3.12 3.11 3.10 3.9" diff --git a/taskcluster/kinds/test/kind.yml b/taskcluster/kinds/test/kind.yml index 467d8e5..658ec54 100644 --- a/taskcluster/kinds/test/kind.yml +++ b/taskcluster/kinds/test/kind.yml @@ -21,7 +21,7 @@ tasks: description: "Run Python unit tests." attributes: artifact_prefix: public - python-versions: ["3.12", "3.11", "3.10", "3.9"] + python-versions: ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"] run: command: >- uv run coverage run --data-file $MOZ_ARTIFACT_DIR/coverage --context=py$UV_PYTHON -m pytest -vv