From dcdfc34c221ff33243a7d930d7132c766808a5e3 Mon Sep 17 00:00:00 2001 From: Patryk Gala Date: Wed, 27 Nov 2024 21:07:22 +0100 Subject: [PATCH] chore: Remove warning about neptune package --- src/neptune_fetcher/__init__.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/neptune_fetcher/__init__.py b/src/neptune_fetcher/__init__.py index b21cd4b..d3dc260 100644 --- a/src/neptune_fetcher/__init__.py +++ b/src/neptune_fetcher/__init__.py @@ -18,7 +18,6 @@ "ReadOnlyRun", ] -import logging from importlib.metadata import ( PackageNotFoundError, version, @@ -44,24 +43,5 @@ except PackageNotFoundError: pass -try: - version("neptune") - 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`: - - pip uninstall neptune - -If you're using `uv`: - - uv pip uninstall neptune - - """ - ) -except PackageNotFoundError: - pass - from .read_only_project import ReadOnlyProject from .read_only_run import ReadOnlyRun