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

Commit abb1ca4

Browse files
committed
workaround 2473
1 parent 3cbf371 commit abb1ca4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

noxfile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,13 @@ def fragment(session, use_ads_templates=False):
175175
)
176176
session.install("-e", ".")
177177

178+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2473):
179+
# Warnings emitted from google-api-core starting in 2.28
180+
# appear to cause issues when running protoc.
181+
# The specific failure is `Plugin output is unparseable`
182+
if session.python in ("3.7", "3.8", "3.9", "3.10"):
183+
session.install("google-api-core<2.28")
184+
178185
frag_files = (
179186
[Path(f) for f in session.posargs] if session.posargs else FRAGMENT_FILES
180187
)

0 commit comments

Comments
 (0)