public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-gearbox] f44: Add runtime and buildtime dependency on python3-pkg-resources
Date: Thu, 04 Jun 2026 07:07:52 GMT	[thread overview]
Message-ID: <178055687282.1.1655869274731360189.rpms-python-gearbox-d44be521a709@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-gearbox
            Branch : f44
            Commit : d44be521a709011ed5f171cbe5b3ed8fbb6677e8
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-05-12T18:24:07+02:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-gearbox/c/d44be521a709011ed5f171cbe5b3ed8fbb6677e8?branch=f44

            Log:
            Add runtime and buildtime dependency on python3-pkg-resources

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

Assisted-By: Claude Opus 4.6

---
diff --git a/python-gearbox.spec b/python-gearbox.spec
index 81ae49c..af66f58 100644
--- a/python-gearbox.spec
+++ b/python-gearbox.spec
@@ -14,6 +14,7 @@ Source0:            %pypi_source
 BuildArch:          noarch
 
 BuildRequires:      python3-devel
+BuildRequires:      python3-pkg-resources
 BuildRequires:      python3-pytest
 BuildRequires:      python3-legacy-cgi
 
@@ -28,6 +29,7 @@ TurboGears projects.\
 
 %package -n python3-gearbox
 Summary:            Command line toolkit born as a PasteScript replacement for TurboGears2
+Requires:           python3-pkg-resources
 
 %description -n python3-gearbox
 gearbox is a paster command replacement for TurboGears2. It has been

                 reply	other threads:[~2026-06-04  7:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178055687282.1.1655869274731360189.rpms-python-gearbox-d44be521a709@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox