14
0

- update to 2.3.1:

* Avoid operations on a closed stream file when detecting a socket.
  * Correct use of names to allow `from daemon import *`.
  Changed:
  * Speed daemon start time by computing candidate file descriptors once.
  * Remove incorrect double-patch of objects in test cases.
  * Deprecate helper function `is_socket`.
  * Drop backward-compatible helpers that provided Python 2 support.
    * declaration of source encoding ‘utf-8’
    * absolute_import
    * unicode_literals
    * module-level metaclass `type`
    * unification of str with unicode type
    * renamed standard library exceptions and modules
    * raise exception from context exception
    All these are default behaviour in Python 3 and need no special
    handling.
- drop remove_safe_hasattr.patch, remove_double_patch.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=35
This commit is contained in:
2022-10-01 17:20:52 +00:00
committed by Git OBS Bridge
parent 148200a2f4
commit f948ebdd79
4 changed files with 26 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bda993f1623b1197699716d68d983bb580043cf2b8a66a01274d9b8297b0aeaf
size 82831

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15c2c5e2cef563e0a5f98d542b77ba59337380b472975d2b2fd6b8c4d5cf46ca
size 82856

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sat Oct 1 17:17:04 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.3.1:
* Avoid operations on a closed stream file when detecting a socket.
* Correct use of names to allow `from daemon import *`.
Changed:
* Speed daemon start time by computing candidate file descriptors once.
* Remove incorrect double-patch of objects in test cases.
* Deprecate helper function `is_socket`.
* Drop backward-compatible helpers that provided Python 2 support.
* declaration of source encoding utf-8
* absolute_import
* unicode_literals
* module-level metaclass `type`
* unification of str with unicode type
* renamed standard library exceptions and modules
* raise exception from context exception
All these are default behaviour in Python 3 and need no special
handling.
- drop remove_safe_hasattr.patch, remove_double_patch.patch (upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 19 08:26:41 UTC 2022 - ecsos <ecsos@opensuse.org> Sat Mar 19 08:26:41 UTC 2022 - ecsos <ecsos@opensuse.org>

View File

@@ -19,19 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1 %global skip_python2 1
Name: python-python-daemon Name: python-python-daemon
Version: 2.3.0 Version: 2.3.1
Release: 0 Release: 0
Summary: Library to implement a well-behaved Unix daemon process Summary: Library to implement a well-behaved Unix daemon process
License: Apache-2.0 AND GPL-3.0-only License: Apache-2.0 AND GPL-3.0-only
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://pagure.io/python-daemon/ URL: https://pagure.io/python-daemon/
Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz
# PATCH-FIX-UPSTREAM remove_safe_hasattr.patch https://pagure.io/python-daemon/issue/53 mcepl@suse.com
# testtools.helpers.safe_hasattr has been removed and should never be mentioned again
Patch0: remove_safe_hasattr.patch
# PATCH-FIX-UPSTREAM remove_double_patch.patch https://pagure.io/python-daemon/issue/62 mcepl@suse.com
# some objects were mocked twice
Patch1: remove_double_patch.patch
BuildRequires: %{python_module docutils} BuildRequires: %{python_module docutils}
BuildRequires: %{python_module importlib_resources} BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module lockfile >= 0.10} BuildRequires: %{python_module lockfile >= 0.10}