Skip to content

Commit c88d4f4

Browse files
committed
Add Flask 2.2 to test matrix, fix Flask 2.1
The Flask 2.1 test was actually testing Flask 2.0
1 parent 62c7fd6 commit c88d4f4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/constraints/flask-2.2.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Flask>=2.2,<2.3

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ envlist =
66
py38-docs
77
py{37,38,39,310}-dj32
88
py{38,39,310}-dj{40,41}
9-
py{37,38,39,310}-fl{012,10,11,20,21}
9+
py{37,38,39,310}-fl{012,10,11,20,21,22}
1010
py{37,38,39}-s20
1111
py{37,38,39,310}-s{21,22}
1212

@@ -26,7 +26,7 @@ setenv =
2626
deps =
2727
-rtests/requirements/default.txt
2828
dj{32,40,41}: -rtests/requirements/django.txt
29-
fl{012,10,11,20,21}: -rtests/requirements/flask.txt
29+
fl{012,10,11,20,21,22}: -rtests/requirements/flask.txt
3030
s20: -rtests/requirements/sanic-20.txt
3131
s{21,22}: -rtests/requirements/sanic.txt
3232
dj32: -ctests/constraints/django-3.2.txt
@@ -36,14 +36,15 @@ deps =
3636
fl10: -ctests/constraints/flask-1.0.txt
3737
fl11: -ctests/constraints/flask-1.1.txt
3838
fl20: -ctests/constraints/flask-2.0.txt
39-
fl21: -ctests/constraints/flask-2.0.txt
39+
fl21: -ctests/constraints/flask-2.1.txt
40+
fl22: -ctests/constraints/flask-2.2.txt
4041
s20: -ctests/constraints/sanic-20.txt
4142
s21: -ctests/constraints/sanic-21.txt
4243
s22: -ctests/constraints/sanic-22.txt
4344
commands =
4445
python --version
4546
dj{32,40,41}: pytest tests/core/ tests/django --nomigrations {posargs:}
46-
fl{012,10,11,20,21}: pytest tests/core/ tests/flask/ {posargs:}
47+
fl{012,10,11,20,21,22}: pytest tests/core/ tests/flask/ {posargs:}
4748
s{20,21,22}: pytest tests/core/ tests/sanic/ {posargs:}
4849

4950
[testenv:py38-docs]

0 commit comments

Comments
 (0)