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

Commit c66c681

Browse files
committed
workaround 2473
1 parent abb1ca4 commit c66c681

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

noxfile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,13 @@ def showcase_library(
245245
# Install grpcio-tools for protoc
246246
session.install("grpcio-tools")
247247

248+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2473):
249+
# Warnings emitted from google-api-core starting in 2.28
250+
# appear to cause issues when running protoc.
251+
# The specific failure is `Plugin output is unparseable`
252+
if session.python in ("3.7", "3.8", "3.9", "3.10"):
253+
session.install("google-api-core<2.28")
254+
248255
# Install a client library for Showcase.
249256
with tempfile.TemporaryDirectory() as tmp_dir:
250257
# Download the Showcase descriptor.

0 commit comments

Comments
 (0)