From 0dbc0f1b930e13a3a74b344a75d6e2f5f4b99a96 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 30 Sep 2024 15:04:41 +0200 Subject: [PATCH] TorchGeo is not yet compatible with rasterio 1.4 (#2327) --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a7ea30da1c8..b850f8b3466 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,9 @@ dependencies = [ # pyproj 3.3+ required for Python 3.10 wheels "pyproj>=3.3", # rasterio 1.3+ required for Python 3.10 wheels - "rasterio>=1.3", + # rasterio 1.4+ no longer supports merging WarpedVRT objects + # https://github.com/rasterio/rasterio/issues/3196 + "rasterio>=1.3,<1.4", # rtree 1+ required for Python 3.10 wheels "rtree>=1", # segmentation-models-pytorch 0.2+ required for smp.losses module