Bump fsspec version (#6214)

* Bump fsspec version

* local: use fsspec 2021.06.0 with a temp hack

Co-authored-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Saugat Pachhai
2021-06-23 16:07:32 +03:00
committed by GitHub
co-authored by Ruslan Kuprieiev
parent b7c6df0ece
commit 6e5e62857b
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ class LocalFileSystem(BaseFileSystem):
def exists(self, path_info) -> bool:
assert isinstance(path_info, str) or path_info.scheme == "local"
return self.fs.exists(path_info)
# 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))
def isfile(self, path_info) -> bool:
return os.path.isfile(path_info)
+1 -1
View File
@@ -88,7 +88,7 @@ install_requires = [
"python-benedict>=0.21.1",
"pyparsing==2.4.7",
"typing_extensions>=3.7.4",
"fsspec @ git+https://github.com/intake/filesystem_spec.git",
"fsspec==2021.6.0",
"diskcache>=5.2.1",
]