@@ -49,7 +49,9 @@ def lint(session):
49
49
session .run ("pre-commit" , "run" , "-a" )
50
50
51
51
52
- @nox .session (python = ["3.7" , "3.8" , "3.9" , "3.10" , "pypy3.7" ])
52
+ @nox .session (
53
+ python = ["3.7" , "3.8" , "3.9" , "3.10" , "3.11" , "pypy3.7" , "pypy3.8" , "pypy3.9" ]
54
+ )
53
55
@nox .parametrize ("flask" , ["==1.1.4" , "==2.0.3" , ">=2.1.2" ])
54
56
@nox .parametrize ("mongoengine" , ["==0.21.0" , "==0.22.1" , "==0.23.1" , ">=0.24.1" ])
55
57
@nox .parametrize ("toolbar" , [True , False ])
@@ -78,7 +80,9 @@ def _run_in_docker(session):
78
80
session .run_always ("docker" , "rm" , "-fv" , "nox_docker_test" , external = True )
79
81
80
82
81
- @nox .session (python = ["3.7" , "3.8" , "3.9" , "3.10" , "pypy3.7" ])
83
+ @nox .session (
84
+ python = ["3.7" , "3.8" , "3.9" , "3.10" , "3.11" , "pypy3.7" , "pypy3.8" , "pypy3.9" ]
85
+ )
82
86
@nox .parametrize ("flask" , ["==1.1.4" , "==2.0.3" , ">=2.1.2" ])
83
87
@nox .parametrize ("mongoengine" , ["==0.21.0" , "==0.22.1" , "==0.23.1" , ">=0.24.1" ])
84
88
@nox .parametrize ("toolbar" , [True , False ])
@@ -89,12 +93,14 @@ def full_tests(session, flask, mongoengine, toolbar, wtf):
89
93
_run_in_docker (session )
90
94
91
95
92
- @nox .session (python = ["3.7" , "3.8" , "3.9" , "3.10" , "pypy3.7" ])
96
+ @nox .session (
97
+ python = ["3.7" , "3.8" , "3.9" , "3.10" , "3.11" , "pypy3.7" , "pypy3.8" , "pypy3.9" ]
98
+ )
93
99
@nox .parametrize ("toolbar" , [True , False ])
94
100
@nox .parametrize ("wtf" , [True , False ])
95
101
def latest (session , toolbar , wtf ):
96
102
"""Run minimum tests for checking minimum code quality."""
97
- flask = ">= 2.1.2 "
103
+ flask = "== 2.1.3 "
98
104
mongoengine = ">=0.24.1"
99
105
session = base_install (session , flask , mongoengine , toolbar , wtf )
100
106
if session .interactive :
@@ -103,13 +109,13 @@ def latest(session, toolbar, wtf):
103
109
session .run ("pytest" , * session .posargs )
104
110
105
111
106
- @nox .session (python = "3.10 " )
112
+ @nox .session (python = "3.11 " )
107
113
def documentation_tests (session ):
108
114
"""Run documentation tests."""
109
115
return docs (session , batch_run = True )
110
116
111
117
112
- @nox .session (python = "3.10 " )
118
+ @nox .session (python = "3.11 " )
113
119
def docs (session , batch_run : bool = False ):
114
120
"""Build the documentation or serve documentation interactively."""
115
121
shutil .rmtree (Path ("docs" ).joinpath ("_build" ), ignore_errors = True )
0 commit comments