Skip to content

Commit 95713eb

Browse files
committed
remove python versions 2.7,3.4,3.5,3.6 from tox.ini
1 parent 2ff005b commit 95713eb

File tree

1 file changed

+23
-42
lines changed

1 file changed

+23
-42
lines changed

tox.ini

Lines changed: 23 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,46 @@
11
[tox]
22
skip_missing_interpreters = True
33
envlist =
4-
py{27,34,35,36,37,38,39,310,311}-core
4+
py{37,38,39,310,311}-core
55

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
87

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
119

12-
py{27,34,35,36,37,38,39,310,311}-ext-botocore
10+
py{37,38,39,310,311}-ext-botocore
1311

14-
py{27,34,35,36,37,38,39,310,311}-ext-bottle
12+
py{37,38,39,310,311}-ext-bottle
1513

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
1815

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
2117

2218
; Django4 is only for python 3.8+
2319
py{38,39,310,311}-ext-django-4
2420

25-
py{27,34,35,36,37,38,39,310,311}-ext-flask
21+
py{37,38,39,310,311}-ext-flask
2622

27-
py{27,34,35,36,37,38,39,310,311}-ext-flask_sqlalchemy
23+
py{37,38,39,310,311}-ext-flask_sqlalchemy
2824

29-
py{27,34,35,36,37,38,39,310,311}-ext-httplib
25+
py{37,38,39,310,311}-ext-httplib
3026

3127
py{37,38,39,310,311}-ext-httpx
3228

33-
py{27,34,35,36,37,38,39,310,311}-ext-pg8000
29+
py{37,38,39,310,311}-ext-pg8000
3430

35-
py{27,34,35,36,37,38,39,310,311}-ext-psycopg2
31+
py{37,38,39,310,311}-ext-psycopg2
3632

37-
py{27,34,35,36,37,38,39,310,311}-ext-pymysql
33+
py{37,38,39,310,311}-ext-pymysql
3834

39-
py{27,34,35,36,37,38,39,310,311}-ext-pynamodb
35+
py{37,38,39,310,311}-ext-pynamodb
4036

41-
py{27,34,35,36,37,38,39,310,311}-ext-requests
37+
py{37,38,39,310,311}-ext-requests
4238

43-
py{27,34,35,36,37,38,39,310,311}-ext-sqlalchemy
39+
py{37,38,39,310,311}-ext-sqlalchemy
4440

45-
py{27,34,35,36,37,38,39,310,311}-ext-sqlalchemy_core
41+
py{37,38,39,310,311}-ext-sqlalchemy_core
4642

47-
py{27,34,35,36,37,38,39,310,311}-ext-sqlite3
43+
py{37,38,39,310,311}-ext-sqlite3
4844

4945
[testenv]
5046
passenv = TOXENV CI CODECOV_*
@@ -59,16 +55,8 @@ deps =
5955
; Packages common to all test environments
6056
wrapt
6157

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-
7058
; 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
7260

7361
ext-aiobotocore: aiobotocore >= 0.10.0
7462
ext-aiobotocore: pytest-asyncio
@@ -101,9 +89,7 @@ deps =
10189
ext-django-4: Django >=4.0,<5.0
10290
ext-django: django-fake-model
10391

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
10793

10894
ext-psycopg2: psycopg2
10995
ext-psycopg2: testing.postgresql
@@ -112,8 +98,7 @@ deps =
11298
ext-pg8000: testing.postgresql
11399

114100
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
117102

118103
setenv =
119104
DJANGO_SETTINGS_MODULE = tests.ext.django.app.settings
@@ -123,9 +108,7 @@ setenv =
123108
commands =
124109
coverage erase
125110

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
129112

130113
ext-aiobotocore: coverage run --append --source aws_xray_sdk -m pytest tests/ext/aiobotocore
131114

@@ -157,9 +140,7 @@ commands =
157140

158141
ext-sqlalchemy: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlalchemy
159142

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
163144

164145
ext-sqlite3: coverage run --append --source aws_xray_sdk -m pytest tests/ext/sqlite3
165146

0 commit comments

Comments
 (0)