10000 chore(workflows/tests): add Python 3.13t to test matrix (#198) · metaopt/optree@763cdcd · GitHub
[go: up one dir, main page]

Skip to content

Commit 763cdcd

Browse files
authored
chore(workflows/tests): add Python 3.13t to test matrix (#198)
1 parent 89b1624 commit 763cdcd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
- "3.11"
5151
- "3.12"
5252
- "3.13"
53+
- "3.13t"
5354
- "pypy-3.9"
5455
- "pypy-3.10"
5556
- "pypy-3.11"
@@ -83,11 +84,11 @@ jobs:
8384
echo "::endgroup::"
8485
8586
export PYTHON_TAG="$(
86-
echo 'import sys; print(
87+
echo 'import sys, sysconfig; print(
8788
"{0.name[0]}p{1.major}{1.minor}{2}".format(
8889
sys.implementation,
8990
sys.version_info,
90-
getattr(sys, "abiflags", ""),
91+
getattr(sys, "abiflags", "t" if sysconfig.get_config_var("Py_GIL_DISABLED") else ""),
9192
).lower(),
9293
)' | ${{ env.PYTHON }} -
9394
)"

0 commit comments

Comments
 (0)
0