azure-storage-blob 12.0.0
See original GitHub issueWhich service(blob, file, queue) does this issue concern?
Blob
Which version of the SDK was used? Please provide the output of pip freeze
.
azure-storage-blob 12.0.0
What problem was encountered?
cannot import name ‘BlockBlobService’ from ‘azure.storage.blob’
Have you found a mitigation/solution?
Revert back to v2.1.0
I just want to add that in pypi the documentation mentions to use from azure.storage.blob import BlobServiceClient
. However the documentation found in https://azure-storage.readthedocs.io/index.html still mentions using BlockBlobService instead. So can I clarify which package are we expected to import going forward?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Azure.Storage.Blobs 12.0.0 - NuGet
This client library enables working with the Microsoft Azure Storage Blob service for storing binary and text data.
Read more >azure-storage-blob : 12.0.0 - Maven Central Repository Search
Official search by the maintainers of Maven Central Repository.
Read more >Azure Storage Blob client library for Java - javadoc.io
Azure Blob Storage is Microsoft's object storage solution for the cloud. Blob Storage is optimized for storing massive amounts of unstructured data.
Read more >@azure/storage-blob - npm
Blob storage is designed for: Serving images or documents directly to a browser. Storing files for distributed access. Streaming video and audio ...
Read more >azure-storage-blob 12.0.0b4 - PyPI
Install the package. Install the Azure Storage Blobs client library for Python with pip: pip install azure-storage-blob --pre. Prerequisites: You must ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have to say though this is quite disappointing in that there has been no deprecation warnings for the BlockBlobService, where a new version has been released getting rid BlockBlobService entirely, which we rely on for our production services. If this is the case going forward for Azure python libraries, I am starting to question our long term strategy of using Azure.
This was a very major version bump (azure-storage-blob==2.1.0 -> azure-storage-blob==12.0.0) – I don’t know if Azure SDKs follow Semver, but if they do, that alone should be a big ol’ warning sign that APIs will have changed.
In my opinion, you should not be running production services without having pinned/locked your dependencies in a way that ensures you can test that exactly the versions of all dependencies you install have a fighting chance to work in your production environment, too. My tool of choice for pinning Python dependencies is
pip-tools
.