Skip to content

Commit 0795787

Browse files
authored
feat: Add more versions of frameworks (getsentry#326)
* feat: Add more version of frameworks * fix: Bottle 0.13 is not released yet * fix: Fix schema * fix: Fix Django tests * fix: Skip broken celery test in 4.3 * fix: Remove dev version of Bottle * fix: Do not test Django 2.2+ with Python 3.6- Django 2.2 still supports 3.5 but it doesn't seem to work in Travis due to an outdated sqlite version. Django dev requires 3.6+ but doesn't actually work with 3.6 in Travis for the same reason.
1 parent d8ca2f3 commit 0795787

File tree

2 files changed

+29
-16
lines changed

2 files changed

+29
-16
lines changed

tests/integrations/celery/test_celery.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ def dummy_task(x, y):
111111
assert stack_lengths == [2, 2]
112112

113113

114-
@pytest.mark.skipif(
115-
(4, 2, 0) <= VERSION < (4, 2, 3),
114+
@pytest.mark.xfail(
115+
(4, 2, 0) <= VERSION,
116+
strict=True,
116117
reason="https://github.com/celery/celery/issues/4661",
117118
)
118119
def test_retry(celery, capture_events):

tox.ini

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,61 @@
55

66
[tox]
77
envlist =
8-
# core
8+
# === Core ===
99
py{2.7,3.4,3.5,3.6,3.7,3.8}
1010
pypy
1111

12-
# integrations
13-
{py3.7,py3.8}-django-dev
12+
13+
# === Integrations ===
14+
# Formatting: 1 blank line between different integrations.
15+
16+
py3.7-django-{2.2,dev}
1417
{py3.5,py3.6,py3.7}-django-{2.0,2.1}
1518
{pypy,py2.7,py3.5}-django-1.11
1619
{pypy,py2.7,py3.4,py3.5}-django-{1.8,1.9,1.10}
1720
{pypy,py2.7,py3.4}-django-1.7
1821
{pypy,py2.7}-django-1.6
1922

2023
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-flask-{1.0,0.11,0.12,dev}
24+
2125
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-bottle-0.12
2226

2327
{py3.5,py3.6,py3.7}-sanic-{0.8,18,19}
2428

25-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-celery-{4.1,4.2}
29+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-celery-{4.1,4.2,4.3}
2630
{pypy,py2.7}-celery-3
2731

28-
{py2.7,py3.7}-requests
29-
32+
# The aws_lambda tests deploy to the real AWS and have their own matrix of Python versions.
3033
py3.7-aws_lambda
3134

32-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-pyramid-{1.3,1.4,1.5,1.6,1.7,1.8,1.9}
35+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-pyramid-{1.3,1.4,1.5,1.6,1.7,1.8,1.9,1.10}
3336

3437
{pypy,py2.7,py3.5,py3.6}-rq-{0.6,0.7,0.8,0.9,0.10,0.11}
35-
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-rq-{0.12,0.13}
38+
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8}-rq-{0.12,0.13,1.0}
39+
40+
py3.7-aiohttp-{3.5,3.6}
3641

37-
py3.7-aiohttp
3842
{py3.7,py3.8}-tornado-{5,6}
3943

44+
{py2.7,py3.7}-requests
45+
4046
[testenv]
4147
deps =
4248
-r test-requirements.txt
4349

44-
django-{1.11,2.0,2.1}: djangorestframework>=3.0.0,<4.0.0
50+
django-{1.11,2.0,2.1,2.2}: djangorestframework>=3.0.0,<4.0.0
4551

4652
django-{1.6,1.7,1.8}: pytest-django<3.0
47-
django-{1.9,1.10,1.11,2.0,2.1,dev}: pytest-django>=3.0
53+
django-{1.9,1.10,1.11,2.0,2.1,2.2,dev}: pytest-django>=3.0
4854
django-1.6: Django>=1.6,<1.7
4955
django-1.7: Django>=1.7,<1.8
5056
django-1.8: Django>=1.8,<1.9
5157
django-1.9: Django>=1.9,<1.10
5258
django-1.10: Django>=1.10,<1.11
5359
django-1.11: Django>=1.11,<1.12
5460
django-2.0: Django>=2.0,<2.1
55-
django-2.1: Django>=2.0,<2.1
61+
django-2.1: Django>=2.1,<2.2
62+
django-2.2: Django>=2.2,<2.3
5663
django-dev: git+https://github.com/django/django.git#egg=Django
5764

5865
flask: flask-login
@@ -62,6 +69,7 @@ deps =
6269
flask-dev: git+https://github.com/pallets/flask.git#egg=flask
6370

6471
bottle-0.12: bottle>=0.12,<0.13
72+
bottle-dev: git+https://github.com/bottlepy/bottle#egg=bottle
6573

6674
sanic-0.8: sanic>=0.8,<0.9
6775
sanic-18: sanic>=18.0,<19.0
@@ -72,6 +80,7 @@ deps =
7280
celery-3: Celery>=3.1,<4.0
7381
celery-4.1: Celery>=4.1,<4.2
7482
celery-4.2: Celery>=4.2,<4.3
83+
celery-4.3: Celery>=4.3,<4.4
7584

7685
requests: requests>=2.0
7786

@@ -84,9 +93,10 @@ deps =
8493
pyramid-1.7: pyramid>=1.7,<1.8
8594
pyramid-1.8: pyramid>=1.8,<1.9
8695
pyramid-1.9: pyramid>=1.9,<1.10
96+
pyramid-1.10: pyramid>=1.10,<1.11
8797

8898
rq-{0.6,0.7,0.8,0.9,0.10,0.11,0.12}: fakeredis<1.0
89-
rq-0.13: fakeredis>=1.0
99+
rq-{0.13,1.0}: fakeredis>=1.0
90100
# fakeredis 1.0 is broken with redis 3.2
91101
rq: redis<3.2.0
92102

@@ -98,8 +108,10 @@ deps =
98108
rq-0.11: rq>=0.11,<0.12
99109
rq-0.12: rq>=0.12,<0.13
100110
rq-0.13: rq>=0.13,<0.14
111+
rq-1.0: rq>=1.0,<1.1
101112

102-
aiohttp: aiohttp>=3.4.0,<3.5.0
113+
aiohttp-3.4: aiohttp>=3.4.0,<3.5.0
114+
aiohttp-3.5: aiohttp>=3.5.0,<3.6.0
103115
aiohttp: pytest-aiohttp
104116

105117
tornado-5: tornado>=5,<6

0 commit comments

Comments
 (0)