From 5bcde731dc1dd82358eb2333f2a5a9eb73427352 Mon Sep 17 00:00:00 2001 From: Deependu Jha Date: Wed, 8 Oct 2025 12:26:10 +0530 Subject: [PATCH 1/2] update --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index f99985cb9175c..aecd0d851be1f 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,11 @@ export SPHINX_MOCK_REQUIREMENTS=1 # install only Lightning Trainer packages export PACKAGE_NAME=pytorch + +# in lightning studio, `lightning` is pre-installed +# so we need to uninstall it first to use the editable install setup: + uv pip uninstall lightning pytorch-lightning lightning-fabric || true uv pip install -r requirements.txt \ -r requirements/pytorch/base.txt \ -r requirements/pytorch/test.txt \ From 78ec886f8b6695f7e7907f879cbaf5b339f8b52a Mon Sep 17 00:00:00 2001 From: Deependu Jha Date: Wed, 8 Oct 2025 12:29:35 +0530 Subject: [PATCH 2/2] update --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aecd0d851be1f..82ea3cc6b2bfc 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ export SPHINX_MOCK_REQUIREMENTS=1 export PACKAGE_NAME=pytorch -# in lightning studio, `lightning` is pre-installed -# so we need to uninstall it first to use the editable install +# In Lightning Studio, the `lightning` package comes pre-installed. +# Uninstall it first to ensure the editable install works correctly. setup: uv pip uninstall lightning pytorch-lightning lightning-fabric || true uv pip install -r requirements.txt \