Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zdaemon for openSUSE:Factory 
checked in at 2025-09-15 19:53:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zdaemon (Old)
 and      /work/SRC/openSUSE:Factory/.python-zdaemon.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zdaemon"

Mon Sep 15 19:53:30 2025 rev:29 rq:1304818 version:5.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zdaemon/python-zdaemon.changes    
2025-05-31 19:16:51.250726753 +0200
+++ /work/SRC/openSUSE:Factory/.python-zdaemon.new.1977/python-zdaemon.changes  
2025-09-15 19:57:35.282905846 +0200
@@ -1,0 +2,8 @@
+Mon Sep 15 11:39:36 UTC 2025 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 5.2.1
+  * Replace ``pkg_resources`` with ``importlib.metadata`` to access
+    package metadata.
+- Update BuildRequires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  zdaemon-5.2.tar.gz

New:
----
  zdaemon-5.2.1.tar.gz

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

Other differences:
------------------
++++++ python-zdaemon.spec ++++++
--- /var/tmp/diff_new_pack.veGxYJ/_old  2025-09-15 19:57:35.810928751 +0200
+++ /var/tmp/diff_new_pack.veGxYJ/_new  2025-09-15 19:57:35.814928925 +0200
@@ -19,7 +19,7 @@
 %{?sle15_python_module_pythons}
 %define modname zdaemon
 Name:           python-%{modname}
-Version:        5.2
+Version:        5.2.1
 Release:        0
 Summary:        Daemon process control library and tools
 License:        ZPL-2.1
@@ -29,7 +29,6 @@
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module manuel}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  %{python_module zc.customdoctests}
 BuildRequires:  %{python_module zope.testing}

++++++ zdaemon-5.2.tar.gz -> zdaemon-5.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/CHANGES.rst new/zdaemon-5.2.1/CHANGES.rst
--- old/zdaemon-5.2/CHANGES.rst 2025-05-19 08:55:49.000000000 +0200
+++ new/zdaemon-5.2.1/CHANGES.rst       2025-07-23 16:10:31.000000000 +0200
@@ -2,6 +2,12 @@
 Change log
 ==========
 
+5.2.1 (2025-07-23)
+==================
+
+- Replace ``pkg_resources`` with ``importlib.metadata`` to access package
+  metadata.
+
 5.2 (2025-05-19)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/PKG-INFO new/zdaemon-5.2.1/PKG-INFO
--- old/zdaemon-5.2/PKG-INFO    2025-05-19 08:55:51.080628000 +0200
+++ new/zdaemon-5.2.1/PKG-INFO  2025-07-23 16:10:33.651421800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zdaemon
-Version: 5.2
+Version: 5.2.1
 Summary: Daemon process control library and tools for Unix-based systems
 Home-page: https://github.com/zopefoundation/zdaemon
 Author: Zope Foundation and Contributors
@@ -23,7 +23,6 @@
 Requires-Python: >=3.9
 License-File: LICENSE.txt
 Requires-Dist: ZConfig
-Requires-Dist: setuptools
 Provides-Extra: test
 Requires-Dist: manuel; extra == "test"
 Requires-Dist: zc.customdoctests; extra == "test"
@@ -570,6 +569,12 @@
 Change log
 ==========
 
+5.2.1 (2025-07-23)
+==================
+
+- Replace ``pkg_resources`` with ``importlib.metadata`` to access package
+  metadata.
+
 5.2 (2025-05-19)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/setup.py new/zdaemon-5.2.1/setup.py
