scmrepo 1.5.0__py3-none-any.whl → 1.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of scmrepo might be problematic. Click here for more details.
- scmrepo/git/credentials.py +2 -1
- scmrepo/git/lfs/client.py +3 -8
- {scmrepo-1.5.0.dist-info → scmrepo-1.6.0.dist-info}/METADATA +7 -21
- {scmrepo-1.5.0.dist-info → scmrepo-1.6.0.dist-info}/RECORD +7 -7
- {scmrepo-1.5.0.dist-info → scmrepo-1.6.0.dist-info}/WHEEL +1 -1
- {scmrepo-1.5.0.dist-info → scmrepo-1.6.0.dist-info}/LICENSE +0 -0
- {scmrepo-1.5.0.dist-info → scmrepo-1.6.0.dist-info}/top_level.txt +0 -0
scmrepo/git/credentials.py
CHANGED
|
@@ -292,7 +292,8 @@ def _input_tty(prompt: str = "Username: ") -> str:
|
|
|
292
292
|
with ExitStack() as stack:
|
|
293
293
|
try:
|
|
294
294
|
fd = os.open(
|
|
295
|
-
"/dev/tty",
|
|
295
|
+
"/dev/tty",
|
|
296
|
+
os.O_RDWR | os.O_NOCTTY, # pylint: disable=no-member
|
|
296
297
|
)
|
|
297
298
|
tty = io.FileIO(fd, "w+")
|
|
298
299
|
stack.enter_context(tty)
|
scmrepo/git/lfs/client.py
CHANGED
|
@@ -190,15 +190,10 @@ class LFSClient(AbstractContextManager):
|
|
|
190
190
|
**kwargs,
|
|
191
191
|
):
|
|
192
192
|
async def _get_one(from_path: str, to_path: str, **kwargs):
|
|
193
|
-
get_coro = callback.wrap_and_branch_coro(
|
|
194
|
-
self.httpfs._get_file # pylint: disable=protected-access
|
|
195
|
-
)
|
|
196
193
|
with as_atomic(localfs, to_path, create_parents=True) as tmp_file:
|
|
197
|
-
|
|
198
|
-
from_path,
|
|
199
|
-
|
|
200
|
-
**kwargs,
|
|
201
|
-
)
|
|
194
|
+
with callback.branch(from_path, tmp_file, kwargs):
|
|
195
|
+
await self.httpfs._get_file(from_path, tmp_file, **kwargs) # pylint: disable=protected-access
|
|
196
|
+
callback.relative_update()
|
|
202
197
|
|
|
203
198
|
resp_data = await self._batch_request(objects, **kwargs)
|
|
204
199
|
if resp_data.get("transfer") != "basic":
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: scmrepo
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary:
|
|
5
|
-
|
|
6
|
-
Maintainer-email: support@dvc.org
|
|
3
|
+
Version: 1.6.0
|
|
4
|
+
Summary: scmrepo
|
|
5
|
+
Author-email: Iterative <support@dvc.org>
|
|
7
6
|
License: Apache-2.0
|
|
8
|
-
|
|
7
|
+
Project-URL: Issues, https://github.com/iterative/scmrepo/issues
|
|
8
|
+
Project-URL: Source, https://github.com/iterative/scmrepo
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.8
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -24,29 +24,15 @@ Requires-Dist: pathspec >=0.9.0
|
|
|
24
24
|
Requires-Dist: asyncssh <3,>=2.13.1
|
|
25
25
|
Requires-Dist: funcy >=1.14
|
|
26
26
|
Requires-Dist: shortuuid >=0.5.0
|
|
27
|
-
Requires-Dist: dvc-objects <
|
|
27
|
+
Requires-Dist: dvc-objects <3,>=1.0.1
|
|
28
28
|
Requires-Dist: dvc-http >=2.29.0
|
|
29
29
|
Provides-Extra: dev
|
|
30
|
-
Requires-Dist:
|
|
31
|
-
Requires-Dist: pytest-sugar ==0.9.5 ; extra == 'dev'
|
|
32
|
-
Requires-Dist: pytest-cov ==3.0.0 ; extra == 'dev'
|
|
33
|
-
Requires-Dist: pytest-mock ==3.8.2 ; extra == 'dev'
|
|
34
|
-
Requires-Dist: pylint ==2.15.0 ; extra == 'dev'
|
|
35
|
-
Requires-Dist: mypy ==0.971 ; extra == 'dev'
|
|
36
|
-
Requires-Dist: pytest-test-utils ==0.0.8 ; extra == 'dev'
|
|
37
|
-
Requires-Dist: pytest-asyncio ==0.18.3 ; extra == 'dev'
|
|
38
|
-
Requires-Dist: mock ==5.1.0 ; extra == 'dev'
|
|
39
|
-
Requires-Dist: paramiko ==3.3.1 ; extra == 'dev'
|
|
40
|
-
Requires-Dist: types-certifi ==2021.10.8.3 ; extra == 'dev'
|
|
41
|
-
Requires-Dist: types-mock ==5.1.0.2 ; extra == 'dev'
|
|
42
|
-
Requires-Dist: types-paramiko ==3.3.0.0 ; extra == 'dev'
|
|
43
|
-
Requires-Dist: pytest-docker ==0.12.0 ; (python_version < "3.10" and implementation_name != "pypy") and extra == 'dev'
|
|
30
|
+
Requires-Dist: scmrepo[tests] ; extra == 'dev'
|
|
44
31
|
Provides-Extra: tests
|
|
45
32
|
Requires-Dist: pytest ==7.2.0 ; extra == 'tests'
|
|
46
33
|
Requires-Dist: pytest-sugar ==0.9.5 ; extra == 'tests'
|
|
47
34
|
Requires-Dist: pytest-cov ==3.0.0 ; extra == 'tests'
|
|
48
35
|
Requires-Dist: pytest-mock ==3.8.2 ; extra == 'tests'
|
|
49
|
-
Requires-Dist: pylint ==2.15.0 ; extra == 'tests'
|
|
50
36
|
Requires-Dist: mypy ==0.971 ; extra == 'tests'
|
|
51
37
|
Requires-Dist: pytest-test-utils ==0.0.8 ; extra == 'tests'
|
|
52
38
|
Requires-Dist: pytest-asyncio ==0.18.3 ; extra == 'tests'
|
|
@@ -9,7 +9,7 @@ scmrepo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
9
9
|
scmrepo/utils.py,sha256=_F3rVvPhES-A2JxLGob0RV8BOnHzxbA9aDPClA7_V8M,1512
|
|
10
10
|
scmrepo/git/__init__.py,sha256=eNnK36gjz5eWtDigUpTBEhOtN56eYr9Xwdw7PessrrQ,17051
|
|
11
11
|
scmrepo/git/config.py,sha256=_pt8Ygdz71xcbo4KvX_5dW14ujHmPJX3z3W8Ikasd-M,940
|
|
12
|
-
scmrepo/git/credentials.py,sha256=
|
|
12
|
+
scmrepo/git/credentials.py,sha256=ThMmDs42HmjlNCheBcZW6a3JXk6lhAmXl6_JS9ulY84,21003
|
|
13
13
|
scmrepo/git/objects.py,sha256=yey3YlNWf3-9FLKDoPBvr2vn_kmC71AN20f8_CUVlNk,4632
|
|
14
14
|
scmrepo/git/stash.py,sha256=wKWnYj_xpdT_3pvHiXtE7_I_By4S-Zbxf4Lv-ZY2sxI,2785
|
|
15
15
|
scmrepo/git/backend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -22,7 +22,7 @@ scmrepo/git/backend/pygit2/__init__.py,sha256=ZztTMnmon1npW5XEANXksTUi3u9DVA4ib2
|
|
|
22
22
|
scmrepo/git/backend/pygit2/callbacks.py,sha256=RXhzUU3IhKFinbZPGzdTn3bcmcPa1dF7CNpFW-kTAHk,2668
|
|
23
23
|
scmrepo/git/backend/pygit2/filter.py,sha256=cvmkeQp-Xl-bOk0dcTCJVDkDknF1SYtKtkuOgVbS5b0,2158
|
|
24
24
|
scmrepo/git/lfs/__init__.py,sha256=at5blRIKnKpg_g5dLRDsGWBFi6SbucRlF_DX6aAkGtE,257
|
|
25
|
-
scmrepo/git/lfs/client.py,sha256=
|
|
25
|
+
scmrepo/git/lfs/client.py,sha256=atKBXqBH4dYHzxWupjWdj_6Y_NazqDZMpJrxxgiBkFM,7123
|
|
26
26
|
scmrepo/git/lfs/exceptions.py,sha256=cLlImmPXWJJUl44S4xcRBa2T9wYRkWTaKQGwJylwOhA,77
|
|
27
27
|
scmrepo/git/lfs/fetch.py,sha256=tH64glllmQcogAr7-OB5dpzNvM5caIEp2sYC5ocYX1Y,4770
|
|
28
28
|
scmrepo/git/lfs/object.py,sha256=2wHbVjloTcAWPtyCnEroEiCr15hq3o-Q0d2qESaEEN4,343
|
|
@@ -30,8 +30,8 @@ scmrepo/git/lfs/pointer.py,sha256=l2EmyRsYKAj8nBMvc3rhiUS7eR93-rMfk1TJuQ_CpYQ,32
|
|
|
30
30
|
scmrepo/git/lfs/progress.py,sha256=J0j9jlTWeLIK0vLWK9UXEvHsVfKbhJjJp4Bkk55bQ7c,1732
|
|
31
31
|
scmrepo/git/lfs/smudge.py,sha256=sMSatXCTHZ5cAo-gaE_6KXwCHlXGqzkF0dVgIbPwTJU,1563
|
|
32
32
|
scmrepo/git/lfs/storage.py,sha256=I8NXWL1roAc0_66Mt0fsdiy9MP4Oqhk9ATlVjx-rNIU,2246
|
|
33
|
-
scmrepo-1.
|
|
34
|
-
scmrepo-1.
|
|
35
|
-
scmrepo-1.
|
|
36
|
-
scmrepo-1.
|
|
37
|
-
scmrepo-1.
|
|
33
|
+
scmrepo-1.6.0.dist-info/LICENSE,sha256=-1jhbPjoIVHR0cEgahL4Zhct75Ff4MzYCR_jOaJDPq8,11340
|
|
34
|
+
scmrepo-1.6.0.dist-info/METADATA,sha256=aB486IUmBCFiOnwOR-StQfvlt9TeHh7mMUdfpNETqK8,4830
|
|
35
|
+
scmrepo-1.6.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
36
|
+
scmrepo-1.6.0.dist-info/top_level.txt,sha256=iunjod6w3GogERsAYfLRupnANXnqzX3jbIfbeIQG5cc,8
|
|
37
|
+
scmrepo-1.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|