Skip to content

Commit 8bbeb83

Browse files
committed
refactor(nox): drop unused default for TORCH_GROUP
The Makefile always exports TORCH_GROUP before invoking nox, so the Python-side default was dead code for every make test-smoke run; kept only for a bare, non-Make nox invocation which isn't a supported entrypoint.
1 parent 88cb4f0 commit 8bbeb83

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ci/nox/noxfile.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@
3434
options.default_venv_backend = "uv"
3535
options.error_on_missing_interpreters = True
3636

37-
# Pins the torch minor version smoke tests install, one of the torch_2_*
38-
# dependency groups in pyproject.toml — TORCH_GROUP is the project-wide
39-
# source of truth (see Makefile), exported by `make test-smoke` and set per
40-
# job by the CI matrix (ci.yaml); defaults to the newest supported.
41-
TORCH_GROUP = os.environ.get("TORCH_GROUP", "torch_2_11")
37+
TORCH_GROUP = os.environ.get("TORCH_GROUP")
4238

4339

4440
@session(

0 commit comments

Comments
 (0)