Skip to content

Commit 7f8826d

Browse files
committed
rf: use runners module from datalad_core library
All non-deprecated content of this module has been migrated to `datalad_core` (and some to `datasalad`). A deprecation warning it added to the module. All consuming code here has been adjusted to the new imports.
1 parent 7b5d63a commit 7f8826d

File tree

19 files changed

+95
-390
lines changed

19 files changed

+95
-390
lines changed

datalad_next/annexremotes/tests/test_archivist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .. import UnsupportedRequest
88
from ..archivist import ArchivistRemote
99
from datalad_next.datasets import Dataset
10-
from datalad_next.runners import CommandError
10+
from datalad_core.runners import CommandError
1111

1212
from datalad_next.tests import assert_result_count
1313

datalad_next/constraints/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Constraints for Git-related concepts and parameters"""
22
from __future__ import annotations
33

4-
from datalad_next.runners import (
4+
from datalad_core.runners import (
55
CommandError,
66
call_git,
77
call_git_oneline,

datalad_next/gitremotes/datalad_annex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
LegacyGitRepo as GitRepo,
213213
)
214214
from datalad_next.exceptions import CapturedException
215-
from datalad_next.runners import (
215+
from datalad_core.runners import (
216216
CommandError,
217217
call_git,
218218
call_git_oneline,

datalad_next/iter_collections/annexworktree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
from datalad_next.consts import on_windows
3131
from datalad_next.repo_utils import has_initialized_annex
32-
from datalad_next.runners import iter_git_subproc
32+
from datalad_core.runners import iter_git_subproc
3333

3434
from .gitworktree import (
3535
GitWorktreeItem,

datalad_next/iter_collections/gitdiff.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@
2525

2626
from datalad_next.consts import PRE_INIT_COMMIT_SHA
2727
from datasalad.gitpathspec import GitPathSpecs
28-
from datalad_next.runners import (
28+
from datalad_core.runners import (
2929
CommandError,
30-
iter_git_subproc,
31-
)
32-
from datalad_next.runners import (
3330
call_git,
3431
call_git_oneline,
32+
iter_git_subproc,
3533
)
3634

3735
from .gittree import (

datalad_next/iter_collections/gitstatus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
)
1313

1414
from datalad_next.consts import PRE_INIT_COMMIT_SHA
15-
from datalad_next.runners import (
15+
from datalad_core.runners import (
1616
call_git_lines,
1717
)
1818
from datalad_next.repo_utils import (

datalad_next/iter_collections/gittree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
itemize,
2222
)
2323

24-
from datalad_next.runners import iter_git_subproc
24+
from datalad_core.runners import iter_git_subproc
2525

2626
from .utils import PathBasedItem
2727

datalad_next/iter_collections/gitworktree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
itemize,
2424
)
2525

26-
from datalad_next.runners import iter_git_subproc
26+
from datalad_core.runners import iter_git_subproc
2727
from datasalad.gitpathspec import GitPathSpecs
2828
from .utils import (
2929
FileSystemItem,

datalad_next/iter_collections/tests/test_itergitstatus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33

44
from datalad_next.datasets import Dataset
5-
from datalad_next.runners import (
5+
from datalad_core.runners import (
66
call_git_success,
77
)
88

datalad_next/patches/replace_sshremoteio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
from datalad_next.exceptions import CapturedException
5252
from datalad_next.patches import apply_patch
53-
from datalad_next.runners import CommandError
53+
from datalad_core.runners import CommandError
5454
from datalad_next.shell import (
5555
FixedLengthResponseGeneratorPosix,
5656
shell,

0 commit comments

Comments
 (0)