public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pew] rawhide: Add runtime dependency on python3-pkg-resources
@ 2026-07-14 13:14 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-14 13:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pew
            Branch : rawhide
            Commit : 86c86fb8af6b6eb1b5e63fa1195e5fa5ba191da5
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-07-14T15:06:23+02:00
            Stats  : +8/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pew/c/86c86fb8af6b6eb1b5e63fa1195e5fa5ba191da5?branch=rawhide

            Log:
            Add runtime dependency on python3-pkg-resources

pew/pew.py uses pkg_resources at runtime
without a try-except guard.

Assisted-By: Claude Opus 4.6

---
diff --git a/pew.spec b/pew.spec
index e4502d6..f1fa6ca 100644
--- a/pew.spec
+++ b/pew.spec
@@ -2,7 +2,7 @@
 
 Name: pew
 Version: 1.2.0
-Release: 31%{?dist}
+Release: 32%{?dist}
 Summary: Tool to manage multiple virtualenvs written in pure Python
 
 License: MIT
@@ -52,6 +52,10 @@ BuildRequires: python3dist(pytest)
 BuildRequires: python3dist(pip)
 %endif
 
+# Imports pkg_resources at runtime
+# https://github.com/pew-org/pew/blob/1.2.0/pew/pew.py#L726
+Requires: python3-pkg-resources
+
 %{?python_provide:%python_provide python3-%{name}}
 
 %description
@@ -109,6 +113,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
 %{zsh_completions_dir}/_pew
 
 %changelog
+* Tue Jul 14 2026 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-32
+- Add runtime dependency on python3-pkg-resources
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.2.0-31
 - Rebuilt for Python 3.15
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-14 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 13:14 [rpms/pew] rawhide: Add 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