From c066874f0f173680fe0ee7562d22bd5d3bf27d7c9dbf04ac9ac1d35119289a33 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 10 Nov 2025 12:38:09 +0000 Subject: [PATCH] - Update to 1.72.0 * add common_resources.proto (#14851) * add field api_version to message ServiceForTransport (#14843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-googleapis-common-protos?expand=0&rev=62 --- .gitattributes | 23 ++ .gitignore | 1 + googleapis_common_protos-1.70.0.tar.gz | 3 + googleapis_common_protos-1.71.0.tar.gz | 3 + googleapis_common_protos-1.72.0.tar.gz | 3 + python-googleapis-common-protos.changes | 286 ++++++++++++++++++++++++ python-googleapis-common-protos.spec | 75 +++++++ test_google_api_error_reason.py | 18 ++ 8 files changed, 412 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 googleapis_common_protos-1.70.0.tar.gz create mode 100644 googleapis_common_protos-1.71.0.tar.gz create mode 100644 googleapis_common_protos-1.72.0.tar.gz create mode 100644 python-googleapis-common-protos.changes create mode 100644 python-googleapis-common-protos.spec create mode 100644 test_google_api_error_reason.py diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/googleapis_common_protos-1.70.0.tar.gz b/googleapis_common_protos-1.70.0.tar.gz new file mode 100644 index 0000000..0fae373 --- /dev/null +++ b/googleapis_common_protos-1.70.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e1b44e0ea153e6594f9f394fef15193a68aaaea2d843f83e2742717ca753257 +size 145903 diff --git a/googleapis_common_protos-1.71.0.tar.gz b/googleapis_common_protos-1.71.0.tar.gz new file mode 100644 index 0000000..29ef5bd --- /dev/null +++ b/googleapis_common_protos-1.71.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aec01e574e29da63c80ba9f7bbf1ccfaacf1da877f23609fe236ca7c72a2e2e +size 146454 diff --git a/googleapis_common_protos-1.72.0.tar.gz b/googleapis_common_protos-1.72.0.tar.gz new file mode 100644 index 0000000..573d37f --- /dev/null +++ b/googleapis_common_protos-1.72.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e55a601c1b32b52d7a3e65f43563e2aa61bcd737998ee672ac9b951cd49319f5 +size 147433 diff --git a/python-googleapis-common-protos.changes b/python-googleapis-common-protos.changes new file mode 100644 index 0000000..ac4cc45 --- /dev/null +++ b/python-googleapis-common-protos.changes @@ -0,0 +1,286 @@ +------------------------------------------------------------------- +Mon Nov 10 09:49:52 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.72.0 + * add common_resources.proto (#14851) + * add field api_version to message ServiceForTransport (#14843) + +------------------------------------------------------------------- +Wed Oct 22 12:00:24 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.71.0 + * add support for Python 3.14 (#14699) + +------------------------------------------------------------------- +Wed May 14 09:53:32 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.70.0 + * Expand QuotaFailure with quota error details (#13745) + +------------------------------------------------------------------- +Thu Apr 3 06:20:30 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.69.2 + * Allow protobuf 6.x (b4d4551) + * Remove setup.cfg configuration for creating universal wheels (#13659) + * Resolve issue where pre-release versions of dependencies are installed (b4d4551) + * Set `include` in `tool.setuptools.packages.find` (#13662) +- Fix changelog entry for previous version +- Update GitHub URL in URL field + +------------------------------------------------------------------- +Tue Mar 18 07:54:38 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.69.1 + * Exclude docs in tool.setuptools.packages.find (#13607) + * Restore *.proto files removed in version 1.67.0 (#13614) +- from version 1.69.0 + * Migrate to pyproject.toml (#13551) +- Update Recommends from pyproject.toml + +------------------------------------------------------------------- +Mon Feb 24 12:56:01 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.68.0 + * Add field `experimental_features` to message `PythonSettings` (#249) + * Add FieldInfo.referenced_types for generics (#247) +- from version 1.67.0 + * A new field `unversioned_package_disabled` is added to message + `.google.api.PythonSettings` (eb554e8) + * Add support for field generate_omitted_as_internal in selective + gapic generation (#13482) + * A comment for field `content` in message `.google.api.Page` is + changed (eb554e8) + * A comment for message `RoutingRule` is changed (eb554e8) + +------------------------------------------------------------------- +Wed Dec 11 19:28:49 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.66.0 + * Add `MISSING_ORIGIN` and `OVERLOADED_CREDENTIALS` to + `ErrorReason` enum (d0478d8) + * Add field `protobuf_pythonic_types_enabled` to + `ExperimentalFeatures` message (d0478d8) + * Add field `selective_gapic_generation` to + `CommonLanguageSettings` message (d0478d8) + * Add field `time_series_resource_hierarchy_level` to + `MetricDescriptorMetadata` message (d0478d8) + * Add message `SelectiveGapicGeneration` (d0478d8) + +------------------------------------------------------------------- +Tue Sep 3 13:21:42 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.65.0 + * Add field `experimental_features` to message `PythonSettings` (#249) +- from version 1.64.0 + * Add FieldInfo.referenced_types for generics (2ba3577) + * Un-deprecate Endpoint.aliases field (2ba3577) + * Fix formatting in http.proto comments (2ba3577) + * Improve MethodSettings selector examples (2ba3577) + * Reformat comments in context proto (2ba3577) + * Update ResourceDescriptor.plural docs with AIP-122 + nested collections guidance (2ba3577) +- Adjust upstream source name in spec file +- Remove unnecessary %{modname} and %{pkgname} variables + +------------------------------------------------------------------- +Thu Jul 4 09:00:28 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.63.2 + * **deps:** Require protobuf >= 3.20.2 (c77c0dc) + * Regenerate pb2 files for compatibility with protobuf 5.x (c77c0dc) + +------------------------------------------------------------------- +Mon Jun 24 12:01:02 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.63.1 + * Increase upper limit for protobuf 5.X versions (#212) + +------------------------------------------------------------------- +Sun Apr 7 09:12:09 UTC 2024 - Dirk Müller + +- update to 1.63.0: + * Add `api_version` field to `ServiceOptions` in + `google/api/client.proto` + * Add `LOCATION_POLICY_VIOLATED` enum to `ErrorReason` in + `google/api/error_reason.proto` + * Add `rest_reference_documentation_uri` field to + `ServiceOptions` in `google/api/client.proto` + +------------------------------------------------------------------- +Tue Mar 5 20:29:09 UTC 2024 - Robert Schweikert + +- Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later + +------------------------------------------------------------------- +Mon Feb 26 18:48:07 UTC 2024 - Robert Schweikert + +- Version update in SLE 15 SP4 and later (jsc#PED-6697) + +------------------------------------------------------------------- +Sat Dec 16 20:52:40 UTC 2023 - Dirk Müller + +- update to 1.62.0: + * Add `auto_populated_fields` field of `MethodSettings` in + `google/api/client_pb2` (#194) + * Add support for Python 3.12 (#192) + * Migrate to native namespace packages (#187) + +------------------------------------------------------------------- +Wed Dec 6 13:32:51 UTC 2023 - John Paul Adrian Glaubitz + +- Update to 1.61.0 + * Add `google/api/field_info.proto` (2d39f37) + * Add `IDENTIFIER` to `FieldBehavior` enum (2d39f37) + +------------------------------------------------------------------- +Thu Aug 17 10:35:01 UTC 2023 - John Paul Adrian Glaubitz + +- Update to 1.60.0 + * Add `google/api/policy.proto` (b2cb5c2) + * Add `method_policies` to `Control` (b2cb5c2) + +------------------------------------------------------------------- +Sun Jul 2 12:30:42 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Tue Jun 20 10:02:02 UTC 2023 - John Paul Adrian Glaubitz + +- Update to 1.59.1 + * Invalid `dev` version identifiers in `setup.py` (#166), closes (#165) + +------------------------------------------------------------------- +Wed Apr 5 12:43:09 UTC 2023 - John Paul Adrian Glaubitz + +- Update to 1.59.0 + * Add overrides_by_request_protocol to BackendRule + in google/api/backend.proto (77376dd) + * Add proto_reference_documentation_uri to Publishing + in google/api/client.proto (77376dd) + * Add SERVICE_NOT_VISIBLE and GCP_SUSPENDED to ErrorReason + in google/api/error_reason.proto (77376dd) + * Use rst syntax in readme (77376dd) + +------------------------------------------------------------------- +Thu Mar 2 12:50:41 UTC 2023 - John Paul Adrian Glaubitz + +- Update to 1.58.0 + * Add google/rpc/context/audit_context.proto (41f1529) + * Add google/rpc/http.proto (41f1529) + +------------------------------------------------------------------- +Thu Jan 5 20:36:41 UTC 2023 - Dirk Müller + +- update to v1.57.1: + * Mark reference_docs_uri field in google/api/client.proto as deprecated + +------------------------------------------------------------------- +Thu Dec 1 13:19:12 UTC 2022 - John Paul Adrian Glaubitz + +- Update to 1.57.0: + * Add support for Python 3.10 (#143) + * Add support for Python 3.11 (#145) + * Added google.api.JwtLocation.cookie (6af2132) + * Added google.api.Service.publishing and client libraries settings (6af2132) + * New fields in enum google.api.ErrorReason (6af2132) + * Deprecate google.api.BackendRule.min_deadline (6af2132) + * **deps:** Require protobuf >=3.19.5 (#141) + * Minor updates to comments (6af2132) +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- +Thu Sep 8 09:25:23 UTC 2022 - John Paul Adrian Glaubitz + +- Update to 1.56.4: + * require python 3.7+ (#119) +- from version 1.56.3: + * **deps:** allow protobuf < 5.0.0 (#112) + * fix changelog header to consistent size (#108) +- from version 1.56.2: + * **deps:** require grpcio >= 1.0.0, <2.0.0dev (4a402ce) + * **deps:** require protobuf>= 3.15.0, <4.0.0dev (#105) +- from version 1.56.1: + * **deps:** require protobuf >=1.15.0 (f04ed64) + * include tests directory (#103) + * regenerate pb2 files using the latest version of grpcio-tools (f04ed64) +- Rename README.md to README.rst in %doc section +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- +Mon Apr 25 09:17:13 UTC 2022 - Matej Cepl + +- Upgrade to 1.56.0: + - add google/api/error_reason.proto (62c04b8) + - add google/api/visibility.proto (62c04b8) + - add google/type/decimal.proto (62c04b8) + - add google/type/interval.proto (62c04b8) + - add google/type/localized_text.proto (62c04b8) + - add google/type/phone_number.proto (62c04b8) + - update all protos and pb2 files (62c04b8) + - expose all names in longrunning _pb2's (#90) (09e9ccd) + - re-generate pb2 files (#87) (6260547) + - re-generate pb2 files using grpcio-tools<1.44.0 (#93) (76bb9f6) + - remove deprecated fields aliases and features from google/api/endpoint.proto (62c04b8) +- Upgrade to 1.55.0: + - add location proto files. (#84) (9a33e56) +- Upgrade to 1.54.0: + - add extended_operations.proto (#77) (bc85849) + - add google/api/routing.proto (#75) (1ae0bbc) +- Upgrade to 1.53.0: + - add google.api.ResourceDescriptor.Style (4ce679c) + - add API method signatures to longrunning operations (8de7ae2) + - add gapic_metadata_pb2 (#38) (8de7ae2) + - add UNORDERED_LIST to field options (8de7ae2) + - add WaitOperation method to longrunning operations (8de7ae2) + - add google.api.ResourceDescriptor.Style (4ce679c) + - require python >=3.6 and (#31) (4ce679c) + - add create_key to FieldDescriptors (4ce679c) + - Generate gRPC files for long-running operations (#13) (a9ce288) + - add link to PyPI (#10) (3f79402) + - add create_key to FieldDescriptors (4ce679c) + - Generate gRPC files for long-running operations (#13) (a9ce288) + - add link to PyPI (#10) (3f79402) + +------------------------------------------------------------------- +Wed Sep 23 13:16:52 UTC 2020 - Dirk Mueller + +- update to 1.52.0 + * create api-common-protos repo for python common protos + +------------------------------------------------------------------- +Wed Apr 8 12:14:23 UTC 2020 - Marketa Calabkova + +- Update to 1.51.0 + * Adding RetryPolicy to pubsub.proto + * API definition for (not-yet-launched) GCS gRPC. + * And many many more (the commit log is just too long to read) + +------------------------------------------------------------------- +Mon Aug 12 14:07:33 UTC 2019 - Marketa Calabkova + +- Update to 1.6.0 + * no upstream changelog + +------------------------------------------------------------------- +Tue Mar 26 13:55:15 UTC 2019 - Tomáš Chvátal + +- Update to 1.5.9: + * no upstream changelog + +------------------------------------------------------------------- +Fri Mar 15 12:30:42 UTC 2019 - Tomáš Chvátal + +- Update to 1.5.8: + * no upstream changelog + +------------------------------------------------------------------- +Tue Dec 4 12:48:34 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri May 18 04:45:46 UTC 2018 - tbechtold@suse.com + +- Initial packaging (version 1.5.3) diff --git a/python-googleapis-common-protos.spec b/python-googleapis-common-protos.spec new file mode 100644 index 0000000..60c826f --- /dev/null +++ b/python-googleapis-common-protos.spec @@ -0,0 +1,75 @@ +# +# spec file for package python-googleapis-common-protos +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-googleapis-common-protos +Version: 1.72.0 +Release: 0 +Summary: Common protobufs used in Google APIs +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/googleapis/google-cloud-python/tree/main/packages/googleapis-common-protos +Source: https://files.pythonhosted.org/packages/source/g/googleapis_common_protos/googleapis_common_protos-%{version}.tar.gz +Source1: test_google_api_error_reason.py +BuildRequires: %{python_module pip} +BuildRequires: %{python_module protobuf >= 3.20.2} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-protobuf >= 3.20.2 +Recommends: python-grpcio >= 1.44.0 +BuildArch: noarch +%if 0%{?sle_version} >= 150400 +Obsoletes: python3-googleapis-common-protos < %{version} +%endif +%python_subpackages + +%description +googleapis-common-protos contains the python classes generated from the common +protos in the googleapis_ repository. + +%prep +%autosetup -p1 -n googleapis_common_protos-%{version} + +install -p -D -t tests/unit %{SOURCE1} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.rst +%dir %{python_sitelib}/google +%{python_sitelib}/google/type +%{python_sitelib}/google/longrunning +%{python_sitelib}/google/rpc +%{python_sitelib}/google/logging +%{python_sitelib}/google/api +%{python_sitelib}/google/gapic +%{python_sitelib}/google/cloud +%{python_sitelib}/googleapis_common_protos-%{version}*-info + +%changelog diff --git a/test_google_api_error_reason.py b/test_google_api_error_reason.py new file mode 100644 index 0000000..76123de --- /dev/null +++ b/test_google_api_error_reason.py @@ -0,0 +1,18 @@ +# Copyright 2022 Google LLC All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + + +def test_error_reason(): + from google.api import error_reason_pb2