@@ -49,7 +49,9 @@ def lint(session):
4949 session .run ("pre-commit" , "run" , "-a" )
5050
5151
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+ )
5355@nox .parametrize ("flask" , ["==1.1.4" , "==2.0.3" , ">=2.1.2" ])
5456@nox .parametrize ("mongoengine" , ["==0.21.0" , "==0.22.1" , "==0.23.1" , ">=0.24.1" ])
5557@nox .parametrize ("toolbar" , [True , False ])
@@ -78,7 +80,9 @@ def _run_in_docker(session):
7880 session .run_always ("docker" , "rm" , "-fv" , "nox_docker_test" , external = True )
7981
8082
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+ )
8286@nox .parametrize ("flask" , ["==1.1.4" , "==2.0.3" , ">=2.1.2" ])
8387@nox .parametrize ("mongoengine" , ["==0.21.0" , "==0.22.1" , "==0.23.1" , ">=0.24.1" ])
8488@nox .parametrize ("toolbar" , [True , False ])
@@ -89,12 +93,14 @@ def full_tests(session, flask, mongoengine, toolbar, wtf):
8993 _run_in_docker (session )
9094
9195
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+ )
9399@nox .parametrize ("toolbar" , [True , False ])
94100@nox .parametrize ("wtf" , [True , False ])
95101def latest (session , toolbar , wtf ):
96102 """Run minimum tests for checking minimum code quality."""
97- flask = ">= 2.1.2 "
103+ flask = "== 2.1.3 "
98104 mongoengine = ">=0.24.1"
99105 session = base_install (session , flask , mongoengine , toolbar , wtf )
100106 if session .interactive :
@@ -103,13 +109,13 @@ def latest(session, toolbar, wtf):
103109 session .run ("pytest" , * session .posargs )
104110
105111
106- @nox .session (python = "3.10 " )
112+ @nox .session (python = "3.11 " )
107113def documentation_tests (session ):
108114 """Run documentation tests."""
109115 return docs (session , batch_run = True )
110116
111117
112- @nox .session (python = "3.10 " )
118+ @nox .session (python = "3.11 " )
113119def docs (session , batch_run : bool = False ):
114120 """Build the documentation or serve documentation interactively."""
115121 shutil .rmtree (Path ("docs" ).joinpath ("_build" ), ignore_errors = True )
0 commit comments