@@ -197,10 +197,6 @@ def docs_build(session: Session) -> None:
197197@nox .session (python = DEFAULT_PYTHON_VERSION , name = "build-python" , tags = [BUILD , PYTHON ])
198198def build_python (session : Session ) -> None :
199199 """Build sdist and wheel packages (uv build)."""
200- session .log ("Installing build dependencies..." )
201- # Sync core & dev deps are needed for accessing project source code.
202- session .install ("-e" , "." , "--group" , "dev" )
203-
204200 session .log (f"Building sdist and wheel packages with py{ session .python } ." )
205201 {% if cookiecutter .add_rust_extension == "y" - % }
206202 session .run ("maturin" , "develop" , "--uv" )
@@ -259,7 +255,7 @@ def publish_python(session: Session) -> None:
259255 Requires packages to be built first (`nox -s build-python` or `nox -s build`).
260256 Requires TWINE_USERNAME/TWINE_PASSWORD or TWINE_API_KEY environment variables set (usually in CI).
261257 """
262- session .install ("-e" , "." , "--group" , "dev " )
258+ session .install ("twine " )
263259
264260 session .log ("Checking built packages with Twine." )
265261 session .run ("twine" , "check" , "dist/*" )
@@ -287,8 +283,6 @@ def release(session: Session) -> None:
287283 Optionally accepts increment (major, minor, patch) after '--'.
288284 """
289285 session .log ("Running release process using Commitizen..." )
290- session .install ("-e" , "." , "--group" , "dev" )
291-
292286 try :
293287 session .run ("git" , "version" , success_codes = [0 ], external = True , silent = True )
294288 except CommandFailed :
0 commit comments