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

Commit d01d897

Browse files
committed
downgraded api-core
1 parent e892758 commit d01d897

File tree

17 files changed

+20
-26
lines changed

17 files changed

+20
-26
lines changed

gapic/templates/setup.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ else:
3333
release_status = "Development Status :: 5 - Production/Stable"
3434

3535
dependencies = [
36-
"google-api-core[grpc] >= 2.21.0, <3.0.0",
36+
"google-api-core[grpc] >= 2.11.0, <3.0.0",
3737
# Exclude incompatible versions of `google-auth`
3838
# See https://github.com/googleapis/google-cloud-python/issues/12364
3939
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",

gapic/templates/testing/constraints-3.9.txt.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# pinning their versions to their lower bounds.
77
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
88
# then this file should have google-cloud-foo==1.14.0
9-
google-api-core==2.21.0
9+
google-api-core==2.11.0
1010
google-auth==2.14.1
1111
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1212
# Add the minimum supported version of grpcio to constraints files

noxfile.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,10 @@ def showcase_library(
362362
session.install("-e", tmp_dir, "-r", constraints_path)
363363
else:
364364
# modify constraints file to support async_rest min constraints
365-
async_rest_constraints = {"google-auth": "2.35.0"}
365+
async_rest_constraints = {
366+
"google-auth": "2.35.0",
367+
"google-api-core": "2.21.0",
368+
}
366369
constraints = [
367370
line.strip()
368371
for line in open(constraints_path)
@@ -371,15 +374,6 @@ def showcase_library(
371374
and line.strip()
372375
] + [f"{key}=={value}" for key, value in async_rest_constraints.items()]
373376
session.install("-e", f"{tmp_dir}[async_rest]", *constraints)
374-
375-
# Exclude `google-auth==2.40.0` which contains a regression
376-
# https://github.com/googleapis/gapic-generator-python/issues/2385
377-
session.install(
378-
"--no-cache-dir",
379-
"--force-reinstall",
380-
"--upgrade",
381-
"google-auth[aiohttp]!=2.40.0",
382-
)
383377
else:
384378
# The ads templates do not have constraints files.
385379
# See https://github.com/googleapis/gapic-generator-python/issues/1788

tests/integration/goldens/asset/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
release_status = "Development Status :: 5 - Production/Stable"
4040

4141
dependencies = [
42-
"google-api-core[grpc] >= 2.21.0, <3.0.0",
42+
"google-api-core[grpc] >= 2.11.0, <3.0.0",
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",

tests/integration/goldens/asset/testing/constraints-3.9.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pinning their versions to their lower bounds.
66
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
77
# then this file should have google-cloud-foo==1.14.0
8-
google-api-core==2.21.0
8+
google-api-core==2.11.0
99
google-auth==2.14.1
1010
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1111
# Add the minimum supported version of grpcio to constraints files

tests/integration/goldens/credentials/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
release_status = "Development Status :: 5 - Production/Stable"
4040

4141
dependencies = [
42-
"google-api-core[grpc] >= 2.21.0, <3.0.0",
42+
"google-api-core[grpc] >= 2.11.0, <3.0.0",
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",

tests/integration/goldens/credentials/testing/constraints-3.9.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pinning their versions to their lower bounds.
66
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
77
# then this file should have google-cloud-foo==1.14.0
8-
google-api-core==2.21.0
8+
google-api-core==2.11.0
99
google-auth==2.14.1
1010
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1111
# Add the minimum supported version of grpcio to constraints files

tests/integration/goldens/eventarc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
release_status = "Development Status :: 5 - Production/Stable"
4040

4141
dependencies = [
42-
"google-api-core[grpc] >= 2.21.0, <3.0.0",
42+
"google-api-core[grpc] >= 2.11.0, <3.0.0",
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",

tests/integration/goldens/eventarc/testing/constraints-3.9.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pinning their versions to their lower bounds.
66
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
77
# then this file should have google-cloud-foo==1.14.0
8-
google-api-core==2.21.0
8+
google-api-core==2.11.0
99
google-auth==2.14.1
1010
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1111
# Add the minimum supported version of grpcio to constraints files

tests/integration/goldens/logging/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
release_status = "Development Status :: 5 - Production/Stable"
4040

4141
dependencies = [
42-
"google-api-core[grpc] >= 2.21.0, <3.0.0",
42+
"google-api-core[grpc] >= 2.11.0, <3.0.0",
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",

0 commit comments

Comments
 (0)