public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grpc] rawhide: Add buildtime and runtime dependency on python3-pkg-resources
@ 2026-06-05 15:32
0 siblings, 0 replies; only message in thread
From: @ 2026-06-05 15:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/grpc
Branch : rawhide
Commit : 1790ce7e86c69f7e37f7fe9eed1431cc1a4a5b29
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-06-05T15:31:57+00:00
Stats : +2/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/grpc/c/1790ce7e86c69f7e37f7fe9eed1431cc1a4a5b29?branch=rawhide
Log:
Add buildtime and runtime dependency on python3-pkg-resources
grpc_tools/protoc.py and grpc_tools/command.py
use pkg_resources at runtime without a try-except guard.
Build fails without it with:
Traceback (most recent call last):
File "/builddir/build/BUILD/grpc-1.48.4-build/grpc-1.48.4/setup.py", line 43, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Assisted-By: Claude Opus 4.6
---
diff --git a/grpc.spec b/grpc.spec
index 7a5dc58..74d08c4 100644
--- a/grpc.spec
+++ b/grpc.spec
@@ -242,6 +242,7 @@ BuildRequires: gdb
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
+BuildRequires: python3-pkg-resources
# grpcio (setup.py) setup_requires (with
# GRPC_PYTHON_ENABLE_DOCUMENTATION_BUILD, which is NOT enabled):
@@ -682,6 +683,7 @@ Python language bindings for gRPC (HTTP/2-based RPC framework).
%package -n python3-grpcio-tools
Summary: Package for gRPC Python tools
+Requires: python3-pkg-resources
# License: same as base package
Provides: bundled(upb)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-05 15:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05 15:32 [rpms/grpc] rawhide: Add buildtime and runtime dependency on python3-pkg-resources
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox