17
0
Files
python-google-cloud-pubsub/python-google-cloud-pubsub.spec
Robert Schweikert 07b9276ae2 - Update to 2.34.0
* support mTLS certificates when available (#1566)
- from version 2.33.0
  * Add AwsKinesisFailureReason.ApiViolationReason (ac68093)
  * Add tags to Subscription, Topic, and CreateSnapshotRequest messages
    for use in CreateSubscription, CreateTopic, and CreateSnapshot requests
    respectively (ac68093)
  * Annotate some resource fields with their corresponding API types (ac68093)
  * Deprecate credentials_file argument (ac68093)
  * A comment for field `received_messages` in message
    `.google.pubsub.v1.StreamingPullResponse` is changed (ac68093)
- from version 2.32.0
  * Adds Python 3.14 support (#1512)
  * Debug logs (#1460)
  * Support the protocol version in StreamingPullRequest (#1455)
  * Ignore future warnings on python versions (#1546)
- Stop installing fixup scripts which have been removed upstream
- Update BuildRequires from setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-pubsub?expand=0&rev=5
2026-01-15 14:55:21 +00:00

88 lines
3.2 KiB
RPMSpec

#
# spec file for package python-google-cloud-pubsub
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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-google-cloud-pubsub
Version: 2.34.0
Release: 0
Summary: Google Cloud Pub/Sub API client library
License: Apache-2.0
URL: https://github.com/googleapis/python-pubsub
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-pubsub/google_cloud_pubsub-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module google-api-core >= 1.34.0}
BuildRequires: %{python_module google-auth >= 2.14.1}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.4}
BuildRequires: %{python_module grpcio >= 1.51.3 if %python-base < 3.14}
BuildRequires: %{python_module grpcio >= 1.75.1 if %python-base >= 3.14}
BuildRequires: %{python_module grpcio-status >= 1.33.2}
BuildRequires: %{python_module opentelemetry-api >= 1.27.0}
BuildRequires: %{python_module opentelemetry-sdk >= 1.27.0}
BuildRequires: %{python_module proto-plus >= 1.22.0}
BuildRequires: %{python_module proto-plus >= 1.22.2}
BuildRequires: %{python_module proto-plus >= 1.25.0}
BuildRequires: %{python_module protobuf >= 3.20.2}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-google-api-core >= 1.34.0
Requires: python-google-auth >= 2.14.1
Requires: python-grpc-google-iam-v1 >= 0.12.4
Requires: python-grpcio >= 1.51.3
Requires: python-grpcio-status >= 1.33.2
Requires: python-opentelemetry-api >= 1.27.0
Requires: python-opentelemetry-sdk >= 1.27.0
Requires: python-proto-plus >= 1.22.0
Requires: python-proto-plus >= 1.22.2
Requires: python-proto-plus >= 1.25.0
Requires: python-protobuf >= 3.20.2
Suggests: python-libcst >= 0.3.10
BuildArch: noarch
%python_subpackages
%description
Google Cloud Pub/Sub API client library
%prep
%autosetup -p1 -n google_cloud_pubsub-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
#%%pytest
%files %{python_files}
%{python_sitelib}/google/pubsub
%{python_sitelib}/google/cloud/pubsub
%{python_sitelib}/google/pubsub_v1
%{python_sitelib}/google/cloud/pubsub_v1
%{python_sitelib}/google_cloud_pubsub-%{version}.dist-info
%changelog