Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightning 2.3+ contains known bugs with YAML parsing #2155

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ updates:
- "torch"
- "torchvision"
ignore:
# lightning 2.3+ contains known bugs related to YAML parsing
# https://github.com/Lightning-AI/pytorch-lightning/issues/19977
- dependency-name: "lightning"
version: ">=2.3"
# setuptools releases new versions almost daily
- dependency-name: "setuptools"
update-types: ["version-update:semver-patch"]
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ dependencies = [
# https://github.com/microsoft/torchgeo/issues/1824
"lightly>=1.4.4,!=1.4.26",
# lightning 2+ required for LightningCLI args + sys.argv support
"lightning[pytorch-extra]>=2",
# lightning 2.3+ contains known bugs related to YAML parsing
# https://github.com/Lightning-AI/pytorch-lightning/issues/19977
"lightning[pytorch-extra]>=2,<2.3",
# matplotlib 3.5+ required for Python 3.10 wheels
"matplotlib>=3.5",
# numpy 1.21.2+ required by Python 3.10 wheels
Expand Down
Loading