Skip to content

Commit f61979e

Browse files
committed
Bumping up python versions
Signed-off-by: Simo Sorce <simo@redhat.com>
1 parent 8df33b6 commit f61979e

3 files changed

Lines changed: 63 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,72 @@
77
"strategy": {
88
"fail-fast": false,
99
"matrix": {
10-
"python": [
11-
"3.6",
12-
"3.7",
13-
"3.8",
14-
"3.9",
10+
"name": [
11+
"python-38",
12+
"python-39",
13+
"python-310",
14+
"python-311",
15+
"pep8",
16+
"py3pep8",
17+
"doc",
18+
],
19+
"include": [
20+
{
21+
"name": "python-38",
22+
"python": "3.8",
23+
"toxenv": "py38",
24+
},
25+
{
26+
"name": "python-39",
27+
"python": "3.9",
28+
"toxenv": "py39",
29+
},
30+
{
31+
"name": "python-310",
32+
"python": "3.10",
33+
"toxenv": "py310",
34+
},
35+
{
36+
"name": "python-311",
37+
"python": "3.11",
38+
"toxenv": "py311",
39+
},
40+
{
41+
"name": "pep8",
42+
"python": "3.10",
43+
"toxenv": "pep8",
44+
"arch": "x64",
45+
},
46+
{
47+
"name": "py3pep8",
48+
"python": "3.10",
49+
"toxenv": "pep8",
50+
"arch": "x64",
51+
},
52+
{
53+
"name": "doc",
54+
"python": "3.10",
55+
"toxenv": "doc",
56+
"arch": "x64",
57+
},
1558
],
1659
},
1760
},
1861
"steps": [
19-
{ "uses": "actions/checkout@v2" },
62+
{ "uses": "actions/checkout@v4" },
2063
{
21-
"uses": "actions/setup-python@v2",
64+
"uses": "actions/setup-python@v5",
2265
"with": { "python-version": "${{ matrix.python }}"},
2366
},
67+
{ "run": "pip --version" },
2468
{ "run": "pip install tox" },
25-
{ "run": "tox" },
69+
{ "run": "tox --version" },
70+
{
71+
"env": {
72+
"TOXENV": "${{matrix.toxenv}}"
73+
},
74+
"run": "tox",
75+
},
2676
],
2777
},
2878
},

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ def read(fname):
6767
"License :: OSI Approved :: MIT License",
6868
"Operating System :: OS Independent",
6969
"Programming Language :: Python :: 3",
70-
"Programming Language :: Python :: 3.6",
71-
"Programming Language :: Python :: 3.7",
7270
"Programming Language :: Python :: 3.8",
7371
"Programming Language :: Python :: 3.9",
72+
"Programming Language :: Python :: 3.10",
73+
"Programming Language :: Python :: 3.11",
7474
"Topic :: Internet :: Proxy Servers",
7575
],
7676
)

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.3.1
3-
envlist = py36,py37,py38,py39,pep8,py3pep8,doc
3+
envlist = py38,py39,py310,py311,pep8,py3pep8,doc
44
skip_missing_interpreters = true
55

66
[testenv]
@@ -43,5 +43,5 @@ exclude = .tox,*.egg,dist,build
4343
show-source = true
4444
max-line-length = 79
4545
application-import-names = kdcproxy
46-
# N815 is camelCase names; N813 is for changing case on import
47-
ignore = N815, N813
46+
# N815 is camelCase names; N813 is for changing case on import; N818 Exception name
47+
ignore = N815, N813, N818

0 commit comments

Comments
 (0)