Skip to content

Commit 0b88204

Browse files
authored
bump lightning-utilities from <0.10 to <0.11 (#19586)
1 parent f23b3b1 commit 0b88204

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

requirements/app/app.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fsspec[http] >=2022.5.0, <2023.11.0
66
croniter >=1.3.0, <1.5.0 # strict; TODO: for now until we find something more robust.
77
traitlets >=5.3.0, <5.12.0
88
arrow >=1.2.0, <1.3.0
9-
lightning-utilities >=0.8.0, <0.10.0
9+
lightning-utilities >=0.8.0, <0.11.0
1010
beautifulsoup4 >=4.8.0, <4.13.0
1111
inquirer >=2.10.0, <3.2.0
1212
psutil <5.9.6

requirements/fabric/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ torch >=1.13.0, <=2.2.0
66
fsspec[http] >=2022.5.0, <2023.11.0
77
packaging >=20.0, <=23.1
88
typing-extensions >=4.4.0, <4.10.0
9-
lightning-utilities >=0.8.0, <0.10.0
9+
lightning-utilities >=0.8.0, <0.11.0

requirements/fabric/examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
torchvision >=0.14.0, <0.18.0
55
torchmetrics >=0.10.0, <1.3.0
6-
lightning-utilities >=0.8.0, <0.10.0
6+
lightning-utilities >=0.8.0, <0.11.0

requirements/pytorch/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ fsspec[http] >=2022.5.0, <2023.11.0
99
torchmetrics >=0.7.0, <1.3.0 # needed for using fixed compare_version
1010
packaging >=20.0, <=23.1
1111
typing-extensions >=4.4.0, <4.10.0
12-
lightning-utilities >=0.8.0, <0.10.0
12+
lightning-utilities >=0.8.0, <0.11.0

requirements/pytorch/examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ torchvision >=0.14.0, <0.18.0
66
gym[classic_control] >=0.17.0, <0.27.0
77
ipython[all] <8.15.0
88
torchmetrics >=0.10.0, <1.3.0
9-
lightning-utilities >=0.8.0, <0.10.0
9+
lightning-utilities >=0.8.0, <0.11.0

src/lightning/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _cli_entry_point() -> None:
3939
if not (
4040
ModuleAvailableCache("lightning.app")
4141
if RequirementCache("lightning-utilities<0.10.0")
42-
else RequirementCache(module="lightning.app") # type: ignore[call-arg]
42+
else RequirementCache(module="lightning.app")
4343
):
4444
print("The `lightning` command requires additional dependencies: `pip install lightning[app]`")
4545
sys.exit(1)

src/lightning/fabric/utilities/rank_zero.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def wrapped_fn(*args: P.args, **kwargs: P.kwargs) -> Optional[T]:
7474

7575
rank_zero_module.rank_zero_only.rank = getattr(rank_zero_module.rank_zero_only, "rank", _get_rank() or 0)
7676
else:
77-
rank_zero_only = rank_zero_module.rank_zero_only # type: ignore[assignment]
77+
rank_zero_only = rank_zero_module.rank_zero_only
7878

7979
# add the attribute to the function but don't overwrite in case Trainer has already set it
8080
rank_zero_only.rank = getattr(rank_zero_only, "rank", _get_rank() or 0)

0 commit comments

Comments
 (0)