Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit e00215a

Browse files
committed
fixing noxfile
1 parent 9e593eb commit e00215a

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

.kokoro/presubmit/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ action {
77
}
88
}
99

10-
# TODO: remove after deprecating 3.7 and 3.8
10+
# TODO: remove explicit session setting after deprecating 3.7 and 3.8
1111
env_vars: {
1212
key: "NOX_SESSION"
1313
value: "unit-3.9 unit-3.10 unit-3.11 unit-3.12 unit-3.13 unit-3.14 docs lint lint_setup_py blacken cover"

.kokoro/presubmit/presubmit.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ env_vars: {
55
key: "RUN_SYSTEM_TESTS"
66
value: "false"
77
}
8+
9+
# TODO: remove explicit session setting after deprecating 3.7 and 3.8
10+
env_vars: {
11+
key: "NOX_SESSION"
12+
value: "unit-3.9 unit-3.10 unit-3.11 unit-3.12 unit-3.13 unit-3.14 docs lint lint_setup_py blacken cover"
13+
}

noxfile.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,12 @@
7979

8080
# 'docfx' is excluded since it only needs to run in 'docs-presubmit'
8181
nox.options.sessions = [
82-
"unit",
82+
"unit-3.9",
83+
"unit-3.10",
84+
"unit-3.11",
85+
"unit-3.12",
86+
"unit-3.13",
87+
"unit-3.14",
8388
"system_emulated",
8489
"system",
8590
"mypy",
@@ -258,7 +263,7 @@ def install_systemtest_dependencies(session, *constraints):
258263
session.install("-e", ".", *constraints)
259264

260265

261-
@nox.session(python="3.8")
266+
@nox.session(python=DEFAULT_PYTHON_VERSION)
262267
def system_emulated(session):
263268
import subprocess
264269
import signal

0 commit comments

Comments
 (0)