Skip to content

Commit

Permalink
Update flavours (#252)
Browse files Browse the repository at this point in the history
* update to newest flavours

* nox: add command for updating flavours
  • Loading branch information
ap-- authored Aug 22, 2024
1 parent 92675f0 commit 655e8fc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
8 changes: 4 additions & 4 deletions dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fsspec[git,hdfs,dask,http,sftp,smb]==2024.6.1

# these dependencies define their own filesystems
adlfs==2024.4.1
adlfs==2024.7.0
boxfs==0.3.0
dropboxdrivefs==1.4.1
gcsfs==2024.6.1
Expand All @@ -10,9 +10,9 @@ 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.51.2
huggingface_hub==0.23.4
lakefs-spec==0.9.0
dvc==3.53.1
huggingface_hub==0.23.5
lakefs-spec==0.10.0
ossfs==2023.12.0
fsspec-xrootd==0.3.0
wandbfs==0.0.2
9 changes: 5 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def typesafety(session):
)


@nox.session()
def smoke(session):
print("please tun `nox -s tests` instead")
raise SystemExit(1)
@nox.session(python="3.12")
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)
10 changes: 5 additions & 5 deletions upath/_flavour_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _parent(cls, path):

class AzureBlobFileSystemFlavour(AbstractFileSystemFlavour):
__orig_class__ = 'adlfs.spec.AzureBlobFileSystem'
__orig_version__ = '2024.4.1'
__orig_version__ = '2024.7.0'
protocol = ('abfs', 'az', 'abfss')
root_marker = ''
sep = '/'
Expand Down Expand Up @@ -272,7 +272,7 @@ def _get_kwargs_from_urls(urlpath):

class AzureDatalakeFileSystemFlavour(AbstractFileSystemFlavour):
__orig_class__ = 'adlfs.gen1.AzureDatalakeFileSystem'
__orig_version__ = '2024.4.1'
__orig_version__ = '2024.7.0'
protocol = ('adl',)
root_marker = ''
sep = '/'
Expand Down 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.4'
__orig_version__ = '0.23.5'
protocol = ('hf',)
root_marker = ''
sep = '/'
Expand All @@ -587,7 +587,7 @@ class JupyterFileSystemFlavour(AbstractFileSystemFlavour):

class LakeFSFileSystemFlavour(AbstractFileSystemFlavour):
__orig_class__ = 'lakefs_spec.spec.LakeFSFileSystem'
__orig_version__ = '0.9.0'
__orig_version__ = '0.10.0'
protocol = ('lakefs',)
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.51.2'
__orig_version__ = '3.53.1'
protocol = ('dvc',)
root_marker = '/'
sep = '/'

0 comments on commit 655e8fc

Please sign in to comment.