From b3b1462ba36b502bb6dbd0453d444e4246fc28b8 Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Wed, 10 May 2023 11:01:26 +0200
Subject: [PATCH] Changed pytorch-lightning requirement to lightning

pytorch-lightning is in the process of changing their package names to
simply lightning.
---
 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 771b4a3f..74ab9d7b 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -36,7 +36,7 @@ requirements:
     - torchvision  {{ torchvision }}
     - tqdm {{ tqdm }}
     - tensorboard {{ tensorboard }}
-    - pytorch-lightning {{ pytorch_lightning }}
+    - lightning {{ lightning }}
     - clapper
   run:
     - python >=3.9
@@ -53,7 +53,7 @@ requirements:
     - {{ pin_compatible('torchvision') }}
     - {{ pin_compatible('tqdm') }}
     - {{ pin_compatible('tensorboard') }}
-    - {{ pin_compatible('pytorch-lightning') }}
+    - {{ pin_compatible('lightning') }}
     - clapper
 
 test:
diff --git a/pyproject.toml b/pyproject.toml
index 47820ed7..342d68c3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,7 +41,7 @@ dependencies = [
    "pillow",
    "torch>=1.8",
    "torchvision>=0.10",
-   "pytorch-lightning",
+   "lightning",
    "tensorboard",
 ]
 
-- 
GitLab