-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathtox.ini
More file actions
19 lines (17 loc) · 795 Bytes
/
Copy pathtox.ini
File metadata and controls
19 lines (17 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tox]
envlist = py39,py310,py311,py312,py313,py314,py313t,py314t
[testenv]
deps=
-r{toxinidir}/requirements-test.txt
commands=
pytest
# Do not export PYTHON_GIL=0 as environment variable before running tox,
# that variable is applied to the Python interpreter that launches tox
# and not tests. It may cause tox to fail with an error like this:
# Fatal Python error: config_read_gil: Disabling the GIL is not supported by this build
# Python runtime state: preinitialized
[testenv:py313t,py314t]
setenv =
# Enforce that the GIL is disabled. In case some dependency
# tries to silently turn the GIL back on.
PYTHON_GIL = 0