From patchwork Wed Feb 19 16:23:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 38847 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5F30D27BBE2; Wed, 19 Feb 2025 16:25:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F1F1A27BBE9 for ; Wed, 19 Feb 2025 16:25:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tkmsk-00057x-LV; Wed, 19 Feb 2025 11:25:07 -0500 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 1tkmsg-00050R-L3 for guix-patches@gnu.org; Wed, 19 Feb 2025 11:25:03 -0500 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 1tkmsg-00069k-6O for guix-patches@gnu.org; Wed, 19 Feb 2025 11:25:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=RPboRaZyi4a2xxP+mFzWOLHJt/h4/br8lB4b5empkMk=; b=fUmOTDbDVEEpx9glX3ERVVctULPzzGLfmcGYLkybQ5UnNPZOX+E+WX5rvUmMaIBMl/xDXo06Sk7wo2QVGcewM3kJaYVkWquhfV/JzHG5rNjbjE6KxStbAHKyKQKLZ9NHEaWR9dh0pgVPaUcKPqD7/i7EfVqBrhLVEBXVeDpVoiE9sxGmE2q/IctRqWSErj6vkgkxulBwC9a8c18xRpyQz0lnQmstl1ZnUfwl2HvYgbcZqSsItHhEnr8Doj5h81MGhQLfLHvT/P0KwK5U4oAzRE/sG7KAD4yns0w3Js6KlD+ZW+KmoWLI3ahSHi7QcCu/oGT+2SW8BPU1EnmisaNDNw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tkmsf-0007aj-U1 for guix-patches@gnu.org; Wed, 19 Feb 2025 11:25:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76416] [PATCH python-team 1/2] gnu: python-dill: Update to 0.3.9. References: <20250219162004.26385-1-ngraves@ngraves.fr> In-Reply-To: <20250219162004.26385-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Feb 2025 16:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76416@debbugs.gnu.org Cc: Nicolas Graves , sharlatanus@gmail.com Received: via spool by 76416-submit@debbugs.gnu.org id=B76416.173998224228801 (code B ref 76416); Wed, 19 Feb 2025 16:25:01 +0000 Received: (at 76416) by debbugs.gnu.org; 19 Feb 2025 16:24:02 +0000 Received: from localhost ([127.0.0.1]:49844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkmrh-0007UD-BJ for submit@debbugs.gnu.org; Wed, 19 Feb 2025 11:24:01 -0500 Received: from 17.mo581.mail-out.ovh.net ([188.165.35.227]:59309) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkmrc-0007TQ-8K for 76416@debbugs.gnu.org; Wed, 19 Feb 2025 11:23:58 -0500 Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.9.73]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4YyhXp1sGcz1Ndg for <76416@debbugs.gnu.org>; Wed, 19 Feb 2025 16:23:53 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-plntb (unknown [10.108.42.201]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5A49B1FEAC; Wed, 19 Feb 2025 16:23:53 +0000 (UTC) Received: from ngraves.fr ([37.59.142.113]) by ghost-submission-5b5ff79f4f-plntb with ESMTPSA id CbHwOpgFtmckRAEAFhwkcg (envelope-from ); Wed, 19 Feb 2025 16:23:53 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-113S0071faad964-09dd-4dbc-ba5f-3a355dbbaaf2, ECE0EE0EF1146AA175761D4A817BEFBB15551BF1) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Wed, 19 Feb 2025 17:23:46 +0100 Message-ID: <20250219162351.27443-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 403353643845542626 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeigeejvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpefgtdelhedvffdvleehkeekjedtudduuedvtdekieffudeiheegjeevgfffjeffkeenucffohhmrghinhepphihphhirdhorhhgnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejieegudeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedumgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=RPboRaZyi4a2xxP+mFzWOLHJt/h4/br8lB4b5empkMk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1739982234; v=1; b=lOgXvW5YgihiOJNU07ya3zzNxsIY0BBMs2zDSbQ3gDEUFz2kOoQ6nWJo4Ytnrb3xe3BZsyOO F5Vd6DfaNnSbqlBhpUe55CZ3M3Px/znt1KqxWi1vk9hTzG16MdmZkdpshKxhEm4nr2fa/qakW00 M4yM7PAC3sfE5VD/LolRCh5/0IL4bOd4KP4t7Rt2nWgYugqdHOF/T85rD2V9CzKvc/l5lnovBkO w47JYeAFB/w0lVu6jiIUDwGF9LGz2trtR0rccvjemkg31JaHhKku/uxYDu5KxvN8qMNsD5DZwhH crDAb++Bfh/HWYT/YJa8CkLnz0ZEaLhVB9lqtZ0AgHNbg== 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 X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-dill): Update to 0.3.9. [arguments]{phases}: Rewrite using gexp. Adapt 'check phase. [native-inputs]: Remove python-nose. --- gnu/packages/python-xyz.scm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 21107b6607..b25140896a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29924,24 +29924,25 @@ (define-public python-anndata (define-public python-dill (package (name "python-dill") - (version "0.3.6") + (version "0.3.9") (source (origin (method url-fetch) (uri (pypi-uri "dill" version)) (sha256 - (base32 "0wr37zwyiprrv29jcc1hl5cla72faiwfs0mhvbxxhmkqd3rmbnz5")))) + (base32 "0b2inivjahjlph54a70x6wi3pax4qsgclhlw0blbz37nvmyjdal1")))) (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (with-directory-excursion "/tmp" - (invoke "nosetests" "-v")))))))) + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + ;; Extracted from tox.ini + (invoke "python" "dill/tests/__main__.py") + (format #t "test suite not run~%"))))))) (native-inputs - (list python-nose python-setuptools python-wheel)) + (list python-setuptools python-wheel)) (home-page "https://pypi.org/project/dill/") (synopsis "Serialize all of Python") (description "Dill extends Python's @code{pickle} module for serializing From patchwork Wed Feb 19 16:23:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 38846 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6D2AE27BBE2; Wed, 19 Feb 2025 16:25:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A5A2B27BBEA for ; Wed, 19 Feb 2025 16:25:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tkmsm-0005DM-If; Wed, 19 Feb 2025 11:25:08 -0500 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 1tkmsh-00051k-7J for guix-patches@gnu.org; Wed, 19 Feb 2025 11:25:03 -0500 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 1tkmsg-00069s-ON for guix-patches@gnu.org; Wed, 19 Feb 2025 11:25:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=irXyHjHRKjdabhpTbxks39om1Hfq2OQvWh6ismlvxf4=; b=S+Fo8nZmeIccj4UbLAIdtdHZ5bznoUrFZnbB+tPBVLcF9/OGp+6RXCAM/5Hz9NqxREPIA03Gmi2t60kJZovfk+TjsAi5V1lBiKtEDRSHuF1ozBMcia8j7JbMEDWxppsYrY1UYjq5UHbG0BFF8zWiIa4kBN1WBQvCtaGJW4/h3c/PtzVzchEbh4Iqf1CgUspS6sWPXzyTo4pI+vBOvjdhsyiit4DWK+RIiSgK8FXCy+MFAaGCpGOKJPUr+2WVZYj8GAJ89WD6mVPzq94aJFc5E7AODYaMKuetZT4Nb0sLMnsiPbwCZCoIffc/gmt9BDRkqLDGl5RfNnEhLykqL0ACBA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tkmsg-0007at-Ge for guix-patches@gnu.org; Wed, 19 Feb 2025 11:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76416] [PATCH python-team 2/2] gnu: python-multiprocess: Update to 0.70.17. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Feb 2025 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76416@debbugs.gnu.org Cc: Nicolas Graves , sharlatanus@gmail.com Received: via spool by 76416-submit@debbugs.gnu.org id=B76416.173998224328814 (code B ref 76416); Wed, 19 Feb 2025 16:25:02 +0000 Received: (at 76416) by debbugs.gnu.org; 19 Feb 2025 16:24:03 +0000 Received: from localhost ([127.0.0.1]:49846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkmrh-0007UQ-VK for submit@debbugs.gnu.org; Wed, 19 Feb 2025 11:24:02 -0500 Received: from 2.mo582.mail-out.ovh.net ([46.105.76.65]:58039) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkmre-0007Td-7O for 76416@debbugs.gnu.org; Wed, 19 Feb 2025 11:23:59 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.2.21]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4YyhXq3T9yz1L1P for <76416@debbugs.gnu.org>; Wed, 19 Feb 2025 16:23:55 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-b42w8 (unknown [10.108.54.69]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C634F1FE62; Wed, 19 Feb 2025 16:23:54 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-5b5ff79f4f-b42w8 with ESMTPSA id HCW6GJoFtmfKQgEAivvc3g (envelope-from ); Wed, 19 Feb 2025 16:23:54 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R0037d6cee15-7e60-4685-a41b-a2c83fb0bedc, ECE0EE0EF1146AA175761D4A817BEFBB15551BF1) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Wed, 19 Feb 2025 17:23:47 +0100 Message-ID: <20250219162351.27443-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250219162351.27443-1-ngraves@ngraves.fr> References: <20250219162351.27443-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 403916592564396770 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeigeejvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggedpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeigeduieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=irXyHjHRKjdabhpTbxks39om1Hfq2OQvWh6ismlvxf4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1739982235; v=1; b=WJBepBf06B5jeecn1NvLr/jxYhxwJVbA0bCRgi5U86rvCBdHQd0DIAvbhHAG87X19cxFN5At L0+GrF9Dfe3roJUJ0H6pKX3AiB5mMUhCFs8mUC9CgxTAFeyHR+LnyiSX+GmdHv3z3pxsFy3mboM 5Te11wt85PKhGQccIiDgsKN0F5WLF0fRJ1sathPO66FPqkNaForxJAQ6NGJYZl2DelKMxWvUR9A SFkEN2AHdV/506/SiVq6g6TLiOSq6BkOR4T+uuhCyN4VcIjYCv3J1/ildkuiTnG+4fF0xrKSnHq M+LsdOho6q4hx56Ej0U1QSJMOvYAVz2O0rTn3dZJu3HAQ== 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 X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.17. [arguments]{phases}: Use gexps. Remove phase 'disable-broken-tests. Improve phase 'check. --- gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b25140896a..f738b2b00c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29959,39 +29959,43 @@ (define-public python-dill (define-public python-multiprocess (package (name "python-multiprocess") - (version "0.70.14") + (version "0.70.17") (source (origin (method url-fetch) (uri (pypi-uri "multiprocess" version)) (sha256 (base32 - "0splzd9w9yi42vl7b6mm99vb82jp2adhdrizw1xd4q125z0szp9y")))) + "0ypm9yj1ng1s96hk2iwll190dkpc2j5zras8kay9x00n6hdg3qja")))) (build-system pyproject-build-system) (arguments (list #:phases - '(modify-phases %standard-phases - (add-after 'unpack 'disable-broken-tests - (lambda _ - ;; The "wait_result" and "shared_memory..." tests are broken as - ;; there is no keyboard interrupt. - ;; - ;; The "preload_resources" test fails as it cannot find - ;; mp_preload.py. - (substitute* "py3.10/multiprocess/tests/__init__.py" - (("^(.*)def test_(\ + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-broken-tests + (lambda* (#:key inputs #:allow-other-keys) + ;; The "wait_result" and "shared_memory..." tests are broken as + ;; there is no keyboard interrupt. + ;; + ;; The "preload_resources" test fails as it cannot find + ;; mp_preload.py. + (substitute* + (string-append "py" (python-version + (assoc-ref inputs "python")) + "/multiprocess/tests/__init__.py") + (("^(.*)def test_(\ wait_result|\ shared_memory_SharedMemoryServer_ignores_sigint|\ preload_resources\ )" line indent) - (string-append indent - "@unittest.skip(\"Disabled by Guix\")\n" - line))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "multiprocess.tests"))))))) + (string-append indent + "@unittest.skip(\"Disabled by Guix\")\n" + line))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "multiprocess.tests") + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-dill)) (native-inputs (list python-setuptools python-wheel))