diff --git a/dask_kubernetes/operator/controller/controller.py b/dask_kubernetes/operator/controller/controller.py index 1254ee52..7e8b1b7b 100644 --- a/dask_kubernetes/operator/controller/controller.py +++ b/dask_kubernetes/operator/controller/controller.py @@ -4,6 +4,7 @@ from collections import defaultdict from contextlib import suppress from datetime import datetime +from importlib.metadata import entry_points from uuid import uuid4 import aiohttp @@ -12,7 +13,6 @@ import kr8s from distributed.core import clean_exception, rpc from distributed.protocol.pickle import dumps -from importlib_metadata import entry_points from kr8s.asyncio.objects import Deployment, Pod, Service from dask_kubernetes.common.objects import validate_cluster_name