Skip to content

Commit f9a4d00

Browse files
authored
Merge pull request #186 from michael-k/py38
Add support for Python 3.8
2 parents 9cfdfdc + a080d65 commit f9a4d00

File tree

4 files changed

+23
-9
lines changed

4 files changed

+23
-9
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- "3.5"
77
- "3.6"
88
- "3.7"
9+
- "3.8"
910

1011
install:
1112
- pip install tox

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Installing
99

10-
The AWS X-Ray SDK for Python is compatible with Python 2.7, 3.4, 3.5, 3.6, and 3.7.
10+
The AWS X-Ray SDK for Python is compatible with Python 2.7, 3.4, 3.5, 3.6, 3.7, and 3.8.
1111

1212
Install the SDK using the following command (the SDK's non-testing dependencies will be installed).
1313

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Programming Language :: Python :: 3.4',
4040
'Programming Language :: Python :: 3.5',
4141
'Programming Language :: Python :: 3.6',
42+
'Programming Language :: Python :: 3.7',
43+
'Programming Language :: Python :: 3.8',
4244
],
4345

4446
install_requires=[

tox.ini

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37}
4-
py{35,36,37}-aiohttp2
3+
py{27,34,35,36,37,38}
4+
py{35,36,37,38}-aiohttp2
55
coverage-report
66

77
skip_missing_interpreters = True
@@ -29,14 +29,14 @@ deps =
2929
py{27}: enum34
3030

3131
# Python3.5+ only deps
32-
py{35,36,37}: aiohttp >= 3.0.0
33-
py{35,36,37}: pytest-aiohttp
34-
py{35,36,37}: aiobotocore >= 0.10.0
32+
py{35,36,37,38}: aiohttp >= 3.0.0
33+
py{35,36,37,38}: pytest-aiohttp
34+
py{35,36,37,38}: aiobotocore >= 0.10.0
3535

3636
commands =
3737
py{27,34}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
3838
codecov
39-
py{35,36,37}: coverage run --source aws_xray_sdk -m py.test tests
39+
py{35,36,37,38}: coverage run --source aws_xray_sdk -m py.test tests
4040
codecov
4141

4242
setenv =
@@ -77,13 +77,24 @@ deps =
7777
commands =
7878
py{37}: coverage run --source aws_xray_sdk -m py.test tests/ext/aiohttp --ignore tests/ext/aiohttp/test_client.py
7979

80+
[testenv:py38-aiohttp2]
81+
deps =
82+
pytest > 5.2.0
83+
aiohttp >= 3.6
84+
pytest-aiohttp
85+
botocore
86+
coverage
87+
88+
commands =
89+
py{38}: coverage run --source aws_xray_sdk -m py.test tests/ext/aiohttp --ignore tests/ext/aiohttp/test_client.py
90+
8091
[testenv:coverage-report]
8192
deps = coverage
8293
skip_install = true
8394
commands =
8495
# might need to add coverage combine at some point
85-
py{37}: coverage report
86-
py{37}: coverage html
96+
py{38}: coverage report
97+
py{38}: coverage html
8798

8899
[flake8]
89100
max-line-length=120

0 commit comments

Comments
 (0)