diff --git a/requirements-swh.txt b/requirements-swh.txt --- a/requirements-swh.txt +++ b/requirements-swh.txt @@ -1,4 +1,4 @@ -swh.core[db,http] >= 0.2.2 +swh.core[db,http] >= 0.2.3 swh.model >= 0.0.15 swh.objstorage >= 0.0.43 swh.scheduler >= 0.5.2 diff --git a/swh/indexer/storage/in_memory.py b/swh/indexer/storage/in_memory.py --- a/swh/indexer/storage/in_memory.py +++ b/swh/indexer/storage/in_memory.py @@ -12,10 +12,10 @@ from collections import defaultdict, Counter from typing import Any, Dict, List, Optional +from swh.core.collections import SortedList from swh.model.model import SHA1_SIZE from swh.model.hashutil import hash_to_hex, hash_to_bytes from swh.storage.utils import get_partition_bounds_bytes -from swh.storage.in_memory import SortedList from . import MAPPING_NAMES, check_id_duplicates from .exc import IndexerStorageArgumentException