Skip to content

Commit 8f99177

Browse files
authored
Try and fix ABSStore on v2 (#2887)
1 parent fe91ba7 commit 8f99177

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

requirements_dev_optional.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ lmdb==1.6.2; sys_platform != 'win32'
44
# optional library requirements for Jupyter
55
ipytree==0.2.2
66
ipywidgets==8.1.5
7-
# optional library requirements for services
8-
# don't let pyup change pinning for azure-storage-blob, need to pin to older
9-
# version to get compatibility with azure storage emulator on appveyor (FIXME)
10-
azure-storage-blob==12.21.0 # pyup: ignore
7+
azure-storage-blob==12.24.1
118
redis==5.2.1
129
types-redis
1310
types-setuptools

zarr/_storage/absstore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def getsize(self, path=None):
231231
elif not fs_path.endswith("/"):
232232
fs_path += "/"
233233
for blob in self.client.walk_blobs(name_starts_with=fs_path, delimiter="/"):
234-
blob_client = self.client.get_blob_client(blob)
234+
blob_client = self.client.get_blob_client(blob.name)
235235
if blob_client.exists():
236236
size += blob_client.get_blob_properties().size
237237
return size

0 commit comments

Comments
 (0)