Unverified Commit c29619a0 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

python3Packages.pykrige: 1.7.2 → 1.7.3

parent 725f0f39
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -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