From 0adb6b3a2741b107451c6377d29a3c64113fb030 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 11:47:47 +0000 Subject: [PATCH 1/2] Bump lightning from 2.2.5 to 2.4.0 Bumps [lightning](https://github.com/Lightning-AI/lightning) from 2.2.5 to 2.4.0. - [Release notes](https://github.com/Lightning-AI/lightning/releases) - [Commits](https://github.com/Lightning-AI/lightning/compare/2.2.5...2.4.0) --- updated-dependencies: - dependency-name: lightning dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- requirements/required.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d5b69668..148252a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ dependencies = [ "geobench>=1.0.0", "mlflow>=2.12.1", # broken due to https://github.com/Lightning-AI/pytorch-lightning/issues/19977 - "lightning>=2, <=2.2.5", + "lightning>=2, <=2.4.0", ] [project.optional-dependencies] diff --git a/requirements/required.txt b/requirements/required.txt index e2d7642b..646bf24f 100644 --- a/requirements/required.txt +++ b/requirements/required.txt @@ -10,7 +10,7 @@ lightly==1.4.25 h5py==3.10.0 geobench==1.0.0 mlflow==2.14.3 -lightning==2.2.5 +lightning==2.4.0 mmcv==2.0.0 # Extra dependencies required by mmseg ftfy From d9abcdcfe022da9ed01b3369de62647102018db9 Mon Sep 17 00:00:00 2001 From: Carlos Gomes Date: Tue, 24 Sep 2024 14:14:48 +0200 Subject: [PATCH 2/2] be more flexible with lightning reqs Signed-off-by: Carlos Gomes --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 148252a9..dd0cce0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ dependencies = [ "geobench>=1.0.0", "mlflow>=2.12.1", # broken due to https://github.com/Lightning-AI/pytorch-lightning/issues/19977 - "lightning>=2, <=2.4.0", + "lightning[pytorch-extra]>=2,!=2.3.*", ] [project.optional-dependencies]