Skip to content

Commit 7cc609f

Browse files
authored
Run tests against Python 3.9 and Django 3.2 LTS (#285)
* Run tests against Python 3.9 * Run tests against Django 3.2 LTS * Fix tests on Python 3.4
1 parent 7602447 commit 7cc609f

File tree

4 files changed

+21
-14
lines changed

4 files changed

+21
-14
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ python:
77
- "3.6"
88
- "3.7"
99
- "3.8"
10+
- "3.9"
1011

1112
install:
1213
- pip install tox tox-travis

README.md

+1-1
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, 3.7, and 3.8.
10+
The AWS X-Ray SDK for Python is compatible with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, and 3.9.
1111

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

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'Programming Language :: Python :: 3.6',
4242
'Programming Language :: Python :: 3.7',
4343
'Programming Language :: Python :: 3.8',
44+
'Programming Language :: Python :: 3.9',
4445
],
4546

4647
install_requires=[

tox.ini

+18-13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37,38}-default
4-
py{35,36,37,38}-aiohttp2
5-
py{35,36,37,38}-django22
6-
py{36,37,38}-django30
7-
py{36,37,38}-django31
3+
py{27,34,35,36,37,38,39}-default
4+
py{35,36,37,38,39}-aiohttp2
5+
py{35,36,37,38,39}-django22
6+
py{36,37,38,39}-django30
7+
py{36,37,38,39}-django31
8+
py{36,37,38,39}-django32
89
coverage-report
910

1011
skip_missing_interpreters = True
@@ -24,7 +25,8 @@ deps =
2425
django22: Django==2.2.*
2526
django30: Django==3.0.*
2627
django31: Django==3.1.*
27-
django{22,30,31}: django-fake-model
28+
django32: Django==3.2.*
29+
django{22,30,31,32}: django-fake-model
2830
pynamodb >= 3.3.1
2931
psycopg2
3032
pg8000
@@ -35,20 +37,23 @@ deps =
3537

3638
# Python2 only deps
3739
py{27}: enum34
38-
40+
3941
# pymysql deps
4042
py{27,34,35}: pymysql < 1.0.0
41-
py{36,37,38}: pymysql >= 1.0.0
43+
py{36,37,38,39}: pymysql >= 1.0.0
44+
45+
# Python3.4 only deps
46+
py34: typing >= 3.7.4.3
4247

4348
# Python3.5+ only deps
44-
py{35,36,37,38}: aiohttp >= 3.0.0
45-
py{35,36,37,38}: pytest-aiohttp
46-
py{35,36,37,38}: aiobotocore >= 0.10.0
49+
py{35,36,37,38,39}: aiohttp >= 3.0.0
50+
py{35,36,37,38,39}: pytest-aiohttp
51+
py{35,36,37,38,39}: aiobotocore >= 0.10.0
4752

4853
commands =
4954
py{27,34}-default: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/ext/django --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
50-
py{35,36,37,38}-default: coverage run --source aws_xray_sdk -m py.test --ignore tests/ext/django tests
51-
django{22,30,31}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
55+
py{35,36,37,38,39}-default: coverage run --source aws_xray_sdk -m py.test --ignore tests/ext/django tests
56+
django{22,30,31,32}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
5257
codecov
5358

5459
setenv =

0 commit comments

Comments
 (0)