From 3cf75cf2ecb256628c742fd9222496868bfaf6d1 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Mon, 19 Sep 2022 22:54:48 -0700 Subject: [PATCH] Update importlib_matadata usage and requirements --- comictaggerlib/main.py | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/comictaggerlib/main.py b/comictaggerlib/main.py index 94a40e8..16ba45f 100755 --- a/comictaggerlib/main.py +++ b/comictaggerlib/main.py @@ -159,7 +159,7 @@ def ctmain() -> None: logger.debug("Installed Packages") for pkg in sorted(importlib_metadata.distributions(), key=lambda x: x.name): - logger.debug("%s\t%s", pkg.name, pkg.version) + logger.debug("%s\t%s", pkg.metadata["Name"], pkg.metadata["Version"]) utils.load_publishers() update_publishers() diff --git a/requirements.txt b/requirements.txt index 2f88c88..f996f0c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -beautifulsoup4 >= 4.1 -importlib_metadata +beautifulsoup4>=4.1 +importlib_metadata>=3.3.0 natsort>=8.1.0 pathvalidate pillow>=9.1.0