From d2e47941d7613edfeaa1df28cf3b28068fd08349 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 24 Oct 2023 21:42:28 +0200 Subject: [PATCH] [conda,python] Pin lightning to <2.1.0 --- conda/meta.yaml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 87030ca1..680d760e 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -38,7 +38,7 @@ requirements: - torchvision {{ torchvision }} - tqdm {{ tqdm }} - tensorboard {{ tensorboard }} - - lightning >=2.0.3 + - lightning {{ lightning }} - clapper run: - python >=3.10 @@ -54,7 +54,7 @@ requirements: - {{ pin_compatible('torchvision') }} - {{ pin_compatible('tqdm') }} - {{ pin_compatible('tensorboard') }} - - {{ pin_compatible('lightning') }} + - {{ pin_compatible('lightning', max_pin='x.x') }} - clapper test: diff --git a/pyproject.toml b/pyproject.toml index 210ef6f4..b6f1fe12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ dependencies = [ "opencv-python", "torch>=1.8", "torchvision>=0.10", - "lightning>=2.0.3", + "lightning <2.1.0a0,>=2.0.3", "pydantic <2.0,>=1.7.4", # temporary, until issue #31 is fixed "tensorboard", "grad-cam>=1.4.8", -- GitLab