Skip to content

Commit 43f06a3

Browse files
committed
Add support to python 3.10
1 parent 18685aa commit 43f06a3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy3"]
15+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
1616
os: [ubuntu-latest, macos-latest, windows-latest]
1717
exclude:
1818
- os: macos-latest

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get_packages(package):
5858
"Programming Language :: Python :: 3.7",
5959
"Programming Language :: Python :: 3.8",
6060
"Programming Language :: Python :: 3.9",
61+
"Programming Language :: Python :: 3.10",
6162
"Programming Language :: Python :: Implementation :: PyPy",
6263
"Topic :: Utilities",
6364
],

tox.ini

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 3.4.0
33
envlist =
4-
py{36,37,38,39,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
4+
py{36,37,38,39,310,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
55
lint
66
skip_missing_interpreters = True
77

@@ -11,6 +11,7 @@ python =
1111
3.7: py37-{base,cryptography-only,pycryptodome-norsa,compatibility}
1212
3.8: py38-{base,cryptography-only,pycryptodome-norsa,compatibility}
1313
3.9: py39-{base,cryptography-only,pycryptodome-norsa,compatibility}
14+
3.10: py310-{base,cryptography-only,pycryptodome-norsa,compatibility}
1415
pypy3: pypy3-{base,cryptography-only,pycryptodome-norsa,compatibility}
1516

1617
[testenv:basecommand]
@@ -56,7 +57,7 @@ extras =
5657
compatibility: {[testenv:compatibility]extras}
5758

5859
[testenv:lint]
59-
basepython = python3.8
60+
basepython = python3.10
6061
skip_install= True
6162
deps =
6263
flake8
@@ -69,7 +70,7 @@ commands =
6970

7071

7172
[testenv:lintfix]
72-
basepython = python3.8
73+
basepython = python3.10
7374
skip_install= True
7475
deps =
7576
isort

0 commit comments

Comments
 (0)