From patchwork Wed Jul 9 11:52:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Garlick X-Patchwork-Id: 43236 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E8BE727BC4A; Wed, 9 Jul 2025 12:54:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7E67227BC49 for ; Wed, 9 Jul 2025 12:54:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uZTNM-0005K4-Cw; Wed, 09 Jul 2025 07:54:12 -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 1uZTNF-0005J3-1S for guix-patches@gnu.org; Wed, 09 Jul 2025 07:54:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uZTNC-0007bW-OH for guix-patches@gnu.org; Wed, 09 Jul 2025 07:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=QfLasWM3ZVGfHR6w/grWdfpLIrzgi2YvXeyNo/EubKU=; b=hpYyxNkYUN4vhmnAxOGdLoSG3WVnCte+ESmWJD712dsmgKGMnrzaxJ90lfsdHw5FLGzRcRdVsahu95mQkXfsha0O3Ogp+IVNahdF3pN1SsoB830izG3g+yF8wBTRFx68UBPM8172hlxWbPnZOqvM7LUtE/FU90j9qrLaYt1LS1Nraslm0PKAIIT8C+VTKOGbGIl9ulcYATbzQFKx5RQY0HJPEcLOBpHYQiB+XfoEI2NyKMpV26lrVjYx9tIU2fY5GX1MMpabfk7i7urX3Jzxi6mETXI9rlzJfv8389ViNKT+/t7qzEortiDXsM/RXXDdT+tfNU8fSRWCbeGSrsl7TQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uZTNC-0003D1-Ee for guix-patches@gnu.org; Wed, 09 Jul 2025 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78978] [PATCH] gnu: python-dolfin-adjoint: Fix build. Resent-From: Paul Garlick Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jul 2025 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78978 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78978@debbugs.gnu.org Cc: Paul Garlick X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.175206198312088 (code B ref -1); Wed, 09 Jul 2025 11:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2025 11:53:03 +0000 Received: from localhost ([127.0.0.1]:49335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZTM5-00037s-Fg for submit@debbugs.gnu.org; Wed, 09 Jul 2025 07:53:02 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37938) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZTM1-00037A-OE for submit@debbugs.gnu.org; Wed, 09 Jul 2025 07:52:51 -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 1uZTLq-0004Je-1S for guix-patches@gnu.org; Wed, 09 Jul 2025 07:52:39 -0400 Received: from smtp.hosts.co.uk ([85.233.160.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uZTLl-0007Wa-QI for guix-patches@gnu.org; Wed, 09 Jul 2025 07:52:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tourbillion-technology.com; s=2025040300; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:To:From:Reply-To:Content-Type:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=QfLasWM3ZVGfHR6w/grWdfpLIrzgi2YvXeyNo/EubKU=; b=fKzH15kyD/Ir5Jgoal3bAGQfsa xDCwY6KWhPRxJVBTX9OGPpP247WtWC31Gugu0POIo15J1dibGzMpuX3YVmNp+SwViWxzlhpxkWmbD biCQO9fh4jjpd27DZrjHYBXM1zCWaP4+ruil0sYws7t49K/QZqyLcFWZ/BkMttMdMUYs=; Received: from maikeh336.claranet.co.uk ([79.123.23.187] helo=pumpernickel.tourbillion-technology.com) by smtp.hosts.co.uk with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1uZTLb-000000002dw-4dSF; Wed, 09 Jul 2025 12:52:24 +0100 From: Paul Garlick Date: Wed, 9 Jul 2025 12:52:14 +0100 Message-Id: <20250709115214.3751753-1-pgarlick@tourbillion-technology.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Received-SPF: pass client-ip=85.233.160.19; envelope-from=pgarlick@tourbillion-technology.com; helo=smtp.hosts.co.uk 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")