Skip to content

Commit 897def2

Browse files
authored
Fix backwards compatibility for optional logging dependencies (#900)
1 parent b933b23 commit 897def2

File tree

6 files changed

+26
-0
lines changed

6 files changed

+26
-0
lines changed

pytorch_lightning/logging/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
" The deprecated package name will be removed in v0.8.0.", DeprecationWarning)
1010

1111
from pytorch_lightning.loggers import * # noqa: F403
12+
from pytorch_lightning.loggers import base, tensorboard # noqa: F403

pytorch_lightning/logging/comet.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
.. warning:: `logging` package has been renamed to `loggers` since v0.6.1 and will be removed in v0.8.0
3+
"""
4+
5+
from pytorch_lightning.loggers import comet # noqa: F403

pytorch_lightning/logging/mlflow.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
.. warning:: `logging` package has been renamed to `loggers` since v0.6.1 and will be removed in v0.8.0
3+
"""
4+
5+
from pytorch_lightning.loggers import mlflow # noqa: F403

pytorch_lightning/logging/neptune.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
.. warning:: `logging` package has been renamed to `loggers` since v0.6.1 and will be removed in v0.8.0
3+
"""
4+
5+
from pytorch_lightning.loggers import neptune # noqa: F403
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
.. warning:: `logging` package has been renamed to `loggers` since v0.6.1 and will be removed in v0.8.0
3+
"""
4+
5+
from pytorch_lightning.loggers import test_tube # noqa: F403

pytorch_lightning/logging/wandb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
.. warning:: `logging` package has been renamed to `loggers` since v0.6.1 and will be removed in v0.8.0
3+
"""
4+
5+
from pytorch_lightning.loggers import wandb # noqa: F403

0 commit comments

Comments
 (0)