From f8ff2ad42a1bfaecf3c7c282e4cdbd259753d6e0 Mon Sep 17 00:00:00 2001 From: Pulkit Aggarwal Date: Wed, 9 Jul 2025 06:40:06 +0000 Subject: [PATCH 1/2] chore: fix the errors while generating gapic --- noxfile.py | 2 +- owlbot.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index b62092e97..e6b53b81a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -101,7 +101,7 @@ def default(session, install_extras=True): CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" ) # Install all test dependencies, then install this package in-place. - session.install("mock", "pytest", "pytest-cov", "brotli", "-c", constraints_path) + session.install("mock", "pytest", "pytest-cov", "brotli", "grpcio", "grpcio-status" "-c", constraints_path) if install_extras: session.install("opentelemetry-api", "opentelemetry-sdk") diff --git a/owlbot.py b/owlbot.py index 055b4db9c..77acf42e6 100644 --- a/owlbot.py +++ b/owlbot.py @@ -42,6 +42,7 @@ # Exclude autogenerated constraints files for Python 3.7/3.9 "testing/constraints-3.7.txt", "testing/constraints-3.9.txt", + "tests/unit/__init__.py", ], ) s.remove_staging_dirs() From 1ec3b61866e1568b35ddf769af9be57350f70540 Mon Sep 17 00:00:00 2001 From: Pulkit Aggarwal Date: Wed, 9 Jul 2025 07:00:23 +0000 Subject: [PATCH 2/2] add missing comma --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index e6b53b81a..f47f2a055 100644 --- a/noxfile.py +++ b/noxfile.py @@ -101,7 +101,7 @@ def default(session, install_extras=True): CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" ) # Install all test dependencies, then install this package in-place. - session.install("mock", "pytest", "pytest-cov", "brotli", "grpcio", "grpcio-status" "-c", constraints_path) + session.install("mock", "pytest", "pytest-cov", "brotli", "grpcio", "grpcio-status", "-c", constraints_path) if install_extras: session.install("opentelemetry-api", "opentelemetry-sdk")