From 4e792ae61c5927ab2e5f6a6914d985d43aa705b4 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 24 Jun 2021 07:21:42 +0300 Subject: [PATCH] setup: update fsspec to 2021.6.1 (#6219) * setup: update fsspec to 2021.6.1 * fs: local: remove temp workaround --- dvc/fs/local.py | 4 +--- setup.py | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dvc/fs/local.py b/dvc/fs/local.py index fce8c6cfc..d614646e1 100644 --- a/dvc/fs/local.py +++ b/dvc/fs/local.py @@ -32,9 +32,7 @@ class LocalFileSystem(BaseFileSystem): def exists(self, path_info) -> bool: assert isinstance(path_info, str) or path_info.scheme == "local" - # NOTE: os.fspath could be removed after fsspec 2021.06.1 - # https://github.com/intake/filesystem_spec/issues/666 - return self.fs.exists(os.fspath(path_info)) + return self.fs.exists(path_info) def isfile(self, path_info) -> bool: return os.path.isfile(path_info) diff --git a/setup.py b/setup.py index cc3172214..be3d5ff41 100644 --- a/setup.py +++ b/setup.py @@ -88,16 +88,16 @@ install_requires = [ "python-benedict>=0.21.1", "pyparsing==2.4.7", "typing_extensions>=3.7.4", - "fsspec==2021.6.0", + "fsspec==2021.6.1", "diskcache>=5.2.1", ] # Extra dependencies for remote integrations -gs = ["gcsfs==2021.6.0"] +gs = ["gcsfs==2021.6.1"] gdrive = ["pydrive2>=1.8.1", "six >= 1.13.0"] -s3 = ["s3fs==2021.6.0", "aiobotocore[boto3]==1.3.0"] +s3 = ["s3fs==2021.6.1", "aiobotocore[boto3]==1.3.0"] azure = ["adlfs==0.7.1", "azure-identity>=1.4.0", "knack"] # https://github.com/Legrandin/pycryptodome/issues/465 oss = ["oss2==2.6.1", "pycryptodome>=3.10"]