prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Optional dependencies are required for deprecated logging module
  🐛 Bug
  
  There is a backwards compatibility issues coming from PR #767. Notably, if a user doesn't have any of the extra logging dependencies then they'll be an import error.
  
  ### To Reproduce
  
  1. Remove all logging dependencies from your environment (E.g. comet)
  2. Depend on the deprecated pytorch_lightning.logging package and run
  
  ### Expected behavior
  
  We expect to maintain backwards compatibility here so optional dependencies shouldn't be required.
  
  </issue>
  <code>
  [start of pytorch_lightning/logging/__init__.py]
  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 import warnings
  6 
  7 warnings.warn("`logging` package has been renamed to `loggers` since v0.6.1"
  8               " and will be removed in v0.8.0", DeprecationWarning)
  9 
  10 from pytorch_lightning.loggers import *  # noqa: F403
  11 from pytorch_lightning.loggers import (  # noqa: E402
  12     base, comet, mlflow, neptune, tensorboard, test_tube, wandb
  13 )
  14
  [end of pytorch_lightning/logging/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/pytorch_lightning/logging/__init__.py b/pytorch_lightning/logging/__init__.py
  --- a/pytorch_lightning/logging/__init__.py
  +++ b/pytorch_lightning/logging/__init__.py
  @@ -8,6 +8,3 @@
                 " and will be removed in v0.8.0", DeprecationWarning)
   
   from pytorch_lightning.loggers import *  # noqa: F403
  -from pytorch_lightning.loggers import (  # noqa: E402
  -    base, comet, mlflow, neptune, tensorboard, test_tube, wandb
  -)
  
verification_info: {"golden_diff": "diff --git a/pytorch_lightning/logging/__init__.py b/pytorch_lightning/logging/__init__.py\n--- a/pytorch_lightning/logging/__init__.py\n+++ b/pytorch_lightning/logging/__init__.py\n@@ -8,6 +8,3 @@\n               \" and will be removed in v0.8.0\", DeprecationWarning)\n \n from pytorch_lightning.loggers import *  # noqa: F403\n-from pytorch_lightning.loggers import (  # noqa: E402\n-    base, comet, mlflow, neptune, tensorboard, test_tube, wandb\n-)\n", "issue": "Optional dependencies are required for deprecated logging module\n\ud83d\udc1b Bug\r\n\r\nThere is a backwards compatibility issues coming from PR #767. Notably, if a user doesn't have any of the extra logging dependencies then they'll be an import error.\r\n\r\n### To Reproduce\r\n\r\n1. Remove all logging dependencies from your environment (E.g. comet)\r\n2. Depend on the deprecated pytorch_lightning.logging package and run\r\n\r\n### Expected behavior\r\n\r\nWe expect to maintain backwards compatibility here so optional dependencies shouldn't be required.\n", "before_files": [{"content": "\"\"\"\n.. warning:: `logging` package has been renamed to `loggers` since v0.6.1 and will be removed in v0.8.0\n\"\"\"\n\nimport warnings\n\nwarnings.warn(\"`logging` package has been renamed to `loggers` since v0.6.1\"\n              \" and will be removed in v0.8.0\", DeprecationWarning)\n\nfrom pytorch_lightning.loggers import *  # noqa: F403\nfrom pytorch_lightning.loggers import (  # noqa: E402\n    base, comet, mlflow, neptune, tensorboard, test_tube, wandb\n)\n", "path": "pytorch_lightning/logging/__init__.py"}]}