From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 14:18:12 2022 Received: (at submit) by debbugs.gnu.org; 25 Aug 2022 18:18:13 +0000 Received: from localhost ([127.0.0.1]:51240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRHQi-0007yW-Lf for submit@debbugs.gnu.org; Thu, 25 Aug 2022 14:18:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:33644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRHQf-0007yO-S4 for submit@debbugs.gnu.org; Thu, 25 Aug 2022 14:18:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRHQb-0002cL-KY for guix-patches@gnu.org; Thu, 25 Aug 2022 14:18:09 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRHQZ-00080N-FF for guix-patches@gnu.org; Thu, 25 Aug 2022 14:18:05 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E67385C0086; Thu, 25 Aug 2022 14:18:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 25 Aug 2022 14:18:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1661451480; x=1661537880; bh=67ZkwHcclHlApbB0zFT05psKgxfVWxYImay xpfZekqk=; b=fQa1lOLrHa4rgtXTT2crmribTg1md2U6x2uSoWis/ZmxrEqxUnv 4vwW8JFRXcjYh/KG3MwpvcO3dFIiexeJ0q3zeN8gFdo9NsLEUu2XcWqRQys3N2fd c9+jQD6abSp6bUo3v7TsanflA5FOAQ+GsAtvivX5ss5ubEugzevjtHleGFIhAblm qUTcwLNhI4kt8BCnIY/xO9QotTH7DyaJpNp5foecHGizDdsH8lg6vAN0BJmqXdNX xeE7tEfgXi9JdwaHfkr1FLoV33CX0ZAZcAtLTaHvM5AW2CV6voitPXKhcC6pUz4j tx49vQ+Ze9ZvMzsEv+QWvVOZuJ573YGprAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1661451480; x= 1661537880; bh=67ZkwHcclHlApbB0zFT05psKgxfVWxYImayxpfZekqk=; b=r IoHWRqxYhBa4M+R2sty+XNWvABk8rAVe9uOGdMBgiJc8hXe5yNEElU73NyLOUkVR IJqP8ggQ5tgpGglsxPnH3PbYX17b5vO88dG/xtQfdymCVbNCQeKDvILk3+Q+jWPc hG5omF2pH6MpDMkk7Cm+PXhcIcGdBQWw139JtA3TxwFInKP5bgCLuVvRoLRoUr/B VeOutwmlbXfHjUYzyc5wQL7pdMdXFaOAUpJA1FM2MRlE5GlmzJ0UiXlS4qaxx/pj NQArd1QLbLWOhyz9RqbVwWymkW30SR0hJTf/tHlVxcg8009rCg5gsJcPf2Lc5Gkq m1j6tvy1oklvI1kgkHSYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejfedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhs vghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepveefveeutdeitd ettefggeehvdduieelkefgheekheduteevheegueetueevjeehnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnh esfhgrshhtmhgrihhlrdhnvght X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Aug 2022 14:17:59 -0400 (EDT) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH] gnu: snakemake-7: Fix cluster execution bug Date: Thu, 25 Aug 2022 20:17:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.25; envelope-from=konrad.hinsen@fastmail.net; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (snakemake-7): Revise the patch for the cluster execution script --- gnu/packages/python-xyz.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f7971b75fa..cb3eba77aa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9784,15 +9784,14 @@ (define-public snakemake-7 ;; For cluster execution Snakemake will call Python. Since there is ;; no suitable GUIX_PYTHONPATH set, cluster execution will fail. We ;; fix this by calling the snakemake wrapper instead. - - ;; XXX: There is another instance of sys.executable on line 692, but - ;; it is not clear how to patch it. (add-after 'unpack 'call-wrapper-not-wrapped-snakemake (lambda* (#:key outputs #:allow-other-keys) (substitute* "snakemake/executors/__init__.py" - (("\\{sys.executable\\} -m snakemake") - (string-append (assoc-ref outputs "out") - "/bin/snakemake"))))) + (("self\\.get_python_executable\\(\\),") + "") + (("\"-m snakemake\"") + (string-append "\"" (assoc-ref outputs "out") + "/bin/snakemake" "\""))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? -- 2.37.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 29 12:10:48 2022 Received: (at 57413-done) by debbugs.gnu.org; 29 Aug 2022 16:10:48 +0000 Received: from localhost ([127.0.0.1]:33610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShLc-0007CL-0R for submit@debbugs.gnu.org; Mon, 29 Aug 2022 12:10:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShLY-0007Bu-GO for 57413-done@debbugs.gnu.org; Mon, 29 Aug 2022 12:10:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShLS-0000zT-7h; Mon, 29 Aug 2022 12:10:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QrnJd/BWAkAvXvWSpWjW+d6L1m9yMs6+duK+Tot6Z7s=; b=VfIcHf3DhOQGYhLh/LxL beOD6umSR75SwX+Lxb44RUf9qFkjKag7eeBbjZsC/nNWP/teChYaoPBMLSq5jXzzKjdprA+5+eOsR gUW7aQMbJ7AcQd6EH6s6yIz0wKQ5GXlqYBlL+Zpmu649DSWynvyQOy6icEPhYYMBPQSrsvH5h9NIU JjgJMQBWpyLwErQTIDxCmJlddBKFd42KLx/27fN+KF0QJnDdaGxlZNkV+rmmiPD2/PbhyG1aNc2FO eqlw0fiPGvxeHDTnT1BuLSMZA96K4mF+UEQQYWghZNe1au7WkMS1eGhz8Jlbbs7fvEO1q8JFDS3Yn QvzluKajNu28eQ==; Received: from [84.214.173.6] (port=36060 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShL3-0005Hs-ND; Mon, 29 Aug 2022 12:10:16 -0400 From: Marius Bakke To: Konrad Hinsen , 57413-done@debbugs.gnu.org Subject: Re: [bug#57413] [PATCH] gnu: snakemake-7: Fix cluster execution bug In-Reply-To: References: Date: Mon, 29 Aug 2022 18:10:11 +0200 Message-ID: <87v8qbc9p8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57413-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Konrad Hinsen skriver: > * gnu/packages/python-xyz.scm (snakemake-7): Revise the patch for > the cluster execution script Applied, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYwzk4w8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHc0tgEA0M7sx+nkG+dq+W1da+/FZ6/jfpdRlzaQNjAX ctzRFioA/07lBiHme7UFFlY6VkV0Tm9vV8BmFzdL+zu9UwMp2ssE =JaOC -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:01:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Sep 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator