Join GitHub today
azurefs: gracefully handle AttributeError #50567
What does this PR do?
It is possible that the azure.storage object has no version defined.
Problem was encountered on openSUSE Tumbleweed.
What issues does this PR fix or reference?
No, I am not sure how to add that though.
Commits signed with GPG?
It is possible that the azure.storage object has no __version__ defined. In that case, prevent console spam with unhandled AttributeError messages and instead consider that Azure support is not present. Problem was encountered on openSUSE Tumbleweed.
There are some tests failing, but I'm not sure how they are related to my change. I see things like
I'd be happy to correct them, but I need some guidance.