GNU bug report logs -
#64268
[PATCH] gnu: python-dolfin-adjoint: Fix build.
Previous Next
Reported by: Felix Gruber <felgru <at> posteo.net>
Date: Sat, 24 Jun 2023 15:02:02 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64268 in the body.
You can then email your comments to 64268 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#64268
; Package
guix-patches
.
(Sat, 24 Jun 2023 15:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Gruber <felgru <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 24 Jun 2023 15:02:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Tue, 29 Aug 2023 20:11:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Felix Gruber <felgru <at> posteo.net>
:
bug acknowledged by developer.
(Tue, 29 Aug 2023 20:11:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 64268-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Sep 2023 11:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.