1
1
[tox]
2
2
skip_missing_interpreters = True
3
3
envlist =
4
- py{27,34,35,36, 37,38,39,310,311}-core
4
+ py{37,38,39,310,311}-core
5
5
6
- ; Unavailable for python 2.7 & 3.4
7
- py{35,36,37,38,39,310,311}-ext-aiobotocore
6
+ py{37,38,39,310,311}-ext-aiobotocore
8
7
9
- ; Unavailable for python 2.7 & 3.4
10
- py{35,36,37,38,39,310,311}-ext-aiohttp
8
+ py{37,38,39,310,311}-ext-aiohttp
11
9
12
- py{27,34,35,36, 37,38,39,310,311}-ext-botocore
10
+ py{37,38,39,310,311}-ext-botocore
13
11
14
- py{27,34,35,36, 37,38,39,310,311}-ext-bottle
12
+ py{37,38,39,310,311}-ext-bottle
15
13
16
- ; Django2 (2.2+) is only for python 3.5 +
17
- py{35,36,37,38,39}-ext-django-2
14
+ py{37,38,39}-ext-django-2
18
15
19
- ; Django3 is only for python 3.6+
20
- py{36,37,38,39,310}-ext-django-3
16
+ py{37,38,39,310}-ext-django-3
21
17
22
18
; Django4 is only for python 3.8+
23
19
py{38,39,310,311}-ext-django-4
24
20
25
- py{27,34,35,36, 37,38,39,310,311}-ext-flask
21
+ py{37,38,39,310,311}-ext-flask
26
22
27
- py{27,34,35,36, 37,38,39,310,311}-ext-flask_sqlalchemy
23
+ py{37,38,39,310,311}-ext-flask_sqlalchemy
28
24
29
- py{27,34,35,36, 37,38,39,310,311}-ext-httplib
25
+ py{37,38,39,310,311}-ext-httplib
30
26
31
27
py{37,38,39,310,311}-ext-httpx
32
28
33
- py{27,34,35,36, 37,38,39,310,311}-ext-pg8000
29
+ py{37,38,39,310,311}-ext-pg8000
34
30
35
- py{27,34,35,36, 37,38,39,310,311}-ext-psycopg2
31
+ py{37,38,39,310,311}-ext-psycopg2
36
32
37
- py{27,34,35,36, 37,38,39,310,311}-ext-pymysql
33
+ py{37,38,39,310,311}-ext-pymysql
38
34
39
- py{27,34,35,36, 37,38,39,310,311}-ext-pynamodb
35
+ py{37,38,39,310,311}-ext-pynamodb
40
36
41
- py{27,34,35,36, 37,38,39,310,311}-ext-requests
37
+ py{37,38,39,310,311}-ext-requests
42
38
43
- py{27,34,35,36, 37,38,39,310,311}-ext-sqlalchemy
39
+ py{37,38,39,310,311}-ext-sqlalchemy
44
40
45
- py{27,34,35,36, 37,38,39,310,311}-ext-sqlalchemy_core
41
+ py{37,38,39,310,311}-ext-sqlalchemy_core
46
42
47
- py{27,34,35,36, 37,38,39,310,311}-ext-sqlite3
43
+ py{37,38,39,310,311}-ext-sqlite3
48
44
49
45
[testenv]
50
46
passenv = TOXENV CI CODECOV_*
@@ -59,16 +55,8 @@ deps =
59
55
; Packages common to all test environments
60
56
wrapt
61
57
62
- ; Python 2.7 only deps
63
- py{27}: enum34
64
- py{27}: mock
65
- py{27}: future
66
-
67
- ; Python 3.4 only deps
68
- py34: typing >= 3.7.4.3
69
-
70
58
; Python 3.5+ only deps
71
- py{35,36, 37,38,39,310,311}: pytest-asyncio
59
+ py{37,38,39,310,311}: pytest-asyncio
72
60
73
61
ext-aiobotocore: aiobotocore >= 0.10.0
74
62
ext-aiobotocore: pytest-asyncio
@@ -101,9 +89,7 @@ deps =
101
89
ext-django-4: Django >=4.0,<5.0
102
90
ext-django: django-fake-model
103
91
104
- py{27,34,35}-ext-pynamodb: pynamodb >=3.3.1,<4.4
105
- py{27,34,35}-ext-pynamodb: botocore <1.28
106
- py{36,37,38,39,310,311}-ext-pynamodb: pynamodb >=3.3.1
92
+ py{37,38,39,310,311}-ext-pynamodb: pynamodb >=3.3.1
107
93
108
94
ext-psycopg2: psycopg2
109
95
ext-psycopg2: testing.postgresql
@@ -112,8 +98,7 @@ deps =
112
98
ext-pg8000: testing.postgresql
113
99
114
100
ext-pymysql: testing.mysqld
115
- py{27,34,35}-ext-pymysql: pymysql < 1.0.0
116
- py{36,37,38,39,310,311}-ext-pymysql: pymysql >= 1.0.0
101
+ py{37,38,39,310,311}-ext-pymysql: pymysql >= 1.0.0
117
102
118
103
setenv =
119
104
DJANGO_SETTINGS_MODULE = tests.ext.django.app.settings
@@ -123,9 +108,7 @@ setenv =
123
108
commands =
124
109
coverage erase
125
110
126
- ; Async methods are only available for python 3.5+
127
- py{27,34}-core: coverage run --append --source aws_xray_sdk -m pytest --ignore tests/ext --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
128
- py{35,36,37,38,39,310,311}-core: coverage run --append --source aws_xray_sdk -m pytest --ignore tests/ext
111
+ py{37,38,39,310,311}-core: coverage run --append --source aws_xray_sdk -m pytest --ignore tests/ext
129
112
130
113
ext-aiobotocore: coverage run --append --source aws_xray_sdk -m pytest tests/ext/aiobotocore
131
114
@@ -157,9 +140,7 @@ commands =
157
140
158
141
ext-sqlalchemy: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlalchemy
159
142
160
- ; sqlalchemy_core - 2.0 style execution is not supported for python 3.4 & 3.5
161
- py{27,36,37,38,39,310,311}-ext-sqlalchemy_core: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlalchemy_core
162
- py{34,35}-ext-sqlalchemy_core: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlalchemy_core --ignore tests/ext/sqlalchemy_core/test_sqlalchemy_core_2.py
143
+ py{37,38,39,310,311}-ext-sqlalchemy_core: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlalchemy_core
163
144
164
145
ext-sqlite3: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlite3
165
146
0 commit comments