Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure.storage.blob 12.x compatability #15

Closed
TomAugspurger opened this issue Nov 19, 2019 · 3 comments
Closed

azure.storage.blob 12.x compatability #15

TomAugspurger opened this issue Nov 19, 2019 · 3 comments

Comments

@TomAugspurger
Copy link
Contributor

https://pypi.org/project/azure-storage-blob/ 12.x was recently released. Some things broke.

In [1]: import adlfs
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-fd1e7da2cebf> in <module>
----> 1 import adlfs

~/sandbox/dask-adlfs/adlfs/__init__.py in <module>
----> 1 from .core import AzureDatalakeFileSystem
      2 from .core import AzureBlobFileSystem, AzureBlobFile
      3
      4 __all__ = ["AzureBlobFileSystem", "AzureBlobFile", "AzureDatalakeFileSystem"]

~/sandbox/dask-adlfs/adlfs/core.py in <module>
      7 from azure.datalake.store import lib, AzureDLFileSystem
      8 from azure.datalake.store.core import AzureDLPath, AzureDLFile
----> 9 from azure.storage.blob import BlockBlobService
     10 from fsspec import AbstractFileSystem
     11 from fsspec.spec import AbstractBufferedFile

ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob' (/Users/taugspurger/.virtualenvs/filesystems/lib/python3.7/site-packages/azure/storage/blob/__init__.py)

@AlbertDeFusco
Copy link
Contributor

I think I'll need to check this with my changes

@hayesgb
Copy link
Collaborator

hayesgb commented Nov 24, 2019

For the time being, we've pinned the version of the azure-storage package to <3.0

@hayesgb
Copy link
Collaborator

hayesgb commented May 19, 2020

Recent push to master uses azure storage blob. Need to pin in requirements.

@hayesgb hayesgb closed this as completed May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants