From unknown Sat Aug 16 23:51:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#64268] [PATCH] gnu: python-dolfin-adjoint: Fix build. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Jun 2023 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64268 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64268@debbugs.gnu.org Cc: Felix Gruber X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168761890229460 (code B ref -1); Sat, 24 Jun 2023 15:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2023 15:01:42 +0000 Received: from localhost ([127.0.0.1]:41263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4li-0007f5-Dk for submit@debbugs.gnu.org; Sat, 24 Jun 2023 11:01:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:47722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4lg-0007ex-Rf for submit@debbugs.gnu.org; Sat, 24 Jun 2023 11:01:41 -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 1qD4le-0005OM-Fq for guix-patches@gnu.org; Sat, 24 Jun 2023 11:01:38 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD4lc-0003V6-M7 for guix-patches@gnu.org; Sat, 24 Jun 2023 11:01:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 92D8C240027 for ; Sat, 24 Jun 2023 17:01:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687618894; bh=J753rUXkBDNFVnw1lUpbgF4YjSlYtalpswA5vcq15PQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=WnemTLt/wQHXPusOy2msMrEEA4W+zYHNayoK0/5Pipf34HEXVSdqno0Ngdn+FbM0O 8MzxytWwZVSI5IMVTQJOpl0O/60C+L3HlJR4mnh7FU41ahTmiHKUS8RnNSKuLYQA4B aWXBWqZz37EcmyYxSdCUmcgnIlNXvvrE4FxzjseinhW9hsP4uj93kzqiQBPHtR/rkP fSeXBDR/E3c5k8i2sFGcASFVo8fY8rO5si6Rvwhdpgf1dFPvMaoJl5q1j7Ba+lrS7S TlVW6vO/UQrgKAFETanyeuhJl6f7zMR018Kpuu/Eb5dMKf1u884sKE1caW0fRI+yhj fQePnxDVPxNOg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QpHPV0f5pz6txk; Sat, 24 Jun 2023 17:01:33 +0200 (CEST) From: Felix Gruber Date: Sat, 24 Jun 2023 15:01:27 +0000 Message-Id: <8c606edab248b629f340572b9a6dfcff80bb9e73.1687618887.git.felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=felgru@posteo.net; helo=mout01.posteo.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: -1.3 (-) 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/simulation.scm (python-dolfin-adjoint): Fix build. [arguments]: Disable failing test_read_checkpoint in 'check phase. Remove broken 'sanity-check phase. --- gnu/packages/simulation.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 059be5a2be..c76654f761 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1027,10 +1027,17 @@ (define-public python-dolfin-adjoint (when tests? (add-installed-pythonpath inputs outputs) (setenv "HOME" (getcwd)) - (and (invoke "py.test" "-v" "tests/fenics_adjoint") + (and (invoke "py.test" "-v" "tests/fenics_adjoint" + "-k" "not test_read_checkpoint") (invoke "py.test" "-v" "tests/migration") (invoke "py.test" "-v" "tests/pyadjoint"))) - #t))))) + #t)) + ;; Remove 'sanity-check, because it tries to import + ;; firedrake_adjoint after importing fenics_adjoint. + ;; Both load a module named 'backend' and firedrake_adjoint + ;; fails with an ImportError if it sees that the backend module + ;; has already been loaded. + (delete 'sanity-check)))) (home-page "https://www.dolfin-adjoint.org") (synopsis "Automatic differentiation library") (description "@code{python-dolfin-adjoint} is a solver of base-commit: d6dc82e8cdb2d6114a12b06d449ce7f1150c7f70 -- 2.39.2 From unknown Sat Aug 16 23:51:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Felix Gruber Subject: bug#64268: closed (Closing) Message-ID: References: <8c606edab248b629f340572b9a6dfcff80bb9e73.1687618887.git.felgru@posteo.net> X-Gnu-PR-Message: they-closed 64268 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 64268@debbugs.gnu.org Date: Tue, 29 Aug 2023 20:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1693339862-15643-1" This is a multi-part message in MIME format... ------------=_1693339862-15643-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64268: [PATCH] gnu: python-dolfin-adjoint: Fix build. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64268@debbugs.gnu.org. --=20 64268: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64268 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693339862-15643-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64268-done) by debbugs.gnu.org; 29 Aug 2023 20:10:30 +0000 Received: from localhost ([127.0.0.1]:51631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb52k-00043Y-2X for submit@debbugs.gnu.org; Tue, 29 Aug 2023 16:10:30 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:44596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb52h-00043L-ST for 64268-done@debbugs.gnu.org; Tue, 29 Aug 2023 16:10:28 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 385E5381; Tue, 29 Aug 2023 22:10:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cbCj52GXbP2s; Tue, 29 Aug 2023 22:10:12 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BE376301; Tue, 29 Aug 2023 22:10:12 +0200 (CEST) Date: Tue, 29 Aug 2023 22:10:11 +0200 From: Andreas Enge To: 64268-done@debbugs.gnu.org Subject: Closing Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64268-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: -1.0 (-) Hello Felix, thanks for your contribution! Our CI has been lagging behind recently, so it has taken a bit longer than usual, but I have just applied your patch. Andreas ------------=_1693339862-15643-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jun 2023 15:01:42 +0000 Received: from localhost ([127.0.0.1]:41263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4li-0007f5-Dk for submit@debbugs.gnu.org; Sat, 24 Jun 2023 11:01:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:47722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4lg-0007ex-Rf for submit@debbugs.gnu.org; Sat, 24 Jun 2023 11:01:41 -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 1qD4le-0005OM-Fq for guix-patches@gnu.org; Sat, 24 Jun 2023 11:01:38 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD4lc-0003V6-M7 for guix-patches@gnu.org; Sat, 24 Jun 2023 11:01:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 92D8C240027 for ; Sat, 24 Jun 2023 17:01:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687618894; bh=J753rUXkBDNFVnw1lUpbgF4YjSlYtalpswA5vcq15PQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=WnemTLt/wQHXPusOy2msMrEEA4W+zYHNayoK0/5Pipf34HEXVSdqno0Ngdn+FbM0O 8MzxytWwZVSI5IMVTQJOpl0O/60C+L3HlJR4mnh7FU41ahTmiHKUS8RnNSKuLYQA4B aWXBWqZz37EcmyYxSdCUmcgnIlNXvvrE4FxzjseinhW9hsP4uj93kzqiQBPHtR/rkP fSeXBDR/E3c5k8i2sFGcASFVo8fY8rO5si6Rvwhdpgf1dFPvMaoJl5q1j7Ba+lrS7S TlVW6vO/UQrgKAFETanyeuhJl6f7zMR018Kpuu/Eb5dMKf1u884sKE1caW0fRI+yhj fQePnxDVPxNOg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QpHPV0f5pz6txk; Sat, 24 Jun 2023 17:01:33 +0200 (CEST) From: Felix Gruber To: guix-patches@gnu.org Subject: [PATCH] gnu: python-dolfin-adjoint: Fix build. Date: Sat, 24 Jun 2023 15:01:27 +0000 Message-Id: <8c606edab248b629f340572b9a6dfcff80bb9e73.1687618887.git.felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=felgru@posteo.net; helo=mout01.posteo.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber 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/simulation.scm (python-dolfin-adjoint): Fix build. [arguments]: Disable failing test_read_checkpoint in 'check phase. Remove broken 'sanity-check phase. --- gnu/packages/simulation.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 059be5a2be..c76654f761 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1027,10 +1027,17 @@ (define-public python-dolfin-adjoint (when tests? (add-installed-pythonpath inputs outputs) (setenv "HOME" (getcwd)) - (and (invoke "py.test" "-v" "tests/fenics_adjoint") + (and (invoke "py.test" "-v" "tests/fenics_adjoint" + "-k" "not test_read_checkpoint") (invoke "py.test" "-v" "tests/migration") (invoke "py.test" "-v" "tests/pyadjoint"))) - #t))))) + #t)) + ;; Remove 'sanity-check, because it tries to import + ;; firedrake_adjoint after importing fenics_adjoint. + ;; Both load a module named 'backend' and firedrake_adjoint + ;; fails with an ImportError if it sees that the backend module + ;; has already been loaded. + (delete 'sanity-check)))) (home-page "https://www.dolfin-adjoint.org") (synopsis "Automatic differentiation library") (description "@code{python-dolfin-adjoint} is a solver of base-commit: d6dc82e8cdb2d6114a12b06d449ce7f1150c7f70 -- 2.39.2 ------------=_1693339862-15643-1--