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

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Paul Garlick
Owner
unassigned
Submitted by
Paul Garlick
Severity
normal

Debbugs page

P
P
Paul Garlick wrote on 9 Jul 04:52 -0700
(address . guix-patches@gnu.org)(name . Paul Garlick)(address . pgarlick@tourbillion-technology.com)
20250709115214.3751753-1-pgarlick@tourbillion-technology.com
* 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(-)

Toggle diff (49 lines)
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
A
A
Andreas Enge wrote on 10 Jul 03:09 -0700
(name . Paul Garlick)(address . pgarlick@tourbillion-technology.com)(address . 78978-done@debbugs.gnu.org)
aG-RTVjf18S8-BBB@jurong
Am Wed, Jul 09, 2025 at 12:52:14PM +0100 schrieb Paul Garlick:
Toggle quote (5 lines)
> * 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 78978@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 78978
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch