All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 envlist = {,ci-}py{36,37,38,39,310,py3},fuzz
5 setenv = PYTHONPATH = {toxinidir}/src
7 # We use `recreate=True` because otherwise, on the second run of `tox -e py`,
8 # the `no_python2` tests would run with the Python2 extra dependencies installed.
9 # See https://github.com/psf/black/issues/2367.
12 -r{toxinidir}/test_requirements.txt
13 ; parallelization is disabled on CI because pytest-dev/pytest-xdist#620 occurs too frequently
14 ; local runs can stay parallelized since they aren't rolling the dice so many times as like on CI
18 pytest tests --run-optional no_python2 \
19 --run-optional no_jupyter \
20 !ci: --numprocesses auto \
22 pip install -e .[d,python2]
23 pytest tests --run-optional python2 \
24 --run-optional no_jupyter \
25 !ci: --numprocesses auto \
26 --cov --cov-append {posargs}
27 pip install -e .[jupyter]
28 pytest tests --run-optional jupyter \
30 !ci: --numprocesses auto \
31 --cov --cov-append {posargs}
35 setenv = PYTHONPATH = {toxinidir}/src
39 -r{toxinidir}/test_requirements.txt
40 ; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
41 ; this seems to cause tox to wait forever
42 ; remove this when pypy releases the bugfix
46 pytest tests --run-optional no_python2 \
47 --run-optional no_jupyter \
48 !ci: --numprocesses auto \
49 ci: --numprocesses 1 \
51 pip install -e .[jupyter]
52 pytest tests --run-optional jupyter \
54 !ci: --numprocesses auto \
55 ci: --numprocesses 1 \
56 --cov --cov-append {posargs}
62 -r{toxinidir}/test_requirements.txt
65 ; lark-parser's version is set due to a bug in hypothesis. Once it solved, that would be fixed.