| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0953133 commit 6642263
34 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,12 +29,12 @@ else: | |||
| 29 | 29 | release_status = "Development Status :: 5 - Production/Stable" | |
| 30 | 30 | ||
| 31 | 31 | dependencies = [ | |
| 32 | - "google-api-core[grpc] >= 2.10.0, < 3.0.0", | ||
| 32 | + "google-api-core[grpc] >= 2.24.2, < 3.0.0", | ||
| 33 | 33 | "google-auth >= 2.14.1, <3.0.0", | |
| 34 | 34 | "googleapis-common-protos >= 1.53.0", | |
| 35 | 35 | "grpcio >= 1.10.0", | |
| 36 | - "proto-plus >= 1.22.3, <2.0.0", | ||
| 37 | - "protobuf >= 4.25.8, < 8.0.0", | ||
| 36 | + "proto-plus >= 1.26.1, <2.0.0", | ||
| 37 | + "protobuf >= 6.33.5, < 8.0.0", | ||
| 38 | 38 | {% if api.requires_package(('google', 'iam', 'v1')) %} | |
| 39 | 39 | "grpc-google-iam-v1", | |
| 40 | 40 | {% endif %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,7 +69,7 @@ else: # pragma: NO COVER | |||
| 69 | 69 | ||
| 70 | 70 | def parse_version_to_tuple(version_string: str): | |
| 71 | 71 | """Safely converts a semantic version string to a comparable tuple of integers. | |
| 72 | - Example: "4.25.8" -> (4, 25, 8) | ||
| 72 | + Example: "6.33.5" -> (6, 33, 5) | ||
| 73 | 73 | Ignores non-numeric parts and handles common version formats. | |
| 74 | 74 | Args: | |
| 75 | 75 | version_string: Version string in the format "x.y.z" or "x.y.z<suffix>" | |
@@ -98,9 +98,9 @@ else: # pragma: NO COVER | |||
| 98 | 98 | return (None, "--") | |
| 99 | 99 | ||
| 100 | 100 | _dependency_package = "google.protobuf" | |
| 101 | - _next_supported_version = "4.25.8" | ||
| 102 | - _next_supported_version_tuple = (4, 25, 8) | ||
| 103 | - _recommendation = " (we recommend 6.x)" | ||
| 101 | + _next_supported_version = "6.33.5" | ||
| 102 | + _next_supported_version_tuple = (6, 33, 5) | ||
| 103 | + _recommendation = " (we recommend 7.x)" | ||
| 104 | 104 | (_version_used, _version_used_string) = _get_version(_dependency_package) | |
| 105 | 105 | if _version_used and _version_used < _next_supported_version_tuple: | |
| 106 | 106 | warnings.warn(f"Package {_package_label} depends on " + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,14 +7,14 @@ allowed version. | |||
| 7 | 7 | --> | |
| 8 | 8 | {% set pypi_packages = { | |
| 9 | 9 | ("google", "apps", "card", "v1"): {"package_name": "google-apps-card", "lower_bound": "0.3.0", "upper_bound": "1.0.0"}, | |
| 10 | - ("google", "apps", "script", "type"): {"package_name": "google-apps-script-type", "lower_bound": "0.2.0", "upper_bound": "1.0.0"}, | ||
| 11 | - ("google", "geo", "type"): {"package_name": "google-geo-type", "lower_bound": "0.1.0", "upper_bound": "1.0.0"}, | ||
| 12 | - ("google", "identity", "accesscontextmanager", "v1"): {"package_name": "google-cloud-access-context-manager", "lower_bound": "0.2.0", "upper_bound": "1.0.0"}, | ||
| 13 | - ("google", "cloud", "documentai", "v1"): {"package_name": "google-cloud-documentai", "lower_bound": "2.4.1", "upper_bound": "4.0.0"}, | ||
| 14 | - ("google", "cloud", "kms", "v1"): {"package_name": "google-cloud-kms", "lower_bound": "2.13.0", "upper_bound": "4.0.0"}, | ||
| 15 | - ("google", "cloud", "osconfig", "v1"): {"package_name": "google-cloud-os-config", "lower_bound": "1.13.0", "upper_bound": "2.0.0"}, | ||
| 16 | - ("google", "iam", "v1"): {"package_name": "grpc-google-iam-v1", "lower_bound": "0.14.0", "upper_bound": "1.0.0"}, | ||
| 17 | - ("google", "iam", "v2"): {"package_name": "google-cloud-iam", "lower_bound": "2.12.2", "upper_bound": "3.0.0"}, | ||
| 10 | + ("google", "apps", "script", "type"): {"package_name": "google-apps-script-type", "lower_bound": "0.3.14", "upper_bound": "1.0.0"}, | ||
| 11 | + ("google", "geo", "type"): {"package_name": "google-geo-type", "lower_bound": "0.3.12", "upper_bound": "1.0.0"}, | ||
| 12 | + ("google", "identity", "accesscontextmanager", "v1"): {"package_name": "google-cloud-access-context-manager", "lower_bound": "0.2.2", "upper_bound": "1.0.0"}, | ||
| 13 | + ("google", "cloud", "documentai", "v1"): {"package_name": "google-cloud-documentai", "lower_bound": "3.2.1", "upper_bound": "4.0.0"}, | ||
| 14 | + ("google", "cloud", "kms", "v1"): {"package_name": "google-cloud-kms", "lower_bound": "3.4.1", "upper_bound": "4.0.0"}, | ||
| 15 | + ("google", "cloud", "osconfig", "v1"): {"package_name": "google-cloud-os-config", "lower_bound": "1.20.1", "upper_bound": "2.0.0"}, | ||
| 16 | + ("google", "iam", "v1"): {"package_name": "grpc-google-iam-v1", "lower_bound": "0.14.2", "upper_bound": "1.0.0"}, | ||
| 17 | + ("google", "iam", "v2"): {"package_name": "google-cloud-iam", "lower_bound": "2.18.2", "upper_bound": "3.0.0"}, | ||
| 18 | 18 | ("google", "shopping", "type"): {"package_name": "google-shopping-type", "lower_bound": "1.0.0", "upper_bound": "2.0.0"} | |
| 19 | 19 | } | |
| 20 | 20 | %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,16 +33,15 @@ else: | |||
| 33 | 33 | release_status = "Development Status :: 5 - Production/Stable" | |
| 34 | 34 | ||
| 35 | 35 | dependencies = [ | |
| 36 | - "google-api-core[grpc] >= 2.17.1, <3.0.0", | ||
| 36 | + "google-api-core[grpc] >= 2.24.2, <3.0.0", | ||
| 37 | 37 | # Exclude incompatible versions of `google-auth` | |
| 38 | 38 | # See https://github.com/googleapis/google-cloud-python/issues/12364 | |
| 39 | 39 | "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", | |
| 40 | 40 | "grpcio >= 1.59.0, < 2.0.0", | |
| 41 | 41 | "grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'", | |
| 42 | - "proto-plus >= 1.22.3, <2.0.0", | ||
| 43 | - "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", | ||
| 42 | + "proto-plus >= 1.26.1, <2.0.0", | ||
| 44 | 43 | {# Explicitly exclude protobuf versions mentioned in https://cloud.google.com/support/bulletins#GCP-2022-019 #} | |
| 45 | - "protobuf >= 4.25.8, < 8.0.0", | ||
| 44 | + "protobuf >= 6.33.5, < 8.0.0", | ||
| 46 | 45 | {% for package_tuple, package_info in pypi_packages.items() %} | |
| 47 | 46 | {# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #} | |
| 48 | 47 | {% if api.naming.warehouse_package_name != package_info.package_name %} | |
@@ -55,7 +54,6 @@ dependencies = [ | |||
| 55 | 54 | extras = { | |
| 56 | 55 | {% if rest_async_io_enabled %} | |
| 57 | 56 | "async_rest": [ | |
| 58 | - "google-api-core[grpc] >= 2.21.0, < 3.0.0", | ||
| 59 | 57 | "google-auth[aiohttp] >= 2.35.0, <3.0.0" | |
| 60 | 58 | ], | |
| 61 | 59 | {% endif %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,11 +8,11 @@ | |||
| 8 | 8 | # pinning their versions to their lower bounds. | |
| 9 | 9 | # For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0", | |
| 10 | 10 | # then this file should have google-cloud-foo==1.14.0 | |
| 11 | - google-api-core==2.21.0 | ||
| 11 | + google-api-core==2.24.2 | ||
| 12 | 12 | google-auth==2.35.0 | |
| 13 | 13 | grpcio==1.59.0 | |
| 14 | - proto-plus==1.22.3 | ||
| 15 | - protobuf==4.25.8 | ||
| 14 | + proto-plus==1.26.1 | ||
| 15 | + protobuf==6.33.5 | ||
| 16 | 16 | {% for package_tuple, package_info in pypi_packages.items() %} | |
| 17 | 17 | {# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #} | |
| 18 | 18 | {% if api.naming.warehouse_package_name != package_info.package_name %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,11 +5,11 @@ | |||
| 5 | 5 | # pinning their versions to their lower bounds. | |
| 6 | 6 | # For example, if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0", | |
| 7 | 7 | # then this file should have google-cloud-foo==1.14.0 | |
| 8 | - google-api-core==2.17.1 | ||
| 8 | + google-api-core==2.24.2 | ||
| 9 | 9 | google-auth==2.14.1 | |
| 10 | 10 | grpcio==1.59.0 | |
| 11 | - proto-plus==1.22.3 | ||
| 12 | - protobuf==4.25.8 | ||
| 11 | + proto-plus==1.26.1 | ||
| 12 | + protobuf==6.33.5 | ||
| 13 | 13 | {% for package_tuple, package_info in pypi_packages.items() %} | |
| 14 | 14 | {# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #} | |
| 15 | 15 | {% if api.naming.warehouse_package_name != package_info.package_name %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ google-api-core | |||
| 3 | 3 | googleapis-common-protos | |
| 4 | 4 | jinja2 | |
| 5 | 5 | MarkupSafe | |
| 6 | - protobuf>=4.25.8 | ||
| 6 | + protobuf>=6.33.5 # for CVE-2026-0994. See https://github.com/advisories/GHSA-7gcm-g887-7qv7 and https://protobuf.dev/support/version-support/#python | ||
| 7 | 7 | pypandoc | |
| 8 | 8 | PyYAML | |
| 9 | 9 | grpc-google-iam-v1 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,17 +28,17 @@ | |||
| 28 | 28 | # Ensure that the lower bounds of these dependencies match what we have in the | |
| 29 | 29 | # templated setup.py.j2: https://github.com/googleapis/gapic-generator-python/blob/main/gapic/templates/setup.py.j2 | |
| 30 | 30 | "click >= 6.7", | |
| 31 | - "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.*", | ||
| 32 | - "googleapis-common-protos >= 1.55.0", | ||
| 33 | - "grpcio >= 1.24.3", | ||
| 31 | + "google-api-core[grpc] >= 2.24.2, < 3.0.0", | ||
| 32 | + "googleapis-common-protos >= 1.55.0, < 2.0.0", | ||
| 33 | + "grpcio >= 1.24.3, < 2.0.0", | ||
| 34 | 34 | # 2.11.0 is required which adds the `default` argument to `jinja-filters.map()` | |
| 35 | 35 | # https://jinja.palletsprojects.com/en/3.0.x/templates/#jinja-filters.map | |
| 36 | 36 | # https://jinja.palletsprojects.com/en/2.11.x/changelog/#version-2-11-0 | |
| 37 | 37 | "jinja2 >= 2.11", | |
| 38 | - "protobuf >= 4.25.8, < 8.0.0", | ||
| 38 | + "protobuf >= 6.33.5, < 8.0.0", | ||
| 39 | 39 | "pypandoc >= 1.4", | |
| 40 | 40 | "PyYAML >= 5.1.1", | |
| 41 | - "grpc-google-iam-v1 >= 0.14.0, < 1.0.0", | ||
| 41 | + "grpc-google-iam-v1 >= 0.14.2, < 1.0.0", | ||
| 42 | 42 | "libcst >= 0.4.9, < 2.0.0", | |
| 43 | 43 | "inflection >= 0.5.1, < 1.0.0", | |
| 44 | 44 | ] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -129,7 +129,7 @@ | |||
| 129 | 129 | ||
| 130 | 130 | def parse_version_to_tuple(version_string: str): | |
| 131 | 131 | """Safely converts a semantic version string to a comparable tuple of integers. | |
| 132 | - Example: "4.25.8" -> (4, 25, 8) | ||
| 132 | + Example: "6.33.5" -> (6, 33, 5) | ||
| 133 | 133 | Ignores non-numeric parts and handles common version formats. | |
| 134 | 134 | Args: | |
| 135 | 135 | version_string: Version string in the format "x.y.z" or "x.y.z<suffix>" | |
@@ -158,9 +158,9 @@ def _get_version(dependency_name): | |||
| 158 | 158 | return (None, "--") | |
| 159 | 159 | ||
| 160 | 160 | _dependency_package = "google.protobuf" | |
| 161 | - _next_supported_version = "4.25.8" | ||
| 162 | - _next_supported_version_tuple = (4, 25, 8) | ||
| 163 | - _recommendation = " (we recommend 6.x)" | ||
| 161 | + _next_supported_version = "6.33.5" | ||
| 162 | + _next_supported_version_tuple = (6, 33, 5) | ||
| 163 | + _recommendation = " (we recommend 7.x)" | ||
| 164 | 164 | (_version_used, _version_used_string) = _get_version(_dependency_package) | |
| 165 | 165 | if _version_used and _version_used < _next_supported_version_tuple: | |
| 166 | 166 | warnings.warn(f"Package {_package_label} depends on " + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,18 +39,17 @@ | |||
| 39 | 39 | release_status = "Development Status :: 5 - Production/Stable" | |
| 40 | 40 | ||
| 41 | 41 | dependencies = [ | |
| 42 | - "google-api-core[grpc] >= 2.17.1, <3.0.0", | ||
| 42 | + "google-api-core[grpc] >= 2.24.2, <3.0.0", | ||
| 43 | 43 | # Exclude incompatible versions of `google-auth` | |
| 44 | 44 | # See https://github.com/googleapis/google-cloud-python/issues/12364 | |
| 45 | 45 | "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", | |
| 46 | 46 | "grpcio >= 1.59.0, < 2.0.0", | |
| 47 | 47 | "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 | - "google-cloud-access-context-manager >= 0.2.0, <1.0.0", | ||
| 52 | - "google-cloud-os-config >= 1.13.0, <2.0.0", | ||
| 53 | - "grpc-google-iam-v1 >= 0.14.0, <1.0.0", | ||
| 48 | + "proto-plus >= 1.26.1, <2.0.0", | ||
| 49 | + "protobuf >= 6.33.5, < 8.0.0", | ||
| 50 | + "google-cloud-access-context-manager >= 0.2.2, <1.0.0", | ||
| 51 | + "google-cloud-os-config >= 1.20.1, <2.0.0", | ||
| 52 | + "grpc-google-iam-v1 >= 0.14.2, <1.0.0", | ||
| 54 | 53 | ] | |
| 55 | 54 | extras = { | |
| 56 | 55 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments