Skip to content

Commit 26edae8

Browse files
committed
chore: update librarian to v0.21.0
1 parent d244892 commit 26edae8

1,392 files changed

Lines changed: 4724 additions & 4211 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-ads-admanager/google/ads/admanager_v1/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582

583583
def parse_version_to_tuple(version_string: str):
584584
"""Safely converts a semantic version string to a comparable tuple of integers.
585-
Example: "4.25.8" -> (4, 25, 8)
585+
Example: "6.33.5" -> (6, 33, 5)
586586
Ignores non-numeric parts and handles common version formats.
587587
Args:
588588
version_string: Version string in the format "x.y.z" or "x.y.z<suffix>"
@@ -611,9 +611,9 @@ def _get_version(dependency_name):
611611
return (None, "--")
612612

613613
_dependency_package = "google.protobuf"
614-
_next_supported_version = "4.25.8"
615-
_next_supported_version_tuple = (4, 25, 8)
616-
_recommendation = " (we recommend 6.x)"
614+
_next_supported_version = "6.33.5"
615+
_next_supported_version_tuple = (6, 33, 5)
616+
_recommendation = " (we recommend 7.x)"
617617
(_version_used, _version_used_string) = _get_version(_dependency_package)
618618
if _version_used and _version_used < _next_supported_version_tuple:
619619
warnings.warn(

packages/google-ads-admanager/setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
version = None
3030

3131
with open(os.path.join(package_root, "google/ads/admanager/gapic_version.py")) as fp:
32-
version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+(?=\")", fp.read())
32+
version_candidates = re.findall(
33+
r"(?<=\")\d+\.\d+\.\d+[^\"\s]*(?=\")",
34+
fp.read(),
35+
)
3336
assert len(version_candidates) == 1
3437
version = version_candidates[0]
3538

@@ -39,15 +42,14 @@
3942
release_status = "Development Status :: 5 - Production/Stable"
4043

4144
dependencies = [
42-
"google-api-core[grpc] >= 2.17.1, <3.0.0",
45+
"google-api-core[grpc] >= 2.24.2, <3.0.0",
4346
# Exclude incompatible versions of `google-auth`
4447
# See https://github.com/googleapis/google-cloud-python/issues/12364
4548
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
4649
"grpcio >= 1.59.0, < 2.0.0",
4750
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
48-
"proto-plus >= 1.22.3, <2.0.0",
49-
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, < 8.0.0",
51+
"proto-plus >= 1.26.1, <2.0.0",
52+
"protobuf >= 6.33.5, < 8.0.0",
5153
]
5254
extras = {}
5355
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ads-admanager"

packages/google-ads-admanager/testing/constraints-3.10.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# pinning their versions to their lower bounds.
55
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
66
# then this file should have google-cloud-foo==1.14.0
7-
google-api-core==2.17.1
7+
google-api-core==2.24.2
88
google-auth==2.14.1
99
grpcio==1.59.0
10-
proto-plus==1.22.3
11-
protobuf==4.25.8
10+
proto-plus==1.26.1
11+
protobuf==6.33.5

packages/google-ads-admanager/testing/constraints-3.13.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

packages/google-ads-admanager/testing/constraints-3.14.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

packages/google-ads-datamanager/google/ads/datamanager_v1/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191

192192
def parse_version_to_tuple(version_string: str):
193193
"""Safely converts a semantic version string to a comparable tuple of integers.
194-
Example: "4.25.8" -> (4, 25, 8)
194+
Example: "6.33.5" -> (6, 33, 5)
195195
Ignores non-numeric parts and handles common version formats.
196196
Args:
197197
version_string: Version string in the format "x.y.z" or "x.y.z<suffix>"
@@ -220,9 +220,9 @@ def _get_version(dependency_name):
220220
return (None, "--")
221221

222222
_dependency_package = "google.protobuf"
223-
_next_supported_version = "4.25.8"
224-
_next_supported_version_tuple = (4, 25, 8)
225-
_recommendation = " (we recommend 6.x)"
223+
_next_supported_version = "6.33.5"
224+
_next_supported_version_tuple = (6, 33, 5)
225+
_recommendation = " (we recommend 7.x)"
226226
(_version_used, _version_used_string) = _get_version(_dependency_package)
227227
if _version_used and _version_used < _next_supported_version_tuple:
228228
warnings.warn(

packages/google-ads-datamanager/setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
version = None
3030

3131
with open(os.path.join(package_root, "google/ads/datamanager/gapic_version.py")) as fp:
32-
version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+(?=\")", fp.read())
32+
version_candidates = re.findall(
33+
r"(?<=\")\d+\.\d+\.\d+[^\"\s]*(?=\")",
34+
fp.read(),
35+
)
3336
assert len(version_candidates) == 1
3437
version = version_candidates[0]
3538

@@ -39,15 +42,14 @@
3942
release_status = "Development Status :: 5 - Production/Stable"
4043

4144
dependencies = [
42-
"google-api-core[grpc] >= 2.17.1, <3.0.0",
45+
"google-api-core[grpc] >= 2.24.2, <3.0.0",
4346
# Exclude incompatible versions of `google-auth`
4447
# See https://github.com/googleapis/google-cloud-python/issues/12364
4548
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
4649
"grpcio >= 1.59.0, < 2.0.0",
4750
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
48-
"proto-plus >= 1.22.3, <2.0.0",
49-
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
50-
"protobuf >= 4.25.8, < 8.0.0",
51+
"proto-plus >= 1.26.1, <2.0.0",
52+
"protobuf >= 6.33.5, < 8.0.0",
5153
]
5254
extras = {}
5355
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ads-datamanager"

packages/google-ads-datamanager/testing/constraints-3.10.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# pinning their versions to their lower bounds.
55
# For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0",
66
# then this file should have google-cloud-foo==1.14.0
7-
google-api-core==2.17.1
7+
google-api-core==2.24.2
88
google-auth==2.14.1
99
grpcio==1.59.0
10-
proto-plus==1.22.3
11-
protobuf==4.25.8
10+
proto-plus==1.26.1
11+
protobuf==6.33.5

packages/google-ads-datamanager/testing/constraints-3.13.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

packages/google-ads-datamanager/testing/constraints-3.14.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ google-api-core>=2
99
google-auth>=2
1010
grpcio>=1
1111
proto-plus>=1
12-
protobuf>=6
12+
protobuf>=7

0 commit comments

Comments
 (0)