python3Packages.pyprecice: 3.2.1 -> 3.3.1

Changelog: https://github.com/precice/python-bindings/releases/tag/v3.3.1
This commit is contained in:
qbisi
2025-10-25 07:12:55 +08:00
parent b6f55fe941
commit 052419cfd0
@@ -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";