Skip to content

Commit 85365cf

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 ec800d7 commit 85365cf

File tree

16 files changed

+48
-48
lines changed

16 files changed

+48
-48
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: 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/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",

tests/integration/goldens/logging/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

0 commit comments

Comments
 (0)