From 086f3830cd8c5d93d83d51598b1806e75b946750 Mon Sep 17 00:00:00 2001 From: Alessio Placitelli Date: Tue, 5 Dec 2023 10:22:04 +0100 Subject: [PATCH] Relax dependencies --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bce624b..313d1e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "fontina" description = "Visual font recognition (VFR) library" authors = [{ name = "Alessio Placitelli", email = "a.placitelli@a2p.it" }] dependencies = [ - "albumentations==1.3.1", + "albumentations>=1.3.1", "trdg==1.8.0", # We need to force the pillow version because of the use # of removed APIs in trdg 1.8.0 (e.g. `ImageFont.getsize`). @@ -13,8 +13,8 @@ dependencies = [ "rstr==3.2.1", # TODO: On Windows, this must be manual. # pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu117 - "torch==2.0.1", - "torchvision==0.15.2", + "torch>=2.0.1", + "torchvision>=0.15.2", ] dynamic = ["version"] requires-python = ">=3.10"