From a958732aed7d9bd51ffde3dc0e6cae9ad7455b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Wed, 10 Jul 2024 13:20:06 -0500 Subject: [PATCH] deps: bump min version of google-api-core and google-cloud-core to 2.x (#1972) Fixes constraints file to match setup.py --- setup.py | 16 +++++----------- testing/constraints-3.7.txt | 6 +++--- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/setup.py b/setup.py index ed9a6351b..db8e06113 100644 --- a/setup.py +++ b/setup.py @@ -29,18 +29,12 @@ # 'Development Status :: 5 - Production/Stable' release_status = "Development Status :: 5 - Production/Stable" dependencies = [ - # NOTE: Maintainers, please do not require google-api-core>=2.x.x - # Until this issue is closed - # https://github.com/googleapis/google-cloud-python/issues/10566 - "google-api-core[grpc] >= 1.34.1, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", + "google-api-core[grpc] >= 2.11.1, <3.0.0dev", "google-auth >= 2.14.1, <3.0.0dev", - # NOTE: Maintainers, please do not require google-cloud-core>=2.x.x - # Until this issue is closed - # https://github.com/googleapis/google-cloud-python/issues/10566 - "google-cloud-core >= 1.6.0, <3.0.0dev", - "google-resumable-media >= 0.6.0, < 3.0dev", + "google-cloud-core >= 2.4.1, <3.0.0dev", + "google-resumable-media >= 2.0.0, < 3.0dev", "packaging >= 20.0.0", - "python-dateutil >= 2.7.2, <3.0dev", + "python-dateutil >= 2.7.3, <3.0dev", "requests >= 2.21.0, < 3.0.0dev", ] pyarrow_dependency = "pyarrow >= 3.0.0" @@ -82,7 +76,7 @@ "opentelemetry-instrumentation >= 0.20b0", ], "bigquery_v2": [ - "proto-plus >= 1.15.0, <2.0.0dev", + "proto-plus >= 1.22.0, <2.0.0dev", "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", # For the legacy proto-based types. ], } diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index d64e06cc3..c09978d5d 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -7,13 +7,13 @@ # Then this file should have foo==1.14.0 db-dtypes==0.3.0 geopandas==0.9.0 -google-api-core==2.17.1 -google-auth==2.28.1 +google-api-core==2.11.1 +google-auth==2.14.1 google-cloud-bigquery-storage==2.24.0 google-cloud-core==2.4.1 google-cloud-testutils==1.4.0 google-crc32c==1.5.0 -google-resumable-media==2.7.0 +google-resumable-media==2.0.0 googleapis-common-protos==1.62.0 grpcio==1.47.0 grpcio-status==1.47.0