From 8b6c3890800a057af1c4415d150a9870cf0cc88e Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 4 Jul 2025 10:08:25 -0400 Subject: [PATCH 1/2] tests: update constraints for python 3.9 testing --- testing/constraints-3.9.txt | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index ad3f0fa58e..58482dcd03 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -1,7 +1,20 @@ -# -*- coding: utf-8 -*- -# This constraints file is required for unit tests. +# This constraints file is used to check that lower bounds +# are correct in setup.py # List all library dependencies and extras in this file. -google-api-core -proto-plus -protobuf -grpc-google-iam-v1 +# Pin the version to the lower bound. +# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev", +# Then this file should have google-cloud-foo==1.14.0 +google-api-core==1.34.0 +google-cloud-core==1.4.4 +grpc-google-iam-v1==0.12.4 +libcst==0.2.5 +proto-plus==1.22.0 +sqlparse==0.4.4 +opentelemetry-api==1.22.0 +opentelemetry-sdk==1.22.0 +opentelemetry-semantic-conventions==0.43b0 +protobuf==3.20.2 +deprecated==1.2.14 +grpc-interceptor==0.15.4 +google-cloud-monitoring==2.16.0 +mmh3==4.1.0 From 8d382302170aa9ea9e97a293fbcd20a56ac45a84 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 4 Jul 2025 10:11:15 -0400 Subject: [PATCH 2/2] exclude testing/constraints-3.9.txt in owlbot.py --- owlbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/owlbot.py b/owlbot.py index ce4b00af28..c4b45c3632 100644 --- a/owlbot.py +++ b/owlbot.py @@ -195,6 +195,7 @@ def get_staging_dirs( "google/cloud/spanner_v1/__init__.py", "**/gapic_version.py", "testing/constraints-3.7.txt", + "testing/constraints-3.9.txt", ], )