Skip to content

Commit

Permalink
Add support for using Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
tjanez authored and timabbott committed Jul 27, 2021
1 parent a699e14 commit 2729b3c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
dist: xenial
sudo: true

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
tests_require=test_requirements,
cmdclass={'test': ToxTest}
Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tmplocation = tempfile.mkdtemp()
venv_path = os.path.realpath(os.path.join(tmplocation,'srs_venv'))
clone_path = os.path.realpath(os.path.join(tmplocation,'clone_venv'))
versions = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9']
versions = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']

def clean():
if os.path.exists(tmplocation): shutil.rmtree(tmplocation)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37,py38,py39
envlist = py27,py34,py35,py36,py37,py38,py39,py310

[testenv]
commands = py.test -v []
Expand Down

0 comments on commit 2729b3c

Please sign in to comment.