Update python versions used for testing
Signed-off-by: Simo Sorce <simo@redhat.com>
Simo Sorce authored 2 years ago
Simo Sorce committed 2 years ago
17 | 17 |
"python-37",
|
18 | 18 |
"python-38",
|
19 | 19 |
"python-39",
|
|
20 |
"python-310",
|
20 | 21 |
"doc",
|
21 | 22 |
"sphinx",
|
22 | 23 |
"lint",
|
|
48 | 49 |
"arch": "x64",
|
49 | 50 |
},
|
50 | 51 |
{
|
|
52 |
"name": "python-310",
|
|
53 |
"python": "3.10",
|
|
54 |
"toxenv": "py310",
|
|
55 |
"arch": "x64",
|
|
56 |
},
|
|
57 |
{
|
51 | 58 |
"name": "doc",
|
52 | |
"python": "3.9",
|
|
59 |
"python": "3.10",
|
53 | 60 |
"toxenv": "doc",
|
54 | 61 |
"arch": "x64",
|
55 | 62 |
},
|
56 | 63 |
{
|
57 | 64 |
"name": "sphinx",
|
58 | |
"python": "3.9",
|
|
65 |
"python": "3.10",
|
59 | 66 |
"toxenv": "sphinx",
|
60 | 67 |
"arch": "x64",
|
61 | 68 |
},
|
62 | 69 |
{
|
63 | 70 |
"name": "lint",
|
64 | |
"python": "3.9",
|
|
71 |
"python": "3.10",
|
65 | 72 |
"toxenv": "lint",
|
66 | 73 |
"arch": "x64",
|
67 | 74 |
},
|
68 | 75 |
{
|
69 | 76 |
"name": "pep8",
|
70 | |
"python": "3.9",
|
|
77 |
"python": "3.10",
|
71 | 78 |
"toxenv": "pep8",
|
72 | 79 |
"arch": "x64",
|
73 | 80 |
},
|
17 | 17 |
'Programming Language :: Python :: 3.7',
|
18 | 18 |
'Programming Language :: Python :: 3.8',
|
19 | 19 |
'Programming Language :: Python :: 3.9',
|
|
20 |
'Programming Language :: Python :: 3.10',
|
20 | 21 |
'Intended Audience :: Developers',
|
21 | 22 |
'Topic :: Security',
|
22 | 23 |
'Topic :: Software Development :: Libraries :: Python Modules'
|
0 | 0 |
[tox]
|
1 | |
envlist = lint,py36,py37,py38,py39,pep8,doc,sphinx
|
|
1 |
envlist = lint,py36,py37,py38,py39,py310,pep8,doc,sphinx
|
2 | 2 |
skip_missing_interpreters = true
|
3 | 3 |
|
4 | 4 |
[testenv]
|
|
14 | 14 |
{envpython} -m coverage report -m
|
15 | 15 |
|
16 | 16 |
[testenv:lint]
|
17 | |
basepython = python3.9
|
|
17 |
basepython = python3.10
|
18 | 18 |
deps =
|
19 | 19 |
pylint
|
20 | 20 |
#sitepackages = True
|
|
22 | 22 |
{envpython} -m pylint -d c,r,i,W0613 -r n -f colorized --notes= --disable=star-args ./jwcrypto
|
23 | 23 |
|
24 | 24 |
[testenv:pep8]
|
25 | |
basepython = python3
|
|
25 |
basepython = python3.10
|
26 | 26 |
deps =
|
27 | 27 |
flake8
|
28 | 28 |
flake8-import-order
|
|
35 | 35 |
doc8
|
36 | 36 |
docutils
|
37 | 37 |
markdown
|
38 | |
basepython = python3
|
|
38 |
basepython = python3.10
|
39 | 39 |
commands =
|
40 | 40 |
doc8 --allow-long-titles README.md
|
41 | 41 |
markdown_py README.md -f {toxworkdir}/README.md.html
|
42 | 42 |
|
43 | 43 |
[testenv:sphinx]
|
44 | |
basepython = python3
|
|
44 |
basepython = python3.10
|
45 | 45 |
changedir = docs/source
|
46 | 46 |
deps =
|
47 | 47 |
sphinx
|