python3Packages.pykrige: 1.7.2 → 1.7.3 (#462338)

This commit is contained in:
Nikolay Korotkiy
2025-11-21 15:03:43 +00:00
committed by GitHub
3 changed files with 59 additions and 9 deletions
@@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
cython,
setuptools,
setuptools-scm,
# dependencies
numpy,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pentapy";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "GeoStat-Framework";
repo = "pentapy";
tag = "v${version}";
hash = "sha256-lw512rZCrwumDunoWFfd0HxCv0HAn/bAmIz8l8VeBP8=";
};
build-system = [
cython
numpy
setuptools
setuptools-scm
];
dependencies = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "A Python toolbox for pentadiagonal linear systems";
homepage = "https://github.com/GeoStat-Framework/pentapy";
changelog = "https://github.com/GeoStat-Framework/pentapy/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
teams = [ lib.teams.geospatial ];
};
}
@@ -5,6 +5,7 @@
# build-system
cython,
pentapy,
setuptools,
setuptools-scm,
@@ -21,25 +22,20 @@
buildPythonPackage rec {
pname = "pykrige";
version = "1.7.2";
version = "1.7.3";
pyproject = true;
src = fetchFromGitHub {
owner = "GeoStat-Framework";
repo = "PyKrige";
tag = "v${version}";
hash = "sha256-9f8SNlt4qiTlXgx2ica9Y8rmnYzQ5VarvFRfoZ9bSsY=";
hash = "sha256-zdszmT1LEfYBWzd+m2nITtl0lZHyU0fzszYxANQS6yU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2.0.0rc1,<2.3; python_version >= '3.9'" "numpy>=2.0.0" \
--replace-fail "Cython>=3.0.10,<3.1.0" "Cython>=3.1.0,<4.0.0"
'';
build-system = [
cython
numpy
pentapy
scipy
setuptools
setuptools-scm
@@ -70,6 +66,6 @@ buildPythonPackage rec {
homepage = "https://github.com/GeoStat-Framework/PyKrige";
changelog = "https://github.com/GeoStat-Framework/PyKrige/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.sikmir ];
teams = [ lib.teams.geospatial ];
};
}
+2
View File
@@ -11804,6 +11804,8 @@ self: super: with self; {
pendulum = callPackage ../development/python-modules/pendulum { };
pentapy = callPackage ../development/python-modules/pentapy { };
pep440 = callPackage ../development/python-modules/pep440 { };
pep517 = callPackage ../development/python-modules/pep517 { };