From 3be2112ceef8c67aa8c527c99562ec0eb6f2d4d8 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 3 Mar 2024 00:10:17 +0100 Subject: [PATCH] Force use of newer shapely with newer Python --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ab31f1b5a91..c286a8bc548 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,9 @@ dependencies = [ # segmentation-models-pytorch 0.2+ required for smp.losses module "segmentation-models-pytorch>=0.2", # shapely 1.7.1+ required for Python 3.9 wheels + # shapely 2.0.2+ required for Python 3.12 support "shapely>=1.7.1", + "shapely>=2.0.2; python_version>='3.12'", # timm 0.4.12 required by segmentation-models-pytorch "timm>=0.4.12", # torch 1.12+ required by torchvision