Skip to content

Commit

Permalink
upath: update flavours (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- authored Sep 7, 2024
1 parent b44bac3 commit b330b16
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dev/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ocifs==1.3.1
webdav4[fsspec]==0.10.0
# gfrivefs @ git+https://github.com/fsspec/gdrivefs@master broken ...
morefs[asynclocalfs]==0.2.2
dvc==3.53.1
huggingface_hub==0.23.5
dvc==3.55.1
huggingface_hub==0.24.6
lakefs-spec==0.10.0
ossfs==2023.12.0
fsspec-xrootd==0.3.0
Expand Down
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,6 @@ def typesafety(session):
def generate_flavours(session):
session.install("-r", "dev/requirements.txt")
with open("upath/_flavour_sources.py", "w") as target:
session.run("python", "dev/generate_flavours.py", stdout=target)
session.run(
"python", "dev/fsspec_inspector/generate_flavours.py", stdout=target
)
4 changes: 2 additions & 2 deletions upath/_flavour_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def _get_kwargs_from_urls(path):

class HfFileSystemFlavour(AbstractFileSystemFlavour):
__orig_class__ = 'huggingface_hub.hf_file_system.HfFileSystem'
__orig_version__ = '0.23.5'
__orig_version__ = '0.24.6'
protocol = ('hf',)
root_marker = ''
sep = '/'
Expand Down Expand Up @@ -958,7 +958,7 @@ def _strip_protocol(cls, path):

class _DVCFileSystemFlavour(AbstractFileSystemFlavour):
__orig_class__ = 'dvc.fs.dvc._DVCFileSystem'
__orig_version__ = '3.53.1'
__orig_version__ = '3.55.1'
protocol = ('dvc',)
root_marker = '/'
sep = '/'

0 comments on commit b330b16

Please sign in to comment.