From f1ded2fe3027894e84eae6d8d39821db2bb64fe8 Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Wed, 29 Oct 2025 19:50:42 -0400 Subject: [PATCH] fix: don't require free-threaded python tests to pass Over in https://github.com/taskcluster/taskgraph/pull/844, free-threaded python tests are causing `complete-pr` not to run because `msgspec` hasn't released a version that supports it yet. This highlights the fact that free-threading is not officially supported in Taskgraph yet, so we shouldn't block other tasks on these tests. --- taskcluster/kinds/codecov/kind.yml | 3 +++ taskcluster/kinds/complete/kind.yml | 6 ++++++ taskcluster/kinds/test/kind.yml | 4 +++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/taskcluster/kinds/codecov/kind.yml b/taskcluster/kinds/codecov/kind.yml index 64defb5c2..299f9f9c4 100644 --- a/taskcluster/kinds/codecov/kind.yml +++ b/taskcluster/kinds/codecov/kind.yml @@ -21,6 +21,9 @@ tasks: group-by: all unique-kinds: false set-name: null + with-attributes: + # exclude free-threaded python until it is officially supported + python: ["314", "313", "312", "311", "310", "39"] fetches: test: - artifact: coverage.py{matrix[python]} diff --git a/taskcluster/kinds/complete/kind.yml b/taskcluster/kinds/complete/kind.yml index bb363180f..61f2dc284 100644 --- a/taskcluster/kinds/complete/kind.yml +++ b/taskcluster/kinds/complete/kind.yml @@ -21,3 +21,9 @@ tasks: group-by: all set-name: false unique-kinds: false + with-attributes: + # exclude free-threaded python until it is officially supported + python: ["314", "313", "312", "311", "310", "39"] + # needs to be added explicitly until we can drop the `with-attributes` above + dependencies: + check-type: check-type diff --git a/taskcluster/kinds/test/kind.yml b/taskcluster/kinds/test/kind.yml index 0c09e3e3c..a0833dbda 100644 --- a/taskcluster/kinds/test/kind.yml +++ b/taskcluster/kinds/test/kind.yml @@ -41,8 +41,10 @@ tasks: description: "Run unit tests with py{matrix[python]}" matrix: set-name: "unit-py{matrix[python]}" - substitution-fields: [description, run.command, treeherder, worker] + substitution-fields: [description, run.command, treeherder, worker, attributes] python: ["314t", "314", "313", "312", "311", "310", "39"] + attributes: + python: "{matrix[python]}" worker: artifacts: - type: file