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

Commit 89ae42d

Browse files
committed
WIP: try disabling test warnings
1 parent 63c4170 commit 89ae42d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

noxfile.py

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

@@ -173,9 +174,7 @@ def fragment(session, use_ads_templates=False):
173174
)
174175
session.install("-e", ".")
175176

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.28")
177+
179178

180179
frag_files = (
181180
[Path(f) for f in session.posargs] if session.posargs else FRAGMENT_FILES
@@ -243,9 +242,7 @@ def showcase_library(
243242
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2473):
244243
# Warnings emitted from google-api-core starting in 2.28
245244
# appear to cause issues when running protoc.
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.28")
245+
249246

250247
# Install a client library for Showcase.
251248
with tempfile.TemporaryDirectory() as tmp_dir:
@@ -338,6 +335,7 @@ def showcase_library(
338335
session.run(
339336
*cmd_tup,
340337
external=True,
338+
env={"PYTHONWARNINGS": "ignore"},
341339
)
342340

343341
# Install the generated showcase library.

0 commit comments

Comments
 (0)