From patchwork Wed Nov 9 18:56:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6083 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4N6vPP3csLz3wgZ for ; Wed, 9 Nov 2022 18:58:17 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4N6vPB5wvmz2nG; Wed, 9 Nov 2022 18:58:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4N6vP940cKz30BV; Wed, 9 Nov 2022 18:58:05 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4N6vP75pG8z2yvw for ; Wed, 9 Nov 2022 18:58:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4N6vP748JSz2HW; Wed, 9 Nov 2022 18:58:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1668020283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XTOZ+OGqYWPcEhrNiK3JiSbO+jOHXPN2cj9DQ2WhYoY=; b=rWlfruhCirhS6MlfU9B3xGuzdJ/pW+3QiwonbYTazojmaqlS93wtN2UGd18lxXvW1VGi7y legkP1+jPOpNO9Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1668020283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XTOZ+OGqYWPcEhrNiK3JiSbO+jOHXPN2cj9DQ2WhYoY=; b=wrXEYUBXeUPyjqC085UEiJKUgZ0dOYjpBAGrGnEIs2yB39YKAHv0iS6ol2K1Z2GKHF0WWu QPUuNSaSXVZSGZGeBFZw3Veq5kYbQgFd4kMGWunAzy8s5Yxv4kMGZhucMjP0sriiSPX1z7 RHwoADRezyEjYGs5thwaFoN4QUCUMeFBhPVIrvIe0wi4LXsRBC2nhzsN2bN4v+jAj1b4zl Rg99rHr9vDjOtQJu6ml10BYPsRd/NP004F0ZrH2s1G1F2AeW/JJDy3plOi4Ieo0Xu0e+jg zdY+ZblL+u2/Pm5np4ueDn2djgOjulBQAYeZhx4Qhc1jCdySqz9fMEYnVDiwQg== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 05/48] python3-daemon: Update to version 2.3.1 and to work with python-3.10.8 Date: Wed, 9 Nov 2022 19:56:51 +0100 Message-Id: <20221109185734.3920-5-adolf.belka@ipfire.org> In-Reply-To: <20221109185734.3920-1-adolf.belka@ipfire.org> References: <20221109185734.3920-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 Signed-off-by: Adolf Belka --- config/rootfiles/common/python3-daemon | 14 +++++++------- lfs/python3-daemon | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) 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)