Skip to content

Commit c6e42ec

Browse files
committed
Configure py314 tox environment for free-threading build compatibility
Set basepython to 'python' for the py314 environment to use whatever Python interpreter is available in PATH. This fixes the issue where tox cannot find the Python 3.14t (free-threading) interpreter, as GitHub Actions sets up the correct Python in PATH but tox's automatic interpreter discovery doesn't recognize the free-threading build.
1 parent e3eb38d commit c6e42ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ depends =
2323
py{310,311,312,313,314},pypy3: coverage-clean
2424
coverage-report: py{310,311,312,313,314},pypy3
2525

26+
[testenv:py314]
27+
basepython = python
28+
2629
[testenv:lint]
2730
skip_install = true
2831
deps =

0 commit comments

Comments
 (0)