From 462d0be3895fbf4ccf0f6ef2a43e58b1870aed6a Mon Sep 17 00:00:00 2001 From: Thomas Viehmann Date: Wed, 6 Nov 2024 10:53:05 +0100 Subject: [PATCH] don't do max versions as much --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 406f5f2e1a..cab95bcc15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,10 +9,12 @@ readme = "README.md" license = { file = "LICENSE" } dependencies = [ - "torch>=2.2.0,<=2.4.1", + "torch>=2.2.0", "numpy<2.0", "lightning==2.4.0", - "jsonargparse[signatures]>=4.30.1,<=4.32.1", # 4.33 does not seem to be compatible with Python 3.9 + # jsonargparse 4.33 does not seem to be compatible with Python 3.9 + "jsonargparse[signatures]>=4.30.1; python_version >= '3.10'", + "jsonargparse[signatures]>=4.30.1,<=4.32.1; python_version <= '3.9'", "huggingface_hub>=0.23.5", # download models "safetensors>=0.4.3", # download models "tokenizers>=0.15.2", # tokenization in most models