public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-py] main: Add runtime dependency on python3-pkg-resources
Date: Sat, 01 Aug 2026 11:46:23 GMT	[thread overview]
Message-ID: <178558478381.1.1113311337312325150.rpms-python-py-c3a7007a5749@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-py
            Branch : main
            Commit : c3a7007a574903cf16c6bdc9a181e1b9a5e1b66c
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-08-01T13:40:25+02:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-py/c/c3a7007a574903cf16c6bdc9a181e1b9a5e1b66c?branch=main

            Log:
            Add runtime dependency on python3-pkg-resources

py/_vendored_packages/apipkg/__init__.py uses pkg_resources
at runtime without a try-except guard.

Assisted-By: Claude Opus 4.6

---
diff --git a/python-py.spec b/python-py.spec
index 0b49dd8..a897e00 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -2,7 +2,7 @@
 
 Name:           python-%{srcname}
 Version:        1.11.0
-Release:        22%{?dist}
+Release:        23%{?dist}
 Summary:        Library with cross-python path, ini-parsing, io, code, log facilities
 # Automatically converted from old format: MIT and Public Domain - review is highly recommended.
 License:        LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
@@ -26,6 +26,7 @@ following tools and modules:
 %package -n python3-%{srcname}
 Summary:        Library with cross-python path, ini-parsing, io, code, log facilities
 Requires:       python3-setuptools
+Requires:       python3-pkg-resources
 Provides:       bundled(python3-apipkg) = 2.0
 Provides:       bundled(python3-iniconfig) = 1.1.1
 Obsoletes:      platform-python-%{srcname} < %{version}-%{release}
@@ -81,6 +82,10 @@ sed -i -r -e '/\/py\/_vendored_packages\/.*(dist|egg)-info/d' %{pyproject_files}
 
 
 %changelog
+* Sat Aug 01 2026 Thomas Moschny  <thomas.moschny@gmx.de> - 1.11.0-23
+- Add runtime dependency on python3-pkg-resources (fix by
+  Miro Hrončok <mhroncok@redhat.com>)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-08-01 11:46 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=178558478381.1.1113311337312325150.rpms-python-py-c3a7007a5749@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