From 7eca9ef8d705cfb5680986e539be3af3b3579845 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Aug 2025 13:33:55 +0200 Subject: [PATCH] python3Packages.rasterio: relax cython constraint --- pkgs/development/python-modules/rasterio/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix index 47ef8ed31560..9fc55c214146 100644 --- a/pkgs/development/python-modules/rasterio/default.nix +++ b/pkgs/development/python-modules/rasterio/default.nix @@ -45,6 +45,11 @@ buildPythonPackage rec { hash = "sha256-InejYBRa4i0E2GxEWbtBpaErtcoYrhtypAlRtMlUoDk="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "cython~=3.0.2" cython + ''; + nativeBuildInputs = [ cython gdal