Skip to content

Commit 655e8fc

Browse files
authored
Update flavours (#252)
* update to newest flavours * nox: add command for updating flavours
1 parent 92675f0 commit 655e8fc

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

dev/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
fsspec[git,hdfs,dask,http,sftp,smb]==2024.6.1
22

33
# these dependencies define their own filesystems
4-
adlfs==2024.4.1
4+
adlfs==2024.7.0
55
boxfs==0.3.0
66
dropboxdrivefs==1.4.1
77
gcsfs==2024.6.1
@@ -10,9 +10,9 @@ ocifs==1.3.1
1010
webdav4[fsspec]==0.10.0
1111
# gfrivefs @ git+https://github.com/fsspec/gdrivefs@master broken ...
1212
morefs[asynclocalfs]==0.2.2
13-
dvc==3.51.2
14-
huggingface_hub==0.23.4
15-
lakefs-spec==0.9.0
13+
dvc==3.53.1
14+
huggingface_hub==0.23.5
15+
lakefs-spec==0.10.0
1616
ossfs==2023.12.0
1717
fsspec-xrootd==0.3.0
1818
wandbfs==0.0.2

noxfile.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def typesafety(session):
107107
)
108108

109109

110-
@nox.session()
111-
def smoke(session):
112-
print("please tun `nox -s tests` instead")
113-
raise SystemExit(1)
110+
@nox.session(python="3.12")
111+
def generate_flavours(session):
112+
session.install("-r", "dev/requirements.txt")
113+
with open("upath/_flavour_sources.py", "w") as target:
114+
session.run("python", "dev/generate_flavours.py", stdout=target)

upath/_flavour_sources.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _parent(cls, path):
199199

200200
class AzureBlobFileSystemFlavour(AbstractFileSystemFlavour):
201201
__orig_class__ = 'adlfs.spec.AzureBlobFileSystem'
202-
__orig_version__ = '2024.4.1'
202+
__orig_version__ = '2024.7.0'
203203
protocol = ('abfs', 'az', 'abfss')
204204
root_marker = ''
205205
sep = '/'
@@ -272,7 +272,7 @@ def _get_kwargs_from_urls(urlpath):
272272

273273
class AzureDatalakeFileSystemFlavour(AbstractFileSystemFlavour):
274274
__orig_class__ = 'adlfs.gen1.AzureDatalakeFileSystem'
275-
__orig_version__ = '2024.4.1'
275+
__orig_version__ = '2024.7.0'
276276
protocol = ('adl',)
277277
root_marker = ''
278278
sep = '/'
@@ -571,7 +571,7 @@ def _get_kwargs_from_urls(path):
571571

572572
class HfFileSystemFlavour(AbstractFileSystemFlavour):
573573
__orig_class__ = 'huggingface_hub.hf_file_system.HfFileSystem'
574-
__orig_version__ = '0.23.4'
574+
__orig_version__ = '0.23.5'
575575
protocol = ('hf',)
576576
root_marker = ''
577577
sep = '/'
@@ -587,7 +587,7 @@ class JupyterFileSystemFlavour(AbstractFileSystemFlavour):
587587

588588
class LakeFSFileSystemFlavour(AbstractFileSystemFlavour):
589589
__orig_class__ = 'lakefs_spec.spec.LakeFSFileSystem'
590-
__orig_version__ = '0.9.0'
590+
__orig_version__ = '0.10.0'
591591
protocol = ('lakefs',)
592592
root_marker = ''
593593
sep = '/'
@@ -958,7 +958,7 @@ def _strip_protocol(cls, path):
958958

959959
class _DVCFileSystemFlavour(AbstractFileSystemFlavour):
960960
__orig_class__ = 'dvc.fs.dvc._DVCFileSystem'
961-
__orig_version__ = '3.51.2'
961+
__orig_version__ = '3.53.1'
962962
protocol = ('dvc',)
963963
root_marker = '/'
964964
sep = '/'

0 commit comments

Comments
 (0)