Skip to content

Commit 91d2e42

Browse files
committed
chore(tox): Set PYTHONGIL from environment if found
1 parent 78a8878 commit 91d2e42

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ pass_env =
6060
USERNAME
6161
# Environment variables we check for
6262
NIPY_EXTRA_TESTS
63-
# Python variables
64-
PYTHON_GIL
6563
# Pass user color preferences through
6664
PY_COLORS
6765
FORCE_COLOR
@@ -71,7 +69,7 @@ pass_env =
7169
set_env =
7270
pre,dev: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
7371
pre,dev: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
74-
py313t: PYTHONGIL=0
72+
py313t: PYTHONGIL={env:PYTHONGIL:0}
7573
extras =
7674
test
7775

0 commit comments

Comments
 (0)