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

Commit e1a9b98

Browse files
committed
Require google-api-core>=2.11.0 to allow protobuf>=4.25.8
Otherwise we get a dependency conflict in the fragment tests.
1 parent bb734c3 commit e1a9b98

File tree

17 files changed

+61
-62
lines changed

17 files changed

+61
-62
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] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
{% from '_pypi_packages.j2' import pypi_packages %}
33
# This constraints file is used to check that lower bounds
44
# are correct in setup.py
5-
# List all library dependencies and extras in this file.
6-
# Pin the version to the lower bound.
7-
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
8-
# Then this file should have google-cloud-foo==1.14.0
9-
google-api-core==1.34.1
5+
# List all library dependencies and extras in this file,
6+
# pinning their versions to their lower bounds.
7+
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
8+
# then this file should have google-cloud-foo==1.14.0
9+
google-api-core==2.11.0
1010
google-auth==2.35.0
1111
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1212
# Add the minimum supported version of grpcio to constraints files

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] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# -*- coding: utf-8 -*-
22
# This constraints file is used to check that lower bounds
33
# are correct in setup.py
4-
# List all library dependencies and extras in this file.
5-
# Pin the version to the lower bound.
6-
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
7-
# Then this file should have google-cloud-foo==1.14.0
8-
google-api-core==1.34.1
4+
# List all library dependencies and extras in this file,
5+
# pinning their versions to their lower bounds.
6+
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
7+
# then this file should have google-cloud-foo==1.14.0
8+
google-api-core==2.11.0
99
google-auth==2.35.0
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] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# -*- coding: utf-8 -*-
22
# This constraints file is used to check that lower bounds
33
# are correct in setup.py
4-
# List all library dependencies and extras in this file.
5-
# Pin the version to the lower bound.
6-
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
7-
# Then this file should have google-cloud-foo==1.14.0
8-
google-api-core==1.34.1
4+
# List all library dependencies and extras in this file,
5+
# pinning their versions to their lower bounds.
6+
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
7+
# then this file should have google-cloud-foo==1.14.0
8+
google-api-core==2.11.0
99
google-auth==2.35.0
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] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
# This constraints file is used to check that lower bounds
33
# are correct in setup.py
44
# List all library dependencies and extras in this file.
5-
grpc-google-iam-v1
65
# Pin the version to the lower bound.
76
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
87
# Then this file should have google-cloud-foo==1.14.0
9-
google-api-core==1.34.1
8+
google-api-core==2.11.0
109
google-auth==2.35.0
1110
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1211
# Add the minimum supported version of grpcio to constraints files
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# -*- coding: utf-8 -*-
22
# This constraints file is used to check that lower bounds
33
# are correct in setup.py
4-
# List all library dependencies and extras in this file.
54
<<<<<<< conflict 1 of 1
6-
%%%%%%% diff from: kyqlvtkx ef41a402 "Update protobuf dependency in ads template" (parents of rebased revision)
7-
\\\\\\\ to: kyqlvtkx ef41a402 "Update protobuf dependency in ads template" (rebased revision)
8-
google-api-core
9-
google-auth
10-
grpcio
11-
proto-plus
12-
protobuf
13-
+# cryptography is a direct dependency of google-auth
14-
+cryptography
15-
grpc-google-iam-v1
16-
+++++++ zysqyomp 15cd6d4a "Update goldens" (rebased revision)
17-
# Pin the version to the lower bound.
18-
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
19-
# Then this file should have google-cloud-foo==1.14.0
20-
google-api-core==1.34.1
5+
%%%%%%% diff from: qvnlxwmk ec800d7a "Allow protobuf 6.x" (rebased revision)
6+
\\\\\\\ to: mrtsuqst bb734c37 "Allow protobuf 6.x" (rebase destination)
7+
# List all library dependencies and extras in this file.
8+
+ grpc-google-iam-v1
9+
# Pin the version to the lower bound.
10+
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
11+
# Then this file should have google-cloud-foo==1.14.0
12+
google-api-core==1.34.1
13+
+++++++ ppyqnrkr 85365cff "Require google-api-core>=2.11.0 to allow protobuf>=4.25.8" (rebased revision)
14+
# List all library dependencies and extras in this file,
15+
# pinning their versions to their lower bounds.
16+
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
17+
# then this file should have google-cloud-foo==1.14.0
18+
google-api-core==2.11.0
19+
>>>>>>> conflict 1 of 1 ends
2120
google-auth==2.35.0
2221
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
2322
# Add the minimum supported version of grpcio to constraints files
2423
proto-plus==1.22.3
2524
protobuf==4.25.8
25+
# cryptography is a direct dependency of google-auth
26+
cryptography
2627
grpc-google-iam-v1==0.14.0
27-
>>>>>>> conflict 1 of 1 ends

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] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
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)