From 86751c88e6b68a7b9bb1458e31b87bd4046252c1 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 22 Feb 2024 10:34:50 +0100
Subject: [PATCH] Fix lightning pinning

---
 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 ac906906..a1bed5c4 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -39,7 +39,7 @@ requirements:
     - tqdm {{ tqdm }}
     - tensorboard {{ tensorboard }}
     - lightning {{ lightning }}
-    - lightning >=2.1.0,!=2.1.3
+    - lightning >=2.2.0
   run:
     - python >=3.10
     - {{ pin_compatible('clapper') }}
@@ -58,7 +58,7 @@ requirements:
     - {{ pin_compatible('tqdm') }}
     - {{ pin_compatible('tensorboard') }}
     - {{ pin_compatible('lightning', max_pin='x.x') }}
-    - lightning >=2.1.0,!=2.1.3
+    - lightning >=2.2.0
 
 test:
   source_files:
diff --git a/pyproject.toml b/pyproject.toml
index 87473080..55db0f21 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,7 +40,7 @@ dependencies = [
   "pillow",
   "torch>=1.8",
   "torchvision>=0.10",
-  "lightning <2.2.0a0,>=2.1.0",
+  "lightning>=2.2.0",
   "tensorboard",
   "grad-cam>=1.4.8",
 ]
-- 
GitLab