Skip to content

Commit

Permalink
Merge pull request #131 from neptune-ai/pg/fix
Browse files Browse the repository at this point in the history
pg/fix
  • Loading branch information
PatrykGala authored Nov 27, 2024
2 parents cae18e4 + 9c356b7 commit b0e2661
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/neptune_fetcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@
"ReadOnlyRun",
]

import logging
from importlib.metadata import (
PackageNotFoundError,
version,
)

from .cache import logger

try:
# This will raise PackageNotFoundError if the package is not installed
version("neptune-experimental")
Expand All @@ -47,8 +46,8 @@

try:
version("neptune")

logger.warn(
logger = logging.getLogger(__name__)
logger.warning(
"""You have `neptune` installed. The package is no longer a dependency and causes conflicts.
Uninstall it before using `neptune-fetcher`:
Expand Down

0 comments on commit b0e2661

Please sign in to comment.