Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-decopatch for 
openSUSE:Factory checked in at 2026-09-28 10:38:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-decopatch (Old)
 and      /work/SRC/openSUSE:Factory/.python-decopatch.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-decopatch"

Mon Sep 28 10:38:56 2026 rev:2 rq:1380282 version:1.4.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-decopatch/python-decopatch.changes        
2024-11-22 23:54:10.260012392 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-decopatch.new.383539/python-decopatch.changes
    2026-09-28 10:40:11.933231353 +0200
@@ -1,0 +2,8 @@
+Thu Sep 24 05:54:49 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch no-more-pkg-resources.patch:
+  * Do not use pkg_resources in setup.py
+- Fix Summary.
+- Ship README and LICENSE in the built packages.
+
+-------------------------------------------------------------------

New:
----
  no-more-pkg-resources.patch

----------(New B)----------
  New:
- Add patch no-more-pkg-resources.patch:
  * Do not use pkg_resources in setup.py
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-decopatch.spec ++++++
--- /var/tmp/diff_new_pack.gYio3A/_old  2026-09-28 10:40:13.279287797 +0200
+++ /var/tmp/diff_new_pack.gYio3A/_new  2026-09-28 10:40:13.281287881 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decopatch
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,21 +20,22 @@
 Name:           python-decopatch
 Version:        1.4.10
 Release:        0
-Summary:        python decorators made easy.
+Summary:        Python decorators made easy
 License:        BSD-3-Clause
 URL:            https://github.com/smarie/python-decopatch
 Source0:        
https://files.pythonhosted.org/packages/source/d/decopatch/decopatch-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+# PATCH-FIX-UPSTREAM https://github.com/smarie/python-decopatch/pull/39
+Patch0:         no-more-pkg-resources.patch
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module makefun}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 BuildRequires:  fdupes
-
 # https://github.com/smarie/python-decopatch/blob/main/setup.cfg#L36
 Requires:       python-makefun >= 1.5.0
 BuildArch:      noarch
@@ -61,7 +62,8 @@
 # hence checks are disabled
 
 %files %{python_files}
-%{python_sitelib}/decopatch/
-%pycache_only %{python_sitelib}/decopatch/__pycache__/
-%{python_sitelib}/decopatch-%{version}.dist-info/
+%doc README.md
+%license LICENSE
+%{python_sitelib}/decopatch
+%{python_sitelib}/decopatch-%{version}.dist-info
 

++++++ no-more-pkg-resources.patch ++++++
>From b7df2e54d8aa3e56bca05d8b59de4e9352618f45 Mon Sep 17 00:00:00 2001
From: Serhii Tereshchenko <[email protected]>
Date: Mon, 9 Feb 2026 15:36:17 +0200
Subject: [PATCH] fix: pkg_resources is no longer available

Refs https://setuptools.pypa.io/en/latest/history.html#v82-0-0
---
 setup.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/setup.py b/setup.py
index ab1583e..f533213 100644
--- a/setup.py
+++ b/setup.py
@@ -15,13 +15,6 @@
 from setuptools import setup
 
 
-# (1) check required versions (from 
https://medium.com/@daveshawley/safely-using-setup-cfg-for-metadata-1babbe54c108)
-import pkg_resources
-
-pkg_resources.require("setuptools>=39.2")
-pkg_resources.require("setuptools_scm")
-
-
 # (2) Generate download url using git version
 from setuptools_scm import get_version  # noqa: E402
 

Reply via email to