Debian Codegraph @

tox-ci-py39.ini

raw
1 ; This tox config only exists to support running from Python 3.9.
2
3 [tox]
4 ; Hyperscan does not have wheels for PyPy 3.9.
5 envlist =
6 py39
7 py39-hyperscan
8 py39-re2
9 pypy39
10 isolated_build = True
11
12 [testenv]
13 commands = python -m unittest discover -t . -s tests/ {posargs}
14 package = wheel
15
16 [testenv:ci-base]
17 ; Placeholder env for base (only simple backend) for CI.
18
19 [testenv:ci-hyperscan]
20 ; Hyperscan env for CI.
21 extras = hyperscan
22 install_command = python -I -m pip install --only-binary=hyperscan {opts} {packages}
23
24 [testenv:ci-re2]
25 ; Re2 env for CI.
26 extras = google-re2
27 install_command = python -I -m pip install --only-binary=google-re2 {opts} {packages}
28
29 [testenv:py39-hyperscan]
30 extras = hyperscan
31 install_command = python -I -m pip install --only-binary=hyperscan {opts} {packages}
32
33 [testenv:py39-re2]
34 extras = google-re2
35 install_command = python -I -m pip install --only-binary=google-re2 {opts} {packages}
36
37 ;; Compiling hyperscan fails on PyPy 3.9.
38 ;[testenv:pypy39-hyperscan]
39 ;extras = hyperscan