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

Commit f3a2870

Browse files
committed
WIP: Try pinning api-core to 2.11.0 for tests
1 parent 89ae42d commit f3a2870

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

noxfile.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ def __call__(self, frag):
125125
str(frag),
126126
external=True,
127127
silent=True,
128-
env={"PYTHONWARNINGS": "ignore"},
129128
)
130129
)
131130

@@ -174,7 +173,9 @@ def fragment(session, use_ads_templates=False):
174173
)
175174
session.install("-e", ".")
176175

177-
176+
# The specific failure is `Plugin output is unparseable`
177+
if session.python in ("3.9", "3.10"):
178+
session.install("google-api-core-2.11.0")
178179

179180
frag_files = (
180181
[Path(f) for f in session.posargs] if session.posargs else FRAGMENT_FILES
@@ -242,7 +243,9 @@ def showcase_library(
242243
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2473):
243244
# Warnings emitted from google-api-core starting in 2.28
244245
# appear to cause issues when running protoc.
245-
246+
# The specific failure is `Plugin output is unparseable`
247+
if session.python in ("3.9", "3.10"):
248+
session.install("google-api-core=2.11.0")
246249

247250
# Install a client library for Showcase.
248251
with tempfile.TemporaryDirectory() as tmp_dir:
@@ -335,7 +338,6 @@ def showcase_library(
335338
session.run(
336339
*cmd_tup,
337340
external=True,
338-
env={"PYTHONWARNINGS": "ignore"},
339341
)
340342

341343
# Install the generated showcase library.

0 commit comments

Comments
 (0)