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

Commit 28b9a05

Browse files
committed
Update golden files and ensure their tests pass
1 parent b4e6071 commit 28b9a05

8 files changed

Lines changed: 40 additions & 16 deletions

File tree

gapic/templates/noxfile.py.j2

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ def unit(session, protobuf_implementation):
291291

292292

293293
def install_systemtest_dependencies(session, *constraints):
294-
session.install("--pre", "grpcio<=1.62.2")
294+
if session.python >= "3.14":
295+
session.install("--pre", "grpcio>=1.75.1")
296+
else:
297+
session.install("--pre", "grpcio<=1.62.2")
295298

296299
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
297300

@@ -514,7 +517,7 @@ def prerelease_deps(session, protobuf_implementation):
514517
"google-api-core",
515518
"google-auth",
516519
"grpc-google-iam-v1",
517-
"grpcio<=1.62.2",
520+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
518521
"grpcio-status",
519522
"protobuf",
520523
"proto-plus",

tests/integration/goldens/asset/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

tests/integration/goldens/credentials/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

tests/integration/goldens/logging/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

tests/integration/goldens/redis/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ def unit(session, protobuf_implementation):
284284

285285

286286
def install_systemtest_dependencies(session, *constraints):
287-
session.install("--pre", "grpcio<=1.62.2")
287+
if session.python >= "3.14":
288+
session.install("--pre", "grpcio>=1.75.1")
289+
else:
290+
session.install("--pre", "grpcio<=1.62.2")
288291

289292
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
290293

@@ -507,7 +510,7 @@ def prerelease_deps(session, protobuf_implementation):
507510
"google-api-core",
508511
"google-auth",
509512
"grpc-google-iam-v1",
510-
"grpcio<=1.62.2",
513+
"grpcio>=1.75.1" if session.python >= "3.14" else "grpcio<=1.62.2",
511514
"grpcio-status",
512515
"protobuf",
513516
"proto-plus",

0 commit comments

Comments
 (0)