diff --git a/conda/meta.yaml b/conda/meta.yaml
index 87030ca1973f457b8826fdf1ebbcdbc44d610fb8..680d760e55ca5d97d951c18f8552b62d6fc845bb 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 210ef6f4c9d37126cae44076952118b7fca634c3..b6f1fe122050f49b99a0d05e87708711fa7c630f 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",