Skip to content

Commit

Permalink
Bump fsspec version (iterative#6214)
Browse files Browse the repository at this point in the history
* Bump fsspec version

* local: use fsspec 2021.06.0 with a temp hack

Co-authored-by: Ruslan Kuprieiev <[email protected]>
  • Loading branch information
skshetry and efiop authored Jun 23, 2021
1 parent b7c6df0 commit 6e5e628
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dvc/fs/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def open(path_info, mode="r", encoding=None, **kwargs):

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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def run(self):
"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",
]

Expand Down

0 comments on commit 6e5e628

Please sign in to comment.