public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-lazr-delegates] epel9: Update to version 2.1.1; Resolves rhbz#2461121
Date: Mon, 22 Jun 2026 15:56:50 GMT	[thread overview]
Message-ID: <178214381027.1.11656696617302308055.rpms-python-lazr-delegates-02d670ccf077@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-lazr-delegates
            Branch : epel9
            Commit : 02d670ccf07740ef004b86c9fb7d8ef3d151365e
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-06-22T16:09:55+01:00
            Stats  : +31/-4 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-lazr-delegates/c/02d670ccf07740ef004b86c9fb7d8ef3d151365e?branch=epel9

            Log:
            Update to version 2.1.1; Resolves rhbz#2461121

- Add build requirement on python3-pkg-resources on Python >= 3.15;
  Resolves rhbz#2485885
- Enable Packit for future builds

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index e6006de..9d9e403 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /lazr.delegates-2.0.3.tar.gz
 /lazr.delegates-2.1.0.tar.gz
+/lazr_delegates-2.1.1.tar.gz

diff --git a/packit.yaml b/packit.yaml
new file mode 100644
index 0000000..fdf84eb
--- /dev/null
+++ b/packit.yaml
@@ -0,0 +1,16 @@
+# See the documentation for more information:
+# https://packit.dev/docs/configuration/
+
+copy_upstream_release_description: false
+
+jobs:
+- job: pull_from_upstream
+  trigger: release
+  dist_git_branches:
+    - fedora-rawhide
+
+- job: koji_build
+  trigger: commit
+  allowed_committers: ['packit']
+  dist_git_branches:
+    - fedora-rawhide

diff --git a/python-lazr-delegates.spec b/python-lazr-delegates.spec
index 28be88d..ef26bf1 100644
--- a/python-lazr-delegates.spec
+++ b/python-lazr-delegates.spec
@@ -1,14 +1,23 @@
 Name:           python-lazr-delegates
-Version:        2.1.0
+Version:        2.1.1
 Release:        %autorelease
 Summary:        Easily write objects that delegate behavior
 
 License:        LGPL-3.0-only
 URL:            https://launchpad.net/lazr.delegates
-Source:         %{pypi_source lazr.delegates}
+Source:         %{pypi_source lazr_delegates}
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
+%if 0%{?python3_version_nodots} >= 315
+# only needed for tests
+# at runtime there is a fallback if this is not available, though somehow
+# pkg_resources is still tried first
+# see
+# src/lazr/__init__.py:    import pkg_resources
+# src/lazr/delegates/tests/test_docs.py:from pkg_resources import (
+BuildRequires:  python3-pkg-resources
+%endif
 
 
 %global _description %{expand:
@@ -27,7 +36,7 @@ Summary:        %{summary}
 
 
 %prep
-%autosetup -p1 -n lazr.delegates-%{version}
+%autosetup -p1 -n lazr_delegates-%{version}
 
 
 %generate_buildrequires
@@ -50,6 +59,7 @@ Summary:        %{summary}
 
 %files -n python3-lazr-delegates -f %{pyproject_files}
 %{python3_sitelib}/lazr.delegates-%{version}-py%{python3_version}-nspkg.pth
+%exclude %{python3_sitelib}/lazr/delegates/tests
 
 
 %changelog

diff --git a/sources b/sources
index 51927ce..0b500a4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lazr.delegates-2.1.0.tar.gz) = e8e081d71afed32aa8b8e898268d1e4a33be6bbdcad7778dfb000b9ad600ae9922032b6d13d066c55106ea403a5a25340fb9f8e1fe3ee246732247cbb3fd108b
+SHA512 (lazr_delegates-2.1.1.tar.gz) = f1d15bd66e9e049c2d26776c855ef4b09ff257cc11cb6b96b9924c247dcf35b52576e052927f5fd1317104d76d6fc1fdc1471af8d856db7d8e001fef7ee820e1

                 reply	other threads:[~2026-06-22 15:56 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=178214381027.1.11656696617302308055.rpms-python-lazr-delegates-02d670ccf077@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=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