diff --git a/requirements-swh.txt b/requirements-swh.txt --- a/requirements-swh.txt +++ b/requirements-swh.txt @@ -1,4 +1,4 @@ -swh.storage >= 0.0.178 -swh.model >= 0.0.60 +swh.storage >= 0.1 +swh.model >= 0.3 swh.scheduler >= 0.0.39 -swh.loader.core >= 0.1.0 +swh.loader.core >= 0.2 diff --git a/swh/loader/svn/converters.py b/swh/loader/svn/converters.py --- a/swh/loader/svn/converters.py +++ b/swh/loader/svn/converters.py @@ -3,7 +3,7 @@ # License: GNU General Public License version 3, or any later version # See top-level LICENSE file for more information -from typing import Any, Dict, List, Optional +from typing import Any, Dict, Optional, Tuple from swh.model.model import Person, Revision, RevisionType, TimestampWithTimezone @@ -41,7 +41,7 @@ def build_swh_revision( - rev: int, commit: Dict, repo_uuid: str, dir_id: bytes, parents: List[bytes] + rev: int, commit: Dict, repo_uuid: str, dir_id: bytes, parents: Tuple[bytes] ) -> Revision: """Given a svn revision, build a swh revision.