--- old/zdaemon-5.2/setup.py    2025-05-19 08:55:49.000000000 +0200
+++ new/zdaemon-5.2.1/setup.py  2025-07-23 16:10:31.000000000 +0200
@@ -36,7 +36,7 @@
 
 setup(
     name="zdaemon",
-    version='5.2',
+    version='5.2.1',
     url="https://github.com/zopefoundation/zdaemon";,
     license="ZPL 2.1",
     description="Daemon process control library and tools for Unix-based 
systems",  # noqa: E501 line too long
@@ -75,7 +75,6 @@
     python_requires='>=3.9',
     install_requires=[
         "ZConfig",
-        "setuptools"
     ],
     extras_require=dict(test=tests_require),
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/src/zdaemon/tests/tests.py 
new/zdaemon-5.2.1/src/zdaemon/tests/tests.py
--- old/zdaemon-5.2/src/zdaemon/tests/tests.py  2025-05-19 08:55:49.000000000 
+0200
+++ new/zdaemon-5.2.1/src/zdaemon/tests/tests.py        2025-07-23 
16:10:31.000000000 +0200
@@ -14,6 +14,7 @@
 
 import doctest
 import glob
+import importlib.util
 import os
 import re
 import shutil
@@ -34,15 +35,15 @@
 import zdaemon
 
 
-try:
-    import pkg_resources
-    zdaemon_loc = pkg_resources.working_set.find(
-        pkg_resources.Requirement.parse('zdaemon')).location
-    zconfig_loc = pkg_resources.working_set.find(
-        pkg_resources.Requirement.parse('ZConfig')).location
-except (ModuleNotFoundError, AttributeError):
-    zdaemon_loc = os.path.dirname(os.path.dirname(zdaemon.__file__))
-    zconfig_loc = os.path.dirname(os.path.dirname(ZConfig.__file__))
+_zdaemon_spec = importlib.util.find_spec('zdaemon')
+_zdaemon_origin = _zdaemon_spec.origin if _zdaemon_spec else zdaemon.__file__
+_zdaemon_package_dir = os.path.dirname(_zdaemon_origin)
+zdaemon_loc = os.path.dirname(_zdaemon_package_dir)
+
+_zconfig_spec = importlib.util.find_spec('ZConfig')
+_zconfig_origin = _zconfig_spec.origin if _zconfig_spec else ZConfig.__file__
+_zconfig_package_dir = os.path.dirname(_zconfig_origin)
+zconfig_loc = os.path.dirname(_zconfig_package_dir)
 
 
 def write(name, text):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/src/zdaemon/zdoptions.py 
new/zdaemon-5.2.1/src/zdaemon/zdoptions.py
--- old/zdaemon-5.2/src/zdaemon/zdoptions.py    2025-05-19 08:55:49.000000000 
+0200
+++ new/zdaemon-5.2.1/src/zdaemon/zdoptions.py  2025-07-23 16:10:31.000000000 
+0200
@@ -14,12 +14,11 @@
 """Option processing for zdaemon and related code."""
 
 import getopt
+import importlib.metadata
 import os
 import signal
 import sys
 
-import pkg_resources
-
 import ZConfig
 
 
@@ -68,7 +67,7 @@
         self.required_map = {}
         self.environ_map = {}
         self.zconfig_options = []
-        self.version = pkg_resources.get_distribution("zdaemon").version
+        self.version = importlib.metadata.version("zdaemon")
         self.add(None, None, "h", "help", self.help)
         self.add(None, None, None, "version", self.print_version)
         self.add("configfile", None, "C:", "configure=")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/src/zdaemon.egg-info/PKG-INFO 
new/zdaemon-5.2.1/src/zdaemon.egg-info/PKG-INFO
--- old/zdaemon-5.2/src/zdaemon.egg-info/PKG-INFO       2025-05-19 
08:55:51.000000000 +0200
+++ new/zdaemon-5.2.1/src/zdaemon.egg-info/PKG-INFO     2025-07-23 
16:10:33.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zdaemon
-Version: 5.2
+Version: 5.2.1
 Summary: Daemon process control library and tools for Unix-based systems
 Home-page: https://github.com/zopefoundation/zdaemon
 Author: Zope Foundation and Contributors
@@ -23,7 +23,6 @@
 Requires-Python: >=3.9
 License-File: LICENSE.txt
 Requires-Dist: ZConfig
-Requires-Dist: setuptools
 Provides-Extra: test
 Requires-Dist: manuel; extra == "test"
 Requires-Dist: zc.customdoctests; extra == "test"
@@ -570,6 +569,12 @@
 Change log
 ==========
 
+5.2.1 (2025-07-23)
+==================
+
+- Replace ``pkg_resources`` with ``importlib.metadata`` to access package
+  metadata.
+
 5.2 (2025-05-19)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-5.2/src/zdaemon.egg-info/requires.txt 
new/zdaemon-5.2.1/src/zdaemon.egg-info/requires.txt
--- old/zdaemon-5.2/src/zdaemon.egg-info/requires.txt   2025-05-19 
08:55:51.000000000 +0200
+++ new/zdaemon-5.2.1/src/zdaemon.egg-info/requires.txt 2025-07-23 
16:10:33.000000000 +0200
@@ -1,5 +1,4 @@
 ZConfig
-setuptools
 
 [test]
 manuel

Reply via email to