@@ -35,7 +35,7 @@ def tests(session):
3535 $ nox --session tests --python 3.12 -- tests/test_tensor.py # run specific tests
3636 $ nox --session tests --python 3.12 -- coverage # run with coverage but slower
3737 """
38- session .install ("--upgrade" , "--editable" , ".[all, test] " )
38+ session .install ("--upgrade" , "--editable" , ".[all]" , "--group" , " test" )
3939 session .install ("--upgrade" , "pytest" )
4040
4141 # Allow tests to be run with coverage
@@ -107,7 +107,7 @@ def regenerate(session):
107107 """
108108 Regenerate Matplotlib images.
109109 """
110- session .install ("--upgrade" , "--editable" , ".[all, test] " )
110+ session .install ("--upgrade" , "--editable" , ".[all]" , "--group" , " test" )
111111 session .install ("--upgrade" , "pytest" , "matplotlib" )
112112 if not sys .platform .startswith ("linux" ):
113113 session .error (
@@ -133,7 +133,7 @@ def docs(session):
133133 $ nox --session docs -- serve # Need for local jupyterlite preview
134134 $ nox --session docs -- clean
135135 """
136- session .install ("--upgrade" , "--editable" , ".[backends,contrib, docs] " )
136+ session .install ("--upgrade" , "--editable" , ".[backends,contrib]" , "--group" , " docs" )
137137 session .install ("--upgrade" , "sphinx" )
138138
139139 build_path = DIR / "docs" / "_build"
@@ -182,7 +182,7 @@ def notebooks(session: nox.Session):
182182 """
183183 Run the notebook tests.
184184 """
185- session .install ("--upgrade" , "--editable" , ".[all, test] " )
185+ session .install ("--upgrade" , "--editable" , ".[all]" , "--group" , " test" )
186186 session .run (
187187 "pytest" ,
188188 "--override-ini" ,
0 commit comments