diff --git a/gosling/data/__init__.py b/gosling/data/__init__.py index 03833b5c..7d58e985 100644 --- a/gosling/data/__init__.py +++ b/gosling/data/__init__.py @@ -7,8 +7,7 @@ from gosling.utils.core import _compute_data_hash if typing.TYPE_CHECKING: - from bgserve import Provider - from bgserve._provide import Resource, TilesetResource + from servir import Provider, Resource, TilesetResource def _hash_path(path: pathlib.Path): @@ -38,7 +37,7 @@ def _extract_url(resource: Resource | TilesetResource) -> str: str The URL for Gosling. """ - from bgserve._provide import TilesetResource + from servir import TilesetResource if isinstance(resource, TilesetResource): return f"{resource.server.rstrip('/')}/tileset_info/?d={resource.uid}" @@ -74,7 +73,7 @@ def __call__( **kwargs: typing.Any, ) -> str: if self._provider is None: - from bgserve import Provider + from servir import Provider self._provider = Provider() self._provider.start(port=port) diff --git a/pyproject.toml b/pyproject.toml index cd3aa4b4..a9b45476 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ [project.optional-dependencies] all = [ - "bgserve>=0.0.0", + "servir>=0.0.3", "gosling-widget>=0.0.2", "clodius>=0.20.0", ]