Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-daemon for openSUSE:Factory checked in at 2024-09-17 18:17:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-daemon (Old) and /work/SRC/openSUSE:Factory/.python-python-daemon.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-daemon" Tue Sep 17 18:17:42 2024 rev:32 rq:1201440 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-daemon/python-python-daemon.changes 2024-08-30 13:33:23.973021512 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-daemon.new.29891/python-python-daemon.changes 2024-09-17 18:17:49.734070649 +0200 @@ -1,0 +2,9 @@ +Mon Sep 16 14:17:18 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Revert to 3.0.1. Version 3.0.2 was yanked from pypi because it + breaks setuptools + (https://pagure.io/python-daemon/issue/94, https://pypi.org/project/python-daemon/3.0.2/) +- Add patch explicit-packaging.patch to fix issue with current + setuptools: https://pagure.io/python-daemon/issue/73 + +------------------------------------------------------------------- Old: ---- python_daemon-3.0.2.tar.gz New: ---- explicit-packaging.patch python-daemon-3.0.1.tar.gz BETA DEBUG BEGIN: New: (https://pagure.io/python-daemon/issue/94, https://pypi.org/project/python-daemon/3.0.2/) - Add patch explicit-packaging.patch to fix issue with current setuptools: https://pagure.io/python-daemon/issue/73 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-daemon.spec ++++++ --- /var/tmp/diff_new_pack.7JCgfr/_old 2024-09-17 18:17:50.350096168 +0200 +++ /var/tmp/diff_new_pack.7JCgfr/_new 2024-09-17 18:17:50.354096334 +0200 @@ -18,16 +18,21 @@ %{?sle15_python_module_pythons} Name: python-python-daemon -Version: 3.0.2 +Version: 3.0.1 Release: 0 Summary: Library to implement a well-behaved Unix daemon process License: Apache-2.0 AND GPL-3.0-only URL: https://pagure.io/python-daemon/ -Source: https://releases.pagure.org/python-daemon/python_daemon-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz +# Available since 3.0.2, that was yanked because of https://pagure.io/python-daemon/issue/94 +# Source: https://releases.pagure.org/python-daemon/python_daemon-%{version}.tar.gz +# PATCH-FIX-UPSTREAM explicit-packaging.patch https://pagure.io/python-daemon/c/d7bac6e +Patch0: explicit-packaging.patch BuildRequires: %{python_module docutils} BuildRequires: %{python_module lockfile >= 0.10} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testscenarios >= 0.4} BuildRequires: %{python_module testtools} BuildRequires: %{python_module wheel} @@ -49,7 +54,7 @@ instance as a context manager to enter a daemon state. %prep -%autosetup -p1 -n python_daemon-%{version} +%autosetup -p1 -n python-daemon-%{version} sed -i '/docutils/d' setup.py @@ -64,8 +69,8 @@ %pyunittest discover -v %files %{python_files} -%license LICENSE.ASF-2 LICENSE.GPL-3 COPYING -%doc README ChangeLog +%license LICENSE.ASF-2 LICENSE.GPL-3 +%doc README ChangeLog doc/* %{python_sitelib}/daemon -%{python_sitelib}/python_daemon-%{version}.dist-info +%{python_sitelib}/python_daemon-%{version}*-info ++++++ explicit-packaging.patch ++++++ Index: python-daemon-3.0.1/pyproject.toml =================================================================== --- python-daemon-3.0.1.orig/pyproject.toml +++ python-daemon-3.0.1/pyproject.toml @@ -10,7 +10,9 @@ # Minimum requirements for the build system. requires = [ "setuptools >=62.4.0", - "docutils"] + "packaging", + "docutils", + ] # Path to the Python object to perform the build. build-backend = "setuptools.build_meta" Index: python-daemon-3.0.1/setup.py =================================================================== --- python-daemon-3.0.1.orig/setup.py +++ python-daemon-3.0.1/setup.py @@ -60,10 +60,13 @@ setup_kwargs = dict( zip_safe=False, setup_requires=[ "docutils", + "setuptools", + "packaging", ], install_requires=[ "setuptools >=62.4.0", "lockfile >=0.10", + "packaging", ], python_requires=">=3", extras_require={ Index: python-daemon-3.0.1/test_version.py =================================================================== --- python-daemon-3.0.1.orig/test_version.py +++ python-daemon-3.0.1/test_version.py @@ -20,10 +20,10 @@ import unittest.mock import docutils import docutils.nodes import docutils.writers +from packaging.version import InvalidVersion import setuptools import setuptools.command import setuptools.dist -from setuptools.extern.packaging.version import InvalidVersion import testscenarios import testtools Index: python-daemon-3.0.1/version.py =================================================================== --- python-daemon-3.0.1.orig/version.py +++ python-daemon-3.0.1/version.py @@ -31,12 +31,12 @@ import re import sys import textwrap +import packaging.version import setuptools import setuptools.command.build import setuptools.command.build_py import setuptools.command.egg_info import setuptools.dist -import setuptools.extern.packaging.version def ensure_class_bases_begin_with(namespace, class_name, base_class): @@ -186,7 +186,7 @@ class ChangeLogEntry: # A valid non-version value. return None - valid_version = setuptools.extern.packaging.version.Version(value) + valid_version = packaging.version.Version(value) @classmethod def validate_maintainer(cls, value):