Skip to content

Commit

Permalink
setup: update fsspec to 2021.6.1 (#6219)
Browse files Browse the repository at this point in the history
* setup: update fsspec to 2021.6.1

* fs: local: remove temp workaround
  • Loading branch information
efiop authored Jun 24, 2021
1 parent 6b13f76 commit 4e792ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dvc/fs/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ 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"
# 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)
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ def run(self):
"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"]
Expand Down

0 comments on commit 4e792ae

Please sign in to comment.