Skip to content

Commit f0fbf23

Browse files
committed
update test matrix; constrain markupsafe dep
1 parent a8e42b1 commit f0fbf23

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
vmImage: 'ubuntu-latest'
1818
strategy:
1919
matrix:
20-
Python37:
21-
python.version: '3.7'
2220
Python38:
2321
python.version: '3.8'
2422
Python39:
2523
python.version: '3.9'
24+
Python310:
25+
python.version: '3.10'
26+
Python311:
27+
python.version: '3.11'
2628
maxParallel: 4
2729

2830
steps:

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ versions.
6565

6666
Flask-PyMongo is tested against `supported versions
6767
<https://www.mongodb.com/support-policy>`_ of MongoDB, and Python
68-
and 3.6+. For the exact list of version combinations that are tested and
68+
and 3.8+. For the exact list of version combinations that are tested and
6969
known to be compatible, see the `envlist` in `tox.ini
7070
<https://github.com/dcrosta/flask-pymongo/blob/master/tox.ini>`_.
7171

tox.ini

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
11
[tox]
22

3-
; keep the pymongo list in sync with what's in .travis.yaml
43
envlist=
5-
pymongo{37,38,39,310,311,312}-mongo{40,42,44,50}-flask{10,11,20}, style
4+
pymongo{311,312,40,41,42,43}-mongo{4x,5x,6x}-flask{10,11,2x}, style
65

76
[testenv]
87
docker =
9-
mongo40: mongo40
10-
mongo42: mongo42
11-
mongo44: mongo44
12-
mongo50: mongo50
8+
mongo4x: mongo4x
9+
mongo5x: mongo5x
10+
mongo6x: mongo6x
1311

1412
deps =
1513
pytest
14+
markupsafe<2.1
1615

17-
pymongo37: pymongo>=3.7,<3.8
18-
pymongo38: pymongo>=3.8,<3.9
19-
pymongo39: pymongo>=3.9,<3.10
20-
pymongo310: pymongo>=3.10,<3.11
2116
pymongo311: pymongo>=3.11,<3.12
2217
pymongo312: pymongo>=3.12,<3.13
18+
pymongo40: pymongo>=4.0,<4.1
19+
pymongo41: pymongo>=4.1,<4.2
20+
pymongo42: pymongo>=4.2,<4.3
21+
pymongo43: pymongo>=4.3,<4.4
2322

2423
flask10: flask>=1.0,<1.1
2524
flask11: flask>=1.1,<1.2
26-
flask20: flask>=2.0,<2.1
25+
flask2x: flask>=2.0,<3.0
2726

2827
commands =
2928
{envbindir}/py.test --tb=native {toxinidir}
@@ -50,14 +49,11 @@ ignore = D100,D104,D107
5049
exclude =
5150
_version.py
5251

53-
[docker:mongo40]
54-
image = mongo:4.0
52+
[docker:mongo4x]
53+
image = mongo:4
5554

56-
[docker:mongo42]
57-
image = mongo:4.2
55+
[docker:mongo5x]
56+
image = mongo:5
5857

59-
[docker:mongo44]
60-
image = mongo:4.4
61-
62-
[docker:mongo50]
63-
image = mongo:5.0
58+
[docker:mongo6x]
59+
image = mongo:6

0 commit comments

Comments
 (0)