From 346acb7c135c4243948215589fe68edf9ccb51db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Thu, 18 Aug 2022 22:34:58 +0545 Subject: [PATCH] deps: bump dvc-data to 0.1.21 --- dvc/fs/__init__.py | 17 ++++++++++++++++- dvc/info.py | 2 +- setup.cfg | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dvc/fs/__init__.py b/dvc/fs/__init__.py index d255424149..ed6b99d580 100644 --- a/dvc/fs/__init__.py +++ b/dvc/fs/__init__.py @@ -10,6 +10,8 @@ Schemes, generic, get_fs_cls, + known_implementations, + localfs, registry, system, ) @@ -19,13 +21,26 @@ ConfigError, RemoteMissingDepsError, ) -from dvc_objects.fs.implementations.local import localfs # noqa: F401 from dvc_objects.fs.path import Path # noqa: F401 from .data import DataFileSystem # noqa: F401 from .dvc import DvcFileSystem # noqa: F401 from .git import GitFileSystem # noqa: F401 +known_implementations.update( + { + "dvc": { + "class": "dvc.fs.dvc.DvcFileSystem", + "err": "dvc is supported, but requires 'dvc' to be installed", + }, + "git": { + "class": "dvc.fs.git.GitFileSystem", + "err": "git is supported, but requires 'dvc' to be installed", + }, + } +) + + # pylint: enable=unused-import diff --git a/dvc/info.py b/dvc/info.py index d804363cb6..86924ecd0a 100644 --- a/dvc/info.py +++ b/dvc/info.py @@ -91,7 +91,7 @@ def _get_linktype_support_info(repo): def _get_supported_remotes(): supported_remotes = [] for scheme in registry: - if scheme in [Schemes.LOCAL, Schemes.MEMORY]: + if scheme in [Schemes.LOCAL, Schemes.MEMORY, "dvc", "git"]: continue try: diff --git a/setup.cfg b/setup.cfg index 72a4fa4c84..dc0d34777c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -68,7 +68,7 @@ install_requires = dvc-render==0.0.9 dvc-task==0.1.2 dvclive>=0.10.0 - dvc-data==0.1.20 + dvc-data==0.1.21 dvc-http==0.0.2 hydra-core>=1.1.0