From afc4a1d03e3f2e56afca322b0be7d84e5fc67723 Mon Sep 17 00:00:00 2001 From: qbisi Date: Wed, 12 Nov 2025 02:26:52 +0800 Subject: [PATCH] python3Packages.firedrake: 2025.10.1 -> 2025.10.2 --- .../python-modules/firedrake/default.nix | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/firedrake/default.nix b/pkgs/development/python-modules/firedrake/default.nix index 4723401106cc..811d4f7432f1 100644 --- a/pkgs/development/python-modules/firedrake/default.nix +++ b/pkgs/development/python-modules/firedrake/default.nix @@ -4,9 +4,7 @@ stdenv, buildPythonPackage, fetchFromGitHub, - fetchpatch2, python, - pax-utils, # build-system setuptools, @@ -61,23 +59,16 @@ let in buildPythonPackage rec { pname = "firedrake"; - version = "2025.10.1"; + version = "2025.10.2"; pyproject = true; src = fetchFromGitHub { owner = "firedrakeproject"; repo = "firedrake"; tag = version; - hash = "sha256-paZNs6T9v7TNSdc8YJTjNcQvGrPg/Sy9K27/aUxNu5w="; + hash = "sha256-A0dr9A1fm74IzpYiVxzdo4jtELYH7JBeRMOD9uYJODQ="; }; - patches = [ - (fetchpatch2 { - url = "https://github.com/firedrakeproject/firedrake/pull/4632/commits/717ae8a62e19e0cc91419c12ca14170d252b2bb9.patch?full_index=1"; - hash = "sha256-XHIcXmfh/brlQkrM4FTRvTrOovLvBN5mBrqZpZewTnc="; - }) - ]; - # relax build-dependency petsc4py postPatch = '' substituteInPlace pyproject.toml --replace-fail \ @@ -111,6 +102,7 @@ buildPythonPackage rec { fenics-ufl firedrake-fiat firedrakePackages.h5py + immutabledict libsupermesh loopy petsc4py @@ -126,11 +118,11 @@ buildPythonPackage rec { rtree scipy sympy + # vtk optional required by IO module, we can make it a hard dependency in nixpkgs, + # see https://github.com/firedrakeproject/firedrake/pull/4713 vtk # required by script spydump matplotlib - # required by pyop2 - immutabledict ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ islpy