|
1 | 1 | [tox]
|
2 | 2 | minversion=1.8
|
3 |
| -envlist = {py3.6,py3.7,py3.8,py3.9},py3-httpretty,py3-requests-mock,py3-responses,pep8,docs |
| 3 | +envlist = {py3.8,py3.9,py3.10,py3.11,py3.12},py3-httpretty,py3-requests-mock,py3-responses,pep8,docs |
4 | 4 | skip_missing_interpreters=True
|
5 | 5 |
|
6 | 6 | [testenv]
|
7 | 7 | basepython =
|
8 |
| - py27: python2.7 |
9 | 8 | pypy: pypy
|
10 | 9 | pypy3: pypy3
|
11 |
| - py35: python3.5 |
12 |
| - py3.6: python3.6 |
13 |
| - py3.7: python3.7 |
14 | 10 | py3.8: python3.8
|
15 | 11 | py3.9: python3.9
|
| 12 | + py3.10: python3.10 |
| 13 | + py3.11: python3.11 |
| 14 | + py3.12: python3.12 |
16 | 15 | pep8: python3
|
17 | 16 | docs: python3
|
18 | 17 | deps =
|
19 |
| - py27,pypy: -r{toxinidir}/tools/py2-test-requirements.txt |
20 |
| - pypy3,py35,py3.6,py3.7,py3.8,py3.9,docs: -r{toxinidir}/tools/test-requirements.txt |
| 18 | + pypy: -r{toxinidir}/tools/py2-test-requirements.txt |
| 19 | + pypy3,py3.8,py3.9,py3.10,py3.11,py3.12,docs: -r{toxinidir}/tools/test-requirements.txt |
21 | 20 | pep8: -r{toxinidir}/tools/pep8-requirements.txt
|
22 | 21 | docs: -r{toxinidir}/tools/docs-requirements.txt
|
23 | 22 | commands =
|
24 |
| - py27,pypy,pypy3,py35,py3.6,py3.7,py3.8,py3.9: pytest {toxinidir}/tests --cov-config=.coveragerc --cov=stackinabox {posargs} |
| 23 | + pypy,pypy3,py3.8,py3.9,py3.10,py3.11,py3.12: pytest {toxinidir}/tests --cov-config=.coveragerc --cov=stackinabox {posargs} |
25 | 24 | pep8: pycodestyle --exclude=.tox,dist,doc,docs,*env*,.*env*,build --ignore=E128,W504
|
26 | 25 | docs: sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
|
27 | 26 | docs: sphinx-build -b latex -d {envtmpdir}/doctrees docs docs/_build/latex
|
28 | 27 | docs: sphinx-build -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
|
29 | 28 | docs: doc8 --allow-long-titles docs/
|
30 | 29 | setenv =
|
31 |
| - pypy3,py35,py3.6,py3.7,py3.8,py3.9,py3-httpretty,py3-requests-mock,py3-responses: VIRTUAL_ENV={envdir} LC_ALL = en_US.utf-8 |
| 30 | + pypy3,py3.8,py3.9,py3.10,py3.11,py3.12,py3-httpretty,py3-requests-mock,py3-responses: VIRTUAL_ENV={envdir} LC_ALL = en_US.utf-8 |
32 | 31 |
|
33 | 32 | # Unfortunately the below doesn't seem to integrate well into the form above
|
34 | 33 | # but it's valuable for testing the setup with extra dependencies to make sure things install right
|
35 |
| -[testenv:py27-httpretty] |
36 |
| -basepython = python2.7 |
37 |
| -deps = .[httpretty] |
38 |
| -commands = python -c "import stackinabox.util.httpretty" |
39 |
| - |
40 | 34 | [testenv:py3-httpretty]
|
41 | 35 | basepython = python3
|
42 | 36 | deps = .[httpretty]
|
43 | 37 | commands = python -c "import stackinabox.util.httpretty"
|
44 | 38 | setenv ={envdir} LC_ALL = en_US.utf-8
|
45 | 39 |
|
46 |
| -[testenv:py27-requests-mock] |
47 |
| -basepython = python2.7 |
48 |
| -deps = .[requests-mock] |
49 |
| -commands = python -c "import stackinabox.util.requests_mock" |
50 |
| - |
51 | 40 | [testenv:py3-requests-mock]
|
52 | 41 | basepython = python3
|
53 | 42 | deps = .[requests-mock]
|
54 | 43 | commands = python -c "import stackinabox.util.requests_mock"
|
55 | 44 | setenv ={envdir} LC_ALL = en_US.utf-8
|
56 | 45 |
|
57 |
| -[testenv:py27-responses] |
58 |
| -basepython = python2.7 |
59 |
| -deps = .[responses] |
60 |
| -commands = python -c "import stackinabox.util.responses" |
61 |
| - |
62 | 46 | [testenv:py3-responses]
|
63 | 47 | basepython = python3
|
64 | 48 | deps = .[responses]
|
|
0 commit comments