From 052419cfd064a6c62ae8a710e06f9e357a3fe9a3 Mon Sep 17 00:00:00 2001 From: qbisi Date: Mon, 20 Oct 2025 04:50:06 +0800 Subject: [PATCH] python3Packages.pyprecice: 3.2.1 -> 3.3.1 Changelog: https://github.com/precice/python-bindings/releases/tag/v3.3.1 --- .../python-modules/pyprecice/default.nix | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pyprecice/default.nix b/pkgs/development/python-modules/pyprecice/default.nix index 01b60f0e6ceb..574a91cc8e6e 100644 --- a/pkgs/development/python-modules/pyprecice/default.nix +++ b/pkgs/development/python-modules/pyprecice/default.nix @@ -5,9 +5,9 @@ # build-system cython, - pip, pkgconfig, setuptools, + setuptools-git-versioning, # dependencies mpi4py, @@ -17,38 +17,38 @@ buildPythonPackage rec { pname = "pyprecice"; - version = "3.2.1"; + version = "3.3.1"; pyproject = true; src = fetchFromGitHub { owner = "precice"; repo = "python-bindings"; tag = "v${version}"; - hash = "sha256-8AM2wbPX54UaMO4MzLOV0TljLTAPOqR9gUbtT2McNjs="; + hash = "sha256-NkTrMZ7UKB5O2jIlhLhgkOm8ZeWJA1FoursA1df7XOk="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "setuptools>=61,<72" "setuptools" - ''; - build-system = [ cython - pip pkgconfig setuptools + setuptools-git-versioning ]; dependencies = [ numpy mpi4py + ]; + + buildInputs = [ precice ]; - # Disable Test because everything depends on open mpi which requires network + # no official test instruction doCheck = false; - # Do not use pythonImportsCheck because this will also initialize mpi which requires a network interface + pythonImportsCheck = [ + "precice" + ]; meta = { description = "Python language bindings for preCICE";