-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
18 lines (17 loc) · 812 Bytes
/
tox.ini
File metadata and controls
18 lines (17 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
envlist = py39, py310, py311, py312, py313, py314
skip_missing_interpreters = true
# The library is imported from local source via the per-module `lib` symlink
# (tests/<module>/lib -> repo root), so tox must not build or install the
# package. The supported minimum is Python 3.9 (requires-python = ">=3.9"):
# below that, stdlib `zoneinfo` (time/db_sqlite/version) and parenthesized
# `with` statements (url/lftest) are unavailable, so 3.6-3.8 are not in the
# matrix.
no_package = true
[testenv]
# Fast tests of stdlib-only modules (e.g. db_sqlite) need no third-party deps.
# Add the runtime dependency of a module here once its test is introduced and
# the module imports it (e.g. psutil for psutil.py, requests for url.py).
deps =
commands =
python tools/run-unit-tests --no-container {posargs}