Skip to content

Commit 1db5525

Browse files
authored
feature: Add support for py39 and py38 (#120)
1 parent fff4190 commit 1db5525

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed
File renamed without changes.
File renamed without changes.

.coveragerc_py27 renamed to .coveragerc_py39

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ timid = True
55
[report]
66
exclude_lines =
77
pragma: no cover
8-
pragma: py2 no cover
9-
if six.PY3
10-
elif six.PY3
8+
pragma: py3 no cover
9+
if six.PY2
10+
elif six.PY2
1111

1212
partial_branches =
1313
pragma: no cover
14-
pragma: py2 no cover
14+
pragma: py3 no cover
1515
if six.PY3
1616
elif six.PY3
1717

buildspec-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ phases:
2222
- tox -e black-check
2323

2424
# run unit tests
25-
- tox -e py36,py37 -- test/unit
25+
- tox -e py38,py39,py310 -- test/unit
2626

2727
# build dummy container
2828
- python3 setup.py sdist
@@ -37,7 +37,7 @@ phases:
3737
- cd ../..
3838

3939
# run local integration tests
40-
- IGNORE_COVERAGE=- tox -e py36,py37 -- test/integration/local
40+
- IGNORE_COVERAGE=- tox -e py38,py39,py310 -- test/integration/local
4141

4242
# publish the release to github
4343
- git-release --publish

buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ phases:
2020
- tox -e twine
2121

2222
# run unit tests
23-
- tox -e py36,py37 -- test/unit
23+
- tox -e py38,py39,py310 -- test/unit
2424

2525
# build dummy container
2626
- python setup.py sdist
@@ -35,4 +35,4 @@ phases:
3535
- cd ../..
3636

3737
# run local integration tests
38-
- IGNORE_COVERAGE=- tox -e py36,py37 -- test/integration/local
38+
- IGNORE_COVERAGE=- tox -e py38,py39,py310 -- test/integration/local

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ def read_version():
5656
"Natural Language :: English",
5757
"License :: OSI Approved :: Apache Software License",
5858
"Programming Language :: Python",
59-
"Programming Language :: Python :: 3.6",
60-
"Programming Language :: Python :: 3.7",
59+
"Programming Language :: Python :: 3.8",
60+
"Programming Language :: Python :: 3.9",
61+
"Programming Language :: Python :: 3.10",
6162
],
6263
install_requires=required_packages,
6364
extras_require={

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = black-format,flake8,pylint,twine,py36,py37
7+
envlist = black-format,flake8,pylint,twine,py38,py39,py310
88

99
skip_missing_interpreters = False
1010

0 commit comments

Comments
 (0)