Skip to content

Commit d6ffb0e

Browse files
chuyang-dengChuyang Deng
and
Chuyang Deng
authored
change: drop py27, add py38 support (#132)
* change: drop py27, add py38 support * update py38 coverage config Co-authored-by: Chuyang Deng <[email protected]>
1 parent 0c0017e commit d6ffb0e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.coveragerc_py27 renamed to .coveragerc_py38

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ phases:
1212
# run unit tests
1313
- AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_SESSION_TOKEN=
1414
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI= AWS_DEFAULT_REGION=
15-
tox -e py27,py36,py37 -- test/unit
15+
tox -e py36,py37,py38 -- test/unit
1616

1717
# run local integ tests
1818
#- $(aws ecr get-login --no-include-email --region us-west-2)

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ phases:
3232
- tox -e flake8,twine
3333

3434
# run unit tests
35-
- tox -e py36,py37 test/unit
35+
- tox -e py36,py37,py38 test/unit
3636

3737
# define tags
3838
- GENERIC_CPU_TAG="$FRAMEWORK_VERSION-mxnet-cpu-$BUILD_ID"

0 commit comments

Comments
 (0)