From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id mGohDu5UPWbRuQAAe85BDQ:P1 (envelope-from ) for ; Fri, 10 May 2024 00:57:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mGohDu5UPWbRuQAAe85BDQ (envelope-from ) for ; Fri, 10 May 2024 00:57:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715295470; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xxakS8qV2L2gc0VfwpD7LBVLrpdXY87+Tw8iRis5OiE=; b=rksgFo0JlwFWrzxjyrnpB6n+OSh6+w2HINN8uGmZl3PwFdwWerC9KsGYDcMbuuyDrEWcCU ophzEfa1L/MMYcEl04UD7HCcrZJNfVr5ojGcmEOjXQntKRmeJrrqUaocHDPjrkjnRrmCXl QqLd9ibamZ1XkntWg9sbiAz+NOIPIKu7v6waWo+mZWUXlD5oII2DRahW3mB2JoC9xEIl5y VM/K8NXHlLV2vt7OLZeKGg3Goujhdg4N468O1Npgo5aHjyrgUWu2gD2T/XVT2vxD4tVuNw DmFj1J6tUwehXdHUAvc9/t+2SQnGbsdYdLBzVBbQumMcg0hRS6WDJLBBigdhww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715295470; a=rsa-sha256; cv=none; b=Sx9HiWGn36s4X2QLMrnWqqOon4r8mDNassZ7zbuUOlmxVKMPpi/CVjCk54RbBCSo7G/uUs YC0Z2Ycy0Femu0SVdzx3ozctpVcI5MTRjZhQmAHnEX1xFQEkiMGCLjNzJtcm4bwx45nN7e BLV2F4+1xcMiW+hLS6cx5aWpOeHHXMGgJcx1bkoxn5g6I0v2xLWtSMFQIQNA0OLcYA1LRw O9h1/78vQ2C/hUdlynXxhINv5A8zaokWvMOxLfGP4eTOHNH2ZYA+aytWwM+g4v23592eBn hkahWcwsiGwe2+c6zzhcMMoUoq/YXpxeaA1WMdbSy6aapfEM7+TCEeaG+aLE5w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A29316B855 for ; Fri, 10 May 2024 00:57:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5ChS-0005vX-KQ; Thu, 09 May 2024 18:57:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5ChH-0005qF-25 for guix-patches@gnu.org; Thu, 09 May 2024 18:57:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5ChG-0006QD-Ql for guix-patches@gnu.org; Thu, 09 May 2024 18:57:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5ChF-0002eH-5L for guix-patches@gnu.org; Thu, 09 May 2024 18:57:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 09/92] gnu: python-aionotify: Update to 0.3.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 22:57:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70855@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70855-submit@debbugs.gnu.org id=B70855.17152953729786 (code B ref 70855); Thu, 09 May 2024 22:57:05 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:56:12 +0000 Received: from localhost ([127.0.0.1]:41048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5CgN-0002Xh-E9 for submit@debbugs.gnu.org; Thu, 09 May 2024 18:56:11 -0400 Received: from 12.mo550.mail-out.ovh.net ([87.98.162.229]:46785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5CgL-0002XN-37 for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:56:10 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.139.228]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6nP1Hkhz1Npl for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:56:09 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-jghmk (unknown [10.111.182.101]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D6A021FD53; Thu, 9 May 2024 22:56:08 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-6684bf9d7b-jghmk with ESMTPSA id K085LIhUPWYtwggAe7IgEQ (envelope-from ); Thu, 09 May 2024 22:56:08 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:53:04 +0200 Message-ID: <20240509225530.24649-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240509225530.24649-1-ngraves@ngraves.fr> References: <20240509225530.24649-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6091399972925858530 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddutdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-Migadu-Queue-Id: A29316B855 X-Migadu-Scanner: mx13.migadu.com X-TUID: ZopsaGtijQvY * gnu/packages/python-xyz.scm (python-aionotify): Update to 0.3.0. [build-system]: Move to pyproject-build-system. * gnu/packages/patches/python-aionotify-0.2.0-py3.8.patch : Remove patch. * gnu/local.mk: Remove patch. Change-Id: I9f13d6d71f69dd9877ac42e46b087989f23941e2 --- gnu/local.mk | 1 - .../python-aionotify-0.2.0-py3.8.patch | 48 ------------------- gnu/packages/python-xyz.scm | 13 +++-- 3 files changed, 6 insertions(+), 56 deletions(-) delete mode 100644 gnu/packages/patches/python-aionotify-0.2.0-py3.8.patch diff --git a/gnu/local.mk b/gnu/local.mk index 1f951d88ab1..9c61039239b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1920,7 +1920,6 @@ dist_patch_DATA = \ %D%/packages/patches/python-3-search-paths.patch \ %D%/packages/patches/python-3-fix-tests.patch \ %D%/packages/patches/python-3-hurd-configure.patch \ - %D%/packages/patches/python-aionotify-0.2.0-py3.8.patch \ %D%/packages/patches/python-cross-compile.patch \ %D%/packages/patches/python-configobj-setuptools.patch \ %D%/packages/patches/python-dateutil-pytest-compat.patch \ diff --git a/gnu/packages/patches/python-aionotify-0.2.0-py3.8.patch b/gnu/packages/patches/python-aionotify-0.2.0-py3.8.patch deleted file mode 100644 index ebeef34720a..00000000000 --- a/gnu/packages/patches/python-aionotify-0.2.0-py3.8.patch +++ /dev/null @@ -1,48 +0,0 @@ -Compatibility with Python 3.8, see upstream issue -https://github.com/rbarrois/aionotify/pull/15 - -diff --git a/setup.py b/setup.py -index 21a554f..094de64 100755 ---- a/setup.py -+++ b/setup.py -@@ -40,7 +40,7 @@ setup( - setup_requires=[ - ], - tests_require=[ -- 'asynctest', -+ 'asynctest; python_version<"3.8"', - ], - classifiers=[ - "Development Status :: 4 - Beta", -diff --git a/tests/test_usage.py b/tests/test_usage.py -index f156291..0476ff1 100644 ---- a/tests/test_usage.py -+++ b/tests/test_usage.py -@@ -8,7 +8,11 @@ import os.path - import tempfile - import unittest - --import asynctest -+try: -+ testBase = unittest.IsolatedAsyncioTestCase -+except AttributeError: -+ import asynctest -+ testBase = asynctest.TestCase - - import aionotify - -@@ -25,11 +29,13 @@ if AIODEBUG: - TESTDIR = os.environ.get('AIOTESTDIR') or os.path.join(os.path.dirname(__file__), 'testevents') - - --class AIONotifyTestCase(asynctest.TestCase): -+class AIONotifyTestCase(testBase): - forbid_get_event_loop = True - timeout = 3 - - def setUp(self): -+ if not getattr (self, 'loop', None): -+ self.loop = asyncio.get_event_loop() - if AIODEBUG: - self.loop.set_debug(True) - self.watcher = aionotify.Watcher() diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a28e4e72f21..e1e8ef7caa0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30515,23 +30515,22 @@ (define-public python-cson (define-public python-aionotify (package (name "python-aionotify") - (version "0.2.0") + (version "0.3.0") (source (origin ;; Source tarball on PyPi lacks tests (method git-fetch) (uri (git-reference (url "https://github.com/rbarrois/aionotify") - (commit (string-append "v" version)))) + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1sk9i8czxgsbrswsf1nlb4c82vgnlzi8zrvrxdip92w2z8hqh43y")) - (patches (search-patches "python-aionotify-0.2.0-py3.8.patch")))) - (build-system python-build-system) + (base32 "0qkzwccv8k6mx1yvc0hmsgnzgb4vh8h97kq7i64ic6xzxkd57vkz")))) + (build-system pyproject-build-system) (home-page "https://github.com/rbarrois/aionotify") - (synopsis "Asyncio-powered inotify library") + (synopsis "inotify library for Python") (description - "@code{aionotify} is a simple, asyncio-based inotify library.") + "@code{python-aionotify} is a simple, asyncio-based inotify library.") (license license:bsd-3))) (define-public python-forbiddenfruit -- 2.41.0