GNU bug report logs

#78978 [PATCH] gnu: python-dolfin-adjoint: Fix build.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to guix-patches@gnu.org:
bug#78978; Package guix-patches. (Wed, 09 Jul 2025 11:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Paul Garlick <pgarlick@tourbillion-technology.com>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org. (Wed, 09 Jul 2025 11:54:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Paul Garlick <pgarlick@tourbillion-technology.com>
To: guix-patches@gnu.org
Cc: Paul Garlick <pgarlick@tourbillion-technology.com>
Subject: [PATCH] gnu: python-dolfin-adjoint: Fix build.
Date: Wed, 9 Jul 2025 12:52:14 +0100
* gnu/packages/simulation.scm (python-dolfin-adjoint): Fix build.
[arguments]: Set pytest import mode. Update list of failing tests.
[native-inputs]: Add python-setuptools and python-wheel, needed by
pyproject-build-system.
---
 gnu/packages/simulation.scm | 29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 7d7668f117..7b97d07ebe 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -1215,22 +1215,15 @@ (define-public python-dolfin-adjoint
       #~(list
          ;; Ignore tests which require missing packages and/or failed during
          ;; tests collection.
-         "--ignore=tests/firedrake_adjoint/test_assignment.py"
-         "--ignore=tests/firedrake_adjoint/test_burgers_newton.py"
-         "--ignore=tests/firedrake_adjoint/test_dynamic_meshes.py"
-         "--ignore=tests/firedrake_adjoint/test_hessian.py"
-         "--ignore=tests/firedrake_adjoint/test_reduced_functional.py"
-         "--ignore=tests/firedrake_adjoint/test_shape_derivatives.py"
-         "--ignore=tests/firedrake_adjoint/test_solving.py"
-         "--ignore=tests/firedrake_adjoint/test_tlm.py"
-         "--ignore=tests/migration/burgers_newton/test_burgers_newton.py"
-         "--ignore=tests/migration/linear_solver/test_linear_solver.py"
-         "--ignore=tests/migration/optimization_scipy/test_optimization_scipy.py"
-         "--ignore=tests/migration/projection/test_projection.py"
-         "--ignore=tests/migration/reduced_functional/test_reduced_functional.py"
-         "--ignore=tests/migration/split/test_split.py"
-         "-k" (string-append "not test_read_checkpoint"
-                             " and not test_krylov_solver_preconditioner_function_ctrl"))
+         "--import-mode=importlib"
+         "--ignore=tests/firedrake_adjoint"
+         "--ignore=tests/fenics_adjoint/test_dynamic_meshes.py"
+         "-k" (string-append "not test_sin_weak_spatial and "
+                             "not test_shape_hessian and "
+                             "not test_read_checkpoint and "
+                             "not test_lu_solver and "
+                             "not test_lu_solver_function_ctrl and "
+                             "not test_dirichletbc_subspace"))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'build 'mpi-setup #$%openmpi-setup)
@@ -1257,7 +1250,9 @@ (define-public python-dolfin-adjoint
            python-decorator
            python-flake8
            python-pkgconfig
-           python-pytest))
+           python-pytest
+           python-setuptools
+           python-wheel))
     (propagated-inputs
      (list python-scipy))
     (home-page "https://www.dolfin-adjoint.org")
-- 
2.39.5





Reply sent to Andreas Enge <andreas@enge.fr>:
You have taken responsibility. (Thu, 10 Jul 2025 10:10:04 GMT) (full text, mbox, link).


Notification sent to Paul Garlick <pgarlick@tourbillion-technology.com>:
bug acknowledged by developer. (Thu, 10 Jul 2025 10:10:05 GMT) (full text, mbox, link).


Message #10 received at 78978-done@debbugs.gnu.org (full text, mbox, reply):

From: Andreas Enge <andreas@enge.fr>
To: Paul Garlick <pgarlick@tourbillion-technology.com>
Cc: 78978-done@debbugs.gnu.org
Subject: Re: [PATCH] gnu: python-dolfin-adjoint: Fix build.
Date: Thu, 10 Jul 2025 12:09:17 +0200
Am Wed, Jul 09, 2025 at 12:52:14PM +0100 schrieb Paul Garlick:
> * gnu/packages/simulation.scm (python-dolfin-adjoint): Fix build.
> [arguments]: Set pytest import mode. Update list of failing tests.
> [native-inputs]: Add python-setuptools and python-wheel, needed by
> pyproject-build-system.

Pushed, thanks!

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Thu, 07 Aug 2025 11:24:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 15:39:51 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.