File tree Expand file tree Collapse file tree 4 files changed +33
-97
lines changed Expand file tree Collapse file tree 4 files changed +33
-97
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,19 @@ classifiers = [
2020]
2121requires-python = " >=3.8"
2222dynamic = [" version" ]
23- dependencies = []
23+ dependencies = [
24+ " gitpython>3" ,
25+ " dulwich>=0.21.6" ,
26+ " pygit2>=1.13.3" ,
27+ " pygtrie>=2.3.2" ,
28+ " fsspec>=2021.7.0" ,
29+ " pathspec>=0.9.0" ,
30+ " asyncssh>=2.13.1,<3" ,
31+ " funcy>=1.14" ,
32+ " shortuuid>=0.5.0" ,
33+ " dvc-objects>=1.0.1,<2" ,
34+ " dvc-http>=2.29.0" ,
35+ ]
2436
2537[project .urls ]
2638Issues = " https://github.com/iterative/scmrepo/issues"
@@ -33,11 +45,23 @@ tests = [
3345 " pytest-cov==3.0.0" ,
3446 " pytest-mock==3.8.2" ,
3547 " mypy==0.971" ,
48+ " pytest-test-utils==0.0.8" ,
49+ " pytest-asyncio==0.18.3" ,
50+ # https://github.com/docker/docker-py/issues/2902
51+ " pytest-docker==0.12.0; python_version < '3.10' and implementation_name != 'pypy'" ,
52+ " mock==5.1.0" ,
53+ " paramiko==3.3.1" ,
54+ " types-certifi==2021.10.8.3" ,
55+ " types-mock==5.1.0.2" ,
56+ " types-paramiko==3.3.0.0" ,
3657]
3758dev = [
3859 " scmrepo[tests]" ,
3960]
4061
62+ [tool .setuptools .package-data ]
63+ dvc_objects = [" py.typed" ]
64+
4165[tool .setuptools .packages .find ]
4266where = [" src" ]
4367namespaces = false
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -292,7 +292,8 @@ def _input_tty(prompt: str = "Username: ") -> str:
292292 with ExitStack () as stack :
293293 try :
294294 fd = os .open (
295- "/dev/tty" , os .O_RDWR | os .O_NOCTTY # pylint: disable=no-member
295+ "/dev/tty" ,
296+ os .O_RDWR | os .O_NOCTTY , # pylint: disable=no-member
296297 )
297298 tty = io .FileIO (fd , "w+" )
298299 stack .enter_context (tty )
Original file line number Diff line number Diff line change @@ -174,13 +174,11 @@ def test_get_matching_commands():
174174 from dulwich .config import ConfigFile
175175
176176 config_file = io .BytesIO (
177- """
177+ b """
178178[credential]
179179 helper = /usr/local/bin/my-helper
180180 UseHttpPath = true
181- """ .encode (
182- "ascii"
183- )
181+ """
184182 )
185183 config_file .seek (0 )
186184 config = ConfigFile .from_file (config_file )
@@ -189,12 +187,10 @@ def test_get_matching_commands():
189187 ) == [("/usr/local/bin/my-helper" , True )]
190188
191189 config_file = io .BytesIO (
192- """
190+ b """
193191[credential]
194192 helper = /usr/local/bin/my-helper
195- """ .encode (
196- "ascii"
197- )
193+ """
198194 )
199195 config_file .seek (0 )
200196 config = ConfigFile .from_file (config_file )
@@ -203,12 +199,10 @@ def test_get_matching_commands():
203199 ) == [("/usr/local/bin/my-helper" , False )]
204200
205201 config_file = io .BytesIO (
206- """
202+ b """
207203[credential]
208204 helper =
209- """ .encode (
210- "ascii"
211- )
205+ """
212206 )
213207 config_file .seek (0 )
214208 config = ConfigFile .from_file (config_file )
You can’t perform that action at this time.
0 commit comments