Skip to content

Commit a5e01b1

Browse files
authored
fix: don't require free-threaded python tests to pass (#845)
Over in #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.
1 parent fff81c0 commit a5e01b1

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

taskcluster/kinds/codecov/kind.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ tasks:
2121
group-by: all
2222
unique-kinds: false
2323
set-name: null
24+
with-attributes:
25+
# exclude free-threaded python until it is officially supported
26+
python: ["314", "313", "312", "311", "310", "39"]
2427
fetches:
2528
test:
2629
- artifact: coverage.py{matrix[python]}

taskcluster/kinds/complete/kind.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ tasks:
2121
group-by: all
2222
set-name: false
2323
unique-kinds: false
24+
with-attributes:
25+
# exclude free-threaded python until it is officially supported
26+
python: ["314", "313", "312", "311", "310", "39"]
27+
# needs to be added explicitly until we can drop the `with-attributes` above
28+
dependencies:
29+
check-type: check-type

taskcluster/kinds/test/kind.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ tasks:
4141
description: "Run unit tests with py{matrix[python]}"
4242
matrix:
4343
set-name: "unit-py{matrix[python]}"
44-
substitution-fields: [description, run.command, treeherder, worker]
44+
substitution-fields: [description, run.command, treeherder, worker, attributes]
4545
python: ["314t", "314", "313", "312", "311", "310", "39"]
46+
attributes:
47+
python: "{matrix[python]}"
4648
worker:
4749
artifacts:
4850
- type: file

0 commit comments

Comments
 (0)