From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 09 07:53:03 2025 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: python-dolfin-adjoint: Fix build. 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 Content-Transfer-Encoding: 8bit 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Paul Garlick 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: -0.0 (/) * 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 10 06:09:34 2025 Received: (at 78978-done) by debbugs.gnu.org; 10 Jul 2025 10:09:34 +0000 Received: from localhost ([127.0.0.1]:55914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZoDd-000482-H1 for submit@debbugs.gnu.org; Thu, 10 Jul 2025 06:09:34 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:53082) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZoDZ-00045w-0I for 78978-done@debbugs.gnu.org; Thu, 10 Jul 2025 06:09:31 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1FFE8BF; Thu, 10 Jul 2025 12:09:21 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id D1orhLhZKvxG; Thu, 10 Jul 2025 12:09:20 +0200 (CEST) Received: from jurong (p-gweduroam01.u-bordeaux.fr [147.210.179.67]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0F9453DB; Thu, 10 Jul 2025 12:09:18 +0200 (CEST) Date: Thu, 10 Jul 2025 12:09:17 +0200 From: Andreas Enge To: Paul Garlick Subject: Re: [PATCH] gnu: python-dolfin-adjoint: Fix build. Message-ID: References: <20250709115214.3751753-1-pgarlick@tourbillion-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250709115214.3751753-1-pgarlick@tourbillion-technology.com> X-Spamd-Result: default: False [-5.58 / 15.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-2.98)[-0.994]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 1FFE8BF X-Rspamd-Server: hera X-Spamd-Bar: ----- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78978-done Cc: 78978-done@debbugs.gnu.org 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 (-) 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