Skip to content

Commit

Permalink
Update fsspec 2022.10.0 (#159)
Browse files Browse the repository at this point in the history
* Revert "localfs: temporarily patch fsspec's localfs"

This reverts commit 1208791.

* deps: update fsspec to 2022.10.0
  • Loading branch information
skshetry authored Oct 19, 2022
1 parent de32232 commit 9a443ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 375 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ install_requires=
tqdm>=4.63.1,<5
shortuuid>=0.5.0
funcy>=1.14
fsspec>=2022.5.0
fsspec>=2022.10.0
typing-extensions>=3.7.4

[options.extras_require]
Expand Down
371 changes: 0 additions & 371 deletions src/dvc_objects/fs/_local.py

This file was deleted.

4 changes: 1 addition & 3 deletions src/dvc_objects/fs/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ class FsspecLocalFileSystem(fsspec.AbstractFileSystem):
sep = os.sep

def __init__(self, *args, **kwargs):
from ._local import LocalFileSystem as _LocalFileSystem

super().__init__(*args, **kwargs)
self.fs = _LocalFileSystem()
self.fs = fsspec.filesystem("file")

def makedirs(self, path, exist_ok=False):
makedirs(path, exist_ok=exist_ok)
Expand Down

0 comments on commit 9a443ba

Please sign in to comment.