Skip to content

Commit a4d0f6e

Browse files
authored
add support for python 3.11 (#35)
1 parent 6af950e commit a4d0f6e

File tree

5 files changed

+26
-31
lines changed

5 files changed

+26
-31
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ["3.7", "3.8", "3.9", "3.10"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2020

2121
steps:
2222
- uses: actions/checkout@v2

dev-requirements.txt

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
appdirs==1.4.4
2-
black==21.11b1
3-
click==7.1.2
4-
flake8==3.9.1
2+
black==23.3.0
3+
click==8.1.3
4+
flake8==6.0.0
55
isort==5.8.0
6-
mccabe==0.6.1
7-
mypy==0.812
8-
mypy-extensions==0.4.3
6+
mccabe==0.7.0
7+
mypy==1.3.0
8+
mypy-extensions==1.0.0
99
pathspec==0.9.0
1010
platformdirs==2.4.0
11-
pycodestyle==2.7.0
12-
pyflakes==2.3.1
13-
regex==2021.11.9
11+
pycodestyle==2.10.0
12+
pyflakes==3.0.1
13+
regex==2023.5.5
1414
toml==0.10.2
1515
tomli==1.2.2
16-
typed-ast==1.4.3
16+
typed-ast==1.5.4
17+
types-colorama==0.4.15.11
18+
types-docutils==0.20.0.1
19+
types-Pygments==2.15.0.1
20+
types-requests==2.30.0.0
21+
types-setuptools==67.7.0.2
22+
types-toml==0.10.8.6
23+
types-urllib3==1.26.25.13
1724
typing_extensions==4.0.0

enochecker_test/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import requests
99
from enochecker_core import CheckerInfoMessage
1010
from requests.adapters import HTTPAdapter
11-
from requests.packages.urllib3.util.retry import Retry
11+
from urllib3.util.retry import Retry
1212

1313

1414
def run_tests(host, port, service_address, test_methods):

requirements.txt

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
attrs==20.3.0
2-
certifi==2020.12.5
3-
chardet==4.0.0
4-
enochecker-core==0.10.0
5-
idna==2.10
6-
iniconfig==1.1.1
7-
jsons==1.4.2
8-
packaging==20.9
9-
pluggy==0.13.1
10-
py==1.10.0
11-
pyparsing==2.4.7
12-
pytest==6.2.5
13-
requests==2.25.1
14-
toml==0.10.2
15-
typish==1.9.2
16-
urllib3==1.26.4
1+
iniconfig==2.0.0
2+
packaging==23.1
3+
pluggy==1.0.0
4+
pytest==7.3.1

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setuptools.setup(
1111
name="enochecker_test",
12-
version="0.7.1",
12+
version="0.8.0",
1313
author="ldruschk",
1414
author_email="[email protected]",
1515
description="Library to help testing checker scripts based on enochecker",
@@ -32,11 +32,11 @@
3232
"License :: OSI Approved :: MIT License",
3333
# Specify the Python versions you support here. In particular, ensure
3434
# that you indicate whether you support Python 2, Python 3 or both.
35-
"Programming Language :: Python :: 3.7",
3635
"Programming Language :: Python :: 3.8",
3736
"Programming Language :: Python :: 3.9",
3837
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.11",
3939
],
4040
zip_safe=False, # This might be needed for reqirements.txt
41-
python_requires=">=3.7",
41+
python_requires=">=3.8",
4242
)

0 commit comments

Comments
 (0)