diff --git a/kayobe/utils.py b/kayobe/utils.py index ea41750d5..b6bccf1e6 100644 --- a/kayobe/utils.py +++ b/kayobe/utils.py @@ -14,7 +14,7 @@ import base64 import glob -import importlib_metadata +from importlib.metadata import Distribution import json import logging import os @@ -68,7 +68,7 @@ def _get_base_path(): if override: return os.path.join(override) - kayobe_dist = list(importlib_metadata.Distribution.discover(name="kayobe")) + kayobe_dist = list(Distribution.discover(name="kayobe")) if kayobe_dist: direct_url = _get_direct_url(kayobe_dist[0]) if direct_url: