From e75e2b0262c73a2771d6348a3842a22921506476 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 12 Jan 2024 06:02:02 +0000 Subject: [PATCH] remove importlib_metadata dep in favor of stdlib --- .config/requirements.txt | 1 - src/mk/__init__.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/requirements.txt b/.config/requirements.txt index a264419..ebd637e 100644 --- a/.config/requirements.txt +++ b/.config/requirements.txt @@ -1,7 +1,6 @@ GitPython build>=0.3.1.post1 # py_package diskcache >= 5.2.1 -importlib-metadata packaging pip>=21.0.1 # py_package pluggy diff --git a/src/mk/__init__.py b/src/mk/__init__.py index e9292ff..61030e2 100644 --- a/src/mk/__init__.py +++ b/src/mk/__init__.py @@ -1,5 +1,5 @@ """init code of mk module.""" -from importlib_metadata import PackageNotFoundError, version +from importlib.metadata import PackageNotFoundError, version try: __version__ = version(__name__)