From 23fcb5f52651548bb1f388c2fccece1b88ae3393 Mon Sep 17 00:00:00 2001 From: Andreas Poehlmann Date: Sat, 7 Sep 2024 23:22:51 +0200 Subject: [PATCH] upath: update flavours --- dev/requirements.txt | 4 ++-- noxfile.py | 4 +++- upath/_flavour_sources.py | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dev/requirements.txt b/dev/requirements.txt index 800c1372..c688d7ca 100644 --- a/dev/requirements.txt +++ b/dev/requirements.txt @@ -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 diff --git a/noxfile.py b/noxfile.py index b1f61c9a..485c9d32 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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 + ) diff --git a/upath/_flavour_sources.py b/upath/_flavour_sources.py index 7523f1be..bdeae3e7 100644 --- a/upath/_flavour_sources.py +++ b/upath/_flavour_sources.py @@ -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 = '/' @@ -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 = '/'