Skip to content

ImportError: cannot import name 'SerializationError' from 'azure.core.exceptions' #24765

@TamGB

Description

@TamGB
  • Package Name: azure-storage-blob
  • Package Version: 12.9.0
  • Operating System: Azure Databricks Cluster
  • Python Version: 3.8

Describe the bug
Attempts to import BlobProperties from azure.storage.blob results in an error: ImportError: cannot import name 'SerializationError' from 'azure.core.exceptions' (/databricks/python/lib/python3.8/site-packages/azure/core/exceptions.py)

Importantly, this is something that started happening out of the blue, everything was working fine for quite some time. This seems to have occurred within this week. At the same time, we use fixed packages so the problem would have to be an integration problem:
image

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to import BlobProperties, from azure.storage.blob import BlobProperties
  2. See the error: ImportError: cannot import name 'SerializationError' from 'azure.core.exceptions' (/databricks/python/lib/python3.8/site-packages/azure/core/exceptions.py)

Metadata

Metadata

Labels

Azure.CoreClientThis issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions