public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-googleapis-common-protos] rawhide: rebase to 1.75.5
@ 2026-10-28 2:24
0 siblings, 0 replies; only message in thread
From: @ 2026-10-28 2:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-googleapis-common-protos
Branch : rawhide
Commit : 71bf90c5bf8bc9a11d2d237609c6233d6995a621
Author : Miroslav Suchý <msuchy@redhat.com>
Date : 2026-10-21T15:54:30+02:00
Stats : +24/-58 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-googleapis-common-protos/c/71bf90c5bf8bc9a11d2d237609c6233d6995a621?branch=rawhide
Log:
rebase to 1.75.5
---
diff --git a/.gitignore b/.gitignore
index 08ec882..6bba1a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,5 @@
/python-api-common-protos-1.61.0.tar.gz
/python-api-common-protos-1.62.0.tar.gz
/python-api-common-protos-1.63.0.tar.gz
+/googleapis_common_protos-1.75.5.tar.gz
+/googleapis-common-protos-1.75.5.tar.gz
diff --git a/212.patch b/212.patch
deleted file mode 100644
index 770ea13..0000000
--- a/212.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From eed0a44aa3ac6b7bd88d7091ffe815876e558d27 Mon Sep 17 00:00:00 2001
-From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
-Date: Tue, 26 Mar 2024 09:24:03 +0100
-Subject: [PATCH] build: increase upper limit for protobuf 5.X versions
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 772e26b..ec17bb4 100644
---- a/setup.py
-+++ b/setup.py
-@@ -24,7 +24,7 @@
- version = "1.63.0"
- release_status = "Development Status :: 5 - Production/Stable"
- dependencies = [
-- "protobuf>=3.19.5,<5.0.0.dev0,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
-+ "protobuf>=3.19.5,<6.0.0.dev0,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
- ]
-
- extras_require = {"grpc": ["grpcio >= 1.44.0, <2.0.0.dev0"]}
diff --git a/python-googleapis-common-protos.spec b/python-googleapis-common-protos.spec
index 85f42d1..c57516b 100644
--- a/python-googleapis-common-protos.spec
+++ b/python-googleapis-common-protos.spec
@@ -3,30 +3,28 @@
# When bootstrapping, we do not include the “grpc” extra in the BR’s. That adds
# a BR on python3dist(grpcio), but this package is required by
# python3dist(grpcio-status), which creates a circular dependency with grpc.
-%bcond_with bootstrap
+# Flip this back to with when grpc >= 1.59 is built
+%bcond_without bootstrap
Name: python-googleapis-common-protos
-Version: 1.63.0
+Version: 1.75.5
Release: %autorelease
Summary: Common protobufs used in Google APIs
License: Apache-2.0
-URL: https://github.com/googleapis/python-api-common-protos
-Source: %{url}/archive/v%{version}/python-api-common-protos-%{version}.tar.gz
-
-# fix: increase upper limit for protobuf 5.X versions
-# https://github.com/googleapis/python-api-common-protos/pull/212
-Patch: %{url}/pull/212.patch
-
+URL: https://github.com/googleapis/google-cloud-python
+Source: %{pypi_source googleapis-common-protos}
BuildArch: noarch
-
BuildRequires: python3-devel
-# grpc does not work with new protobuf and uses protobuf3
-# we have to use python3-protobuf3 otherwise this happens
-# https://bugzilla.redhat.com/show_bug.cgi?id=2530520
-BuildRequires: python3-protobuf3
-%if %{with tests}
+BuildSystem: pyproject
+BuildOption(install): -l google
+%if %{without bootstrap}
+BuildOption(generate_buildrequires): -x grpc
+%endif
+
+
+%if 0%{with tests}
BuildRequires: python3dist(pytest)
%endif
@@ -42,37 +40,25 @@ Summary: %{summary}
%description -n python3-googleapis-common-protos %{common_description}
+%if %{without bootstrap}
%pyproject_extras_subpkg -n python3-googleapis-common-protos grpc
-
-
-%prep
-%autosetup -n python-api-common-protos-%{version} -p1
-
-
-%generate_buildrequires
-%pyproject_buildrequires %{?!with_bootstrap:-x grpc}
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files -l google
-
+%endif
%check
+%if %{with bootstrap}
+%pyproject_check_import -e "google.longrunning.operations_grpc*" -e "google.longrunning.operations_pb2_grpc"
+%else
+%pyproject_check_import
+%endif
%if %{with tests}
# NOTE(mhayden): Setting PYTHONUSERBASE as a hack for PEP 420 namespaces.
# Thanks to churchyard for the fix.
PYTHONUSERBASE=%{buildroot}%{_prefix} \
- %pytest tests/unit
+ %pytest tests/unit %{?with_bootstrap:--ignore=tests/unit/test_operations.py}
%endif
%files -n python3-googleapis-common-protos -f %{pyproject_files}
-%doc CHANGELOG.md
%doc README.rst
diff --git a/sources b/sources
index 22c6930..76c6a88 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-api-common-protos-1.63.0.tar.gz) = 138c2cdeeeffaa89288a73fea31dbb3c6982d84ca475c3cd756841ca4a27c5f5f5794d4f04707e58be0800dd5121728e295eb4c0ea190d9cb1b3d2877f0f8b23
+SHA512 (googleapis-common-protos-1.75.5.tar.gz) = 8399eb4a26f26bd840595d642103d9d2cc1c33dbc974c884f07bd645a2c030199dec7bf984502ba73e3d7becdd049e7b8697b02e718bf10ddd4b855cde2ee8a5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 2:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 2:24 [rpms/python-googleapis-common-protos] rawhide: rebase to 1.75.5
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox