From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YD+sMeXGB2UnGAEAG6o9tA:P1 (envelope-from ) for ; Mon, 18 Sep 2023 05:41:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YD+sMeXGB2UnGAEAG6o9tA (envelope-from ) for ; Mon, 18 Sep 2023 05:41:25 +0200 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 339086203F for ; Mon, 18 Sep 2023 05:41:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=SlBLNrCP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695008485; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6KSFjD4q/e0uoIqVmSgkCsZdLC9ZbvWtXHji2Sa4aII=; b=tbZD+DRcdiK1woYjyoysCcNOE/+zwj7NKU/6iF/wleQrAWJnl57uNTwzuKu1+3vraB5Que UHtK1H8b5UwcY1NkAWcdw2g2c21rYdIrvovQyhUJJ28J1h06jNz1qKVmL0VI2eABm9JGW0 2WMIm27QEO3yu67GgfBI5mbgnBxy/acWr/qfhlUDlvhafB0MArusvjZAe2hVXMdBcqYeMl vxKB96TefIltHsV/VEBIAs5JQBX5NJ00+EpmRVv4ArZd6Co+T0O/0jIe3XTo2nhI/ozV5+ wwBOB6y/pzsaV4zxgIpNT4u18arQx/i+EuYxjk8PeY/HrskhGoNvTM1n87s1nQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695008485; a=rsa-sha256; cv=none; b=SgNqbDlQGTRxy11UcN0Iq60Mq7CftbHIxG5QVojyVptFedgzeSFp7gw6jvVcNpbqokUTfK AjUItEBXLbCAce+F0zE2xhJJhbo77FCV4t94JLepIUg9GmSyhVWu4YylsNaCuldNqbdUnK ISlpOjNFlIUqKb64cwVbbhggElCtooiLesdZB7V+TF6fW2A2o5ZMUZ7oe/u+0VzHReIeb0 iCmuHXGMEFpaajkKhI69kzhCZ2Higw/284Ce7ZK6u5g49HxZDAAW+gNuvkzt1KCljZAGvy jM3DJQJzKDQfg3Hts2GEY8qx61O20yRKcTax4TcGbPpcREaUGOCYIm7PHozcGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=SlBLNrCP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qi585-0004Sm-5h; Sun, 17 Sep 2023 23:40:57 -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 1qi582-0004SY-SD for guix-patches@gnu.org; Sun, 17 Sep 2023 23:40:54 -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 1qi582-0004IT-Dn for guix-patches@gnu.org; Sun, 17 Sep 2023 23:40:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qi589-0007QC-Tw; Sun, 17 Sep 2023 23:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66064] [PATCH] gnu: python-plastid: Patch it for python 3.10. Resent-From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Mon, 18 Sep 2023 03:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66064 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66064@debbugs.gnu.org Cc: rekado@elephly.net X-Debbugs-Original-To: X-Debbugs-Original-Xcc: rekado@elephly.net Received: via spool by submit@debbugs.gnu.org id=B.169500844728496 (code B ref -1); Mon, 18 Sep 2023 03:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2023 03:40:47 +0000 Received: from localhost ([127.0.0.1]:51751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qi57u-0007PY-LE for submit@debbugs.gnu.org; Sun, 17 Sep 2023 23:40:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qi57q-0007PC-0B for submit@debbugs.gnu.org; Sun, 17 Sep 2023 23:40:45 -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 1qi57c-0004Jj-6G for guix-patches@gnu.org; Sun, 17 Sep 2023 23:40:28 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qi57Y-00046W-Pi for guix-patches@gnu.org; Sun, 17 Sep 2023 23:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1695008402; x=1696822803; bh=f6Wpkhuz83a9c6u bmrlnH8TeMBYzmtLAhESRIFWwE2g=; b=SlBLNrCPuvx67B4RekptY8QWRgdz8tn snorUCf0+Q3fBm9xkUHVLg9pD7qz/5vXzb3+/j9EGlx5/w1W56sBzYbc+q3vTvDC VQoZoKGhW5QM9Yba8YfxDdrMk9P1RCNLkY1U04LxC3blRwdQYsOyi9En8FItNi6X V41PoCUESSZs= Received: from SW-IT-P-EX2.mdc-berlin.net (mgw2.mdc-berlin.de [141.80.113.60]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id 9F675A0144 for ; Mon, 18 Sep 2023 05:40:02 +0200 (CEST) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 18 Sep 2023 05:40:01 +0200 From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Mon, 18 Sep 2023 05:39:20 +0200 Message-ID: <20230918033947.4556-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX3.mdc-berlin.net (141.80.113.61) To SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27882.004 X-TM-AS-Result: No-10--5.110000-5.000000 X-TMASE-MatchedRID: Dbk4bQCj7CbRTAZ5iUYfyQrcxrzwsv5uP3Y6Dcg5mW1XGTbsQqHbkr8F Hrw7frluf146W0iUu2tvedD3CYSjHQJW+jkd+3/uGqSG/c50XgPjmgMQ17h5699zZd3pUn7Ki3G OCGgGiOaGsZX0q3FpiOhAZQXEXXZu0N7DjAdxZNTi8zVgXoAltuJ5hXsnxp7jC24oEZ6SpSl2+n EixMccdpFOlJCK/1ftTg/F8SJNhCsoZIGIBy2E2dJzsDYDrU6iqLDv4G/Ae+Ouv/V/C2WBwNAbC zmxvXAh X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.110000-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27882.004 X-TM-SNTS-SMTP: 61AF4293DA8197FB6FBEFCE34A7AF648BAEAB09752A50E46A5C580082235A3EA2000:F Received-SPF: pass client-ip=194.95.232.172; envelope-from=MadalinIonel.Patrascu@mdc-berlin.de; helo=a2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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.14 X-Spam-Score: 6.14 X-Migadu-Queue-Id: 339086203F X-Migadu-Scanner: mx0.migadu.com X-TUID: /xKujgHEDs6g * gnu/packages/bioinformatics.scm (python-plastid)[arguments]: Add new phase patch-for-python-3.10. --- gnu/packages/bioinformatics.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c78f017a24..d7a9697c6e 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3787,6 +3787,13 @@ (define-public python-plastid "-xf" (assoc-ref inputs "test-data")) ;; This one requires bowtie-build (delete-file "plastid/test/functional/test_crossmap.py"))) + (add-after 'unpack 'patch-for-python-3.10 + (lambda _ + ;; Some classes were moved from collections to collections.abc + ;; in Python 3.10. + (substitute* "plastid/readers/bigbed.pyx" + ((", Iterable") + "\nfrom collections.abc import Iterable")))) (add-before 'check 'build-extensions (lambda _ ;; Cython extensions have to be built before running the tests. base-commit: 1d30ec935126f316187dfc26446347bc7de9868b -- 2.41.0