debugpy/tox.ini
Pavel Minaev 3a9f7d64c4 Assorted fixes for Python 3.10 support:
Split test/requirements.txt into two different lists, one for py2, and the other for py3; update package versions in py3 list as needed to support py3.10.

Fix usage of deprecated threading functions getName(), setName(), isDaemon(), and currentThread().

Refactor test_invalid_breakpoints to be more declarative to handle Python version differences more easily and clearly, and fix it for py3.10.

Disable Django tests on py3.10 (#689).

Disable gevent tests on py3.10 (#688).
2021-08-06 07:12:13 -03:00

17 lines
380 B
INI

[tox]
envlist = py{27,35,36,37,38,39,310}{,-cov}
[testenv]
deps = -rtests/requirements.txt
passenv = DEBUGPY_LOG_DIR DEBUGPY_TESTS_FULL TRAVIS
setenv =
DEBUGPY_TEST=1
commands =
!cov: pytest {posargs}
cov: pytest --cov --cov-append --cov-config=.coveragerc {posargs}
[testenv:py27]
deps = -rtests/requirements27.txt
[testenv:py35]
deps = -rtests/requirements35.txt