Skip to content

Commit ac0a7ab

Browse files
committed
fix build
1 parent a04a380 commit ac0a7ab

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

packages/google-cloud-access-context-manager/noxfile.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232

3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

35-
36-
DEFAULT_PYTHON_VERSION = "3.10"
37-
3835
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3936
"3.7",
4037
"3.8",
@@ -44,6 +41,9 @@
4441
"3.12",
4542
"3.13",
4643
]
44+
45+
DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1]
46+
4747
UNIT_TEST_STANDARD_DEPENDENCIES = [
4848
"mock",
4949
"asyncmock",
@@ -295,7 +295,7 @@ def cover(session):
295295
session.run("coverage", "erase")
296296

297297

298-
@nox.session(python=DEFAULT_PYTHON_VERSION)
298+
@nox.session(python="3.10")
299299
def docs(session):
300300
"""Build the docs for this library."""
301301

@@ -330,7 +330,7 @@ def docs(session):
330330
)
331331

332332

333-
@nox.session(python=DEFAULT_PYTHON_VERSION)
333+
@nox.session(python="3.10")
334334
def docfx(session):
335335
"""Build the docfx yaml files for this library."""
336336

@@ -376,7 +376,7 @@ def docfx(session):
376376
)
377377

378378

379-
@nox.session(python="3.13")
379+
@nox.session(python=DEFAULT_PYTHON_VERSION)
380380
@nox.parametrize(
381381
"protobuf_implementation",
382382
["python", "upb", "cpp"],
@@ -477,7 +477,7 @@ def prerelease_deps(session, protobuf_implementation):
477477
)
478478

479479

480-
@nox.session(python="3.13")
480+
@nox.session(python=DEFAULT_PYTHON_VERSION)
481481
@nox.parametrize(
482482
"protobuf_implementation",
483483
["python", "upb"],

packages/google-cloud-audit-log/noxfile.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232

3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

35-
36-
DEFAULT_PYTHON_VERSION = "3.10"
37-
3835
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3936
"3.7",
4037
"3.8",
@@ -44,6 +41,9 @@
4441
"3.12",
4542
"3.13",
4643
]
44+
45+
DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1]
46+
4747
UNIT_TEST_STANDARD_DEPENDENCIES = [
4848
"mock",
4949
"asyncmock",
@@ -295,7 +295,7 @@ def cover(session):
295295
session.run("coverage", "erase")
296296

297297

298-
@nox.session(python=DEFAULT_PYTHON_VERSION)
298+
@nox.session(python="3.10")
299299
def docs(session):
300300
"""Build the docs for this library."""
301301

@@ -330,7 +330,7 @@ def docs(session):
330330
)
331331

332332

333-
@nox.session(python=DEFAULT_PYTHON_VERSION)
333+
@nox.session(python="3.10")
334334
def docfx(session):
335335
"""Build the docfx yaml files for this library."""
336336

@@ -376,7 +376,7 @@ def docfx(session):
376376
)
377377

378378

379-
@nox.session(python="3.13")
379+
@nox.session(python=DEFAULT_PYTHON_VERSION)
380380
@nox.parametrize(
381381
"protobuf_implementation",
382382
["python", "upb", "cpp"],
@@ -470,7 +470,7 @@ def prerelease_deps(session, protobuf_implementation):
470470
)
471471

472472

473-
@nox.session(python="3.13")
473+
@nox.session(python=DEFAULT_PYTHON_VERSION)
474474
@nox.parametrize(
475475
"protobuf_implementation",
476476
["python", "upb"],

packages/googleapis-common-protos/noxfile.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232

3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

35-
36-
DEFAULT_PYTHON_VERSION = "3.10"
37-
3835
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3936
"3.7",
4037
"3.8",
@@ -44,6 +41,9 @@
4441
"3.12",
4542
"3.13",
4643
]
44+
45+
DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1]
46+
4747
UNIT_TEST_STANDARD_DEPENDENCIES = [
4848
"mock",
4949
"asyncmock",
@@ -295,7 +295,7 @@ def cover(session):
295295
session.run("coverage", "erase")
296296

297297

298-
@nox.session(python=DEFAULT_PYTHON_VERSION)
298+
@nox.session(python="3.10")
299299
def docs(session):
300300
"""Build the docs for this library."""
301301

@@ -330,7 +330,7 @@ def docs(session):
330330
)
331331

332332

333-
@nox.session(python=DEFAULT_PYTHON_VERSION)
333+
@nox.session(python="3.10")
334334
def docfx(session):
335335
"""Build the docfx yaml files for this library."""
336336

@@ -376,7 +376,7 @@ def docfx(session):
376376
)
377377

378378

379-
@nox.session(python="3.13")
379+
@nox.session(python=DEFAULT_PYTHON_VERSION)
380380
@nox.parametrize(
381381
"protobuf_implementation",
382382
["python", "upb", "cpp"],
@@ -477,7 +477,7 @@ def prerelease_deps(session, protobuf_implementation):
477477
)
478478

479479

480-
@nox.session(python="3.13")
480+
@nox.session(python=DEFAULT_PYTHON_VERSION)
481481
@nox.parametrize(
482482
"protobuf_implementation",
483483
["python", "upb"],

packages/grpc-google-iam-v1/noxfile.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232

3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

35-
36-
DEFAULT_PYTHON_VERSION = "3.10"
37-
3835
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3936
"3.7",
4037
"3.8",
@@ -44,6 +41,9 @@
4441
"3.12",
4542
"3.13",
4643
]
44+
45+
DEFAULT_PYTHON_VERSION = UNIT_TEST_PYTHON_VERSIONS[-1]
46+
4747
UNIT_TEST_STANDARD_DEPENDENCIES = [
4848
"mock",
4949
"asyncmock",
@@ -295,7 +295,7 @@ def cover(session):
295295
session.run("coverage", "erase")
296296

297297

298-
@nox.session(python=DEFAULT_PYTHON_VERSION)
298+
@nox.session(python="3.10")
299299
def docs(session):
300300
"""Build the docs for this library."""
301301

@@ -330,7 +330,7 @@ def docs(session):
330330
)
331331

332332

333-
@nox.session(python=DEFAULT_PYTHON_VERSION)
333+
@nox.session(python="3.10")
334334
def docfx(session):
335335
"""Build the docfx yaml files for this library."""
336336

@@ -376,7 +376,7 @@ def docfx(session):
376376
)
377377

378378

379-
@nox.session(python="3.13")
379+
@nox.session(python=DEFAULT_PYTHON_VERSION)
380380
@nox.parametrize(
381381
"protobuf_implementation",
382382
["python", "upb", "cpp"],
@@ -470,7 +470,7 @@ def prerelease_deps(session, protobuf_implementation):
470470
)
471471

472472

473-
@nox.session(python="3.13")
473+
@nox.session(python=DEFAULT_PYTHON_VERSION)
474474
@nox.parametrize(
475475
"protobuf_implementation",
476476
["python", "upb"],

0 commit comments

Comments
 (0)