[05/48] python3-daemon: Update to version 2.3.1 and to work with python-3.10.8

Message ID 20221109185734.3920-5-adolf.belka@ipfire.org
State Accepted
Commit d8c94dabb588c2160e68a4ee6b95ec8c36587b5d
Headers
Series [01/48] python3: Update to version 3.10.8 |

Commit Message

Adolf Belka Nov. 9, 2022, 6:56 p.m. UTC
  - Updated from version 2.3.0 to 2.3.1
- Update of rootfile
- Changelog
    Version 2.3.1
	Bugs Fixed:
		* Avoid operations on a closed stream file when detecting a socket.
		  Closes: Pagure #64. Thanks to Mark Richman for the report.
		* Correct use of names to allow `from daemon import *`.
		  Closes: Pagure #65. Thanks to July Tikhonov for the report.
	Changed:
		* Speed daemon start time by computing candidate file descriptors once.
		  Closes: Pagure #40. Thanks to Alex Pyrgiotis for the report.
		* Remove incorrect double-patch of objects in test cases.
		  Closes: Pagure #62. Thanks to Miro Hrončok for the report.
		* Deprecate helper function `is_socket`.
		  The function incorrectly causes `ValueError` when the file object is already
		  closed. Migrate to the new `is_socket_file` helper function instead.
	Removed:
		* 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.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/python3-daemon | 14 +++++++-------
 lfs/python3-daemon                     |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/python3-daemon b/config/rootfiles/common/python3-daemon
index 24ec26c0b..80d074b8e 100644
--- a/config/rootfiles/common/python3-daemon
+++ b/config/rootfiles/common/python3-daemon
@@ -4,10 +4,10 @@  usr/lib/python3.10/site-packages/daemon/_metadata.py
 usr/lib/python3.10/site-packages/daemon/daemon.py
 usr/lib/python3.10/site-packages/daemon/pidfile.py
 usr/lib/python3.10/site-packages/daemon/runner.py
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info/PKG-INFO
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info/SOURCES.txt
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info/dependency_links.txt
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info/not-zip-safe
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info/requires.txt
-#usr/lib/python3.10/site-packages/python_daemon-2.3.0-py3.10.egg-info/top_level.txt
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info/PKG-INFO
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info/SOURCES.txt
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info/dependency_links.txt
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info/not-zip-safe
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info/requires.txt
+#usr/lib/python3.10/site-packages/python_daemon-2.3.1-py3.10.egg-info/top_level.txt
diff --git a/lfs/python3-daemon b/lfs/python3-daemon
index f5825ccfe..d72c71efc 100644
--- a/lfs/python3-daemon
+++ b/lfs/python3-daemon
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.3.0
+VER        = 2.3.1
 
 THISAPP    = python-daemon-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 6e7fa082a513827283f46044347dfd445633db0d1781a33aa1bc5b14c340da784310ae6bd07d6cf3673cd05cb14a9d090ab51857d26cca52d09bc8c3b195360f
+$(DL_FILE)_BLAKE2 = d1ede5fde50f179b0bf3e3ed89bd988469bae1f57667ab601d44452706a84264f55fc9beb89226e5fb1bb6d92f88fc2a5c2497628de16990407a0e01cfbacd84
 
 install : $(TARGET)