python3Packages.rasterio: 1.3.10 -> 1.3.11

This commit is contained in:
Ivan Mincik 2024-09-06 07:57:04 +00:00 committed by GitHub
commit 365754b420
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@
buildPythonPackage rec {
pname = "rasterio";
version = "1.3.10";
version = "1.3.11";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = "rasterio";
repo = "rasterio";
rev = "refs/tags/${version}";
hash = "sha256-FidUaSpbTR8X1/Cqy/IwApkOOl2RRtPqYJaSISRPThI=";
hash = "sha256-Yh3n2oyARf7LAtJU8Oa3WWc+oscl7e2N7jpW0v1uTVk=";
};
postPatch = ''
@ -49,9 +49,9 @@ buildPythonPackage rec {
substituteInPlace rasterio/rio/calc.py \
--replace-fail "from distutils.version import LooseVersion" ""
# relax dependency on yet non-packaged, RC version of numpy
# relax numpy dependency
substituteInPlace pyproject.toml \
--replace-fail "numpy==2.0.0rc1" "numpy"
--replace-fail "numpy>=2.0.0,<3.0" "numpy"
'';
nativeBuildInputs = [
@ -99,12 +99,6 @@ buildPythonPackage rec {
disabledTests = [
# flaky
"test_outer_boundless_pixel_fidelity"
# Failing with GDAL 3.9.
# Fixed in https://github.com/rasterio/rasterio/commit/24d0845e576158217f6541c3c81b163d873a994d
# Re-enable in next rasterio update.
"test_create_sidecar_mask"
"test_update_tags"
] ++ lib.optionals stdenv.isDarwin [ "test_reproject_error_propagation" ];
pythonImportsCheck = [ "rasterio" ];