@@ -144,7 +144,7 @@ def docs_build(session: Session) -> None:
144144 session .run ("sphinx-build" , "-b" , "html" , "docs" , str (docs_build_dir ), "-W" )
145145
146146
147- @nox .session (python = DEFAULT_PYTHON_VERSION , name = "build-python" , tags = [BUILD , PYTHON ])
147+ @nox .session (python = None , name = "build-python" , tags = [BUILD , PYTHON ])
148148def build_python (session : Session ) -> None :
149149 """Build sdist and wheel packages (uv build)."""
150150 session .log (f"Building sdist and wheel packages with py{ session .python } ." )
@@ -154,7 +154,7 @@ def build_python(session: Session) -> None:
154154 session .log (f"- { path .name } " )
155155
156156
157- @nox .session (python = DEFAULT_PYTHON_VERSION , name = "build-container" , tags = [BUILD ])
157+ @nox .session (python = None , name = "build-container" , tags = [BUILD ])
158158def build_container (session : Session ) -> None :
159159 """Build the Docker container image.
160160
@@ -176,7 +176,7 @@ def build_container(session: Session) -> None:
176176
177177 current_dir : Path = Path .cwd ()
178178 session .log (f"Ensuring core dependencies are synced in { current_dir .resolve ()} for build context..." )
179- session .run ("-e" , "." )
179+ session .install ("-e" , "." )
180180
181181 session .log (f"Building Docker image using { container_cli } ." )
182182 project_image_name = PACKAGE_NAME .replace ("_" , "-" ).lower ()
0 commit comments