From 6a1b4d660440c246a069c22f7382fb7a1f0c3398 Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Fri, 19 Jan 2024 13:52:15 +0100
Subject: [PATCH] Do not use lightning 2.1.3

Lightning 2.1.3 changes how checkpoints are saved, which breaks
how we handle saving and loading. This should be reverted in the
next release of lightning.
---
 conda/meta.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 72dc7e00..adcb3005 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -38,6 +38,7 @@ requirements:
     - tqdm {{ tqdm }}
     - tensorboard {{ tensorboard }}
     - lightning {{ lightning }}
+    - lightning >=2.1.0,!=2.1.3
     - clapper
   run:
     - python >=3.10
@@ -55,6 +56,7 @@ requirements:
     - {{ pin_compatible('tqdm') }}
     - {{ pin_compatible('tensorboard') }}
     - {{ pin_compatible('lightning', max_pin='x.x') }}
+    - lightning >=2.1.0,!=2.1.3
     - clapper
 
 test:
-- 
GitLab