question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing `__version__` attribute

See original GitHub issue

Which version of the SDK was used? Please provide the output of pip freeze.

...
azure-common==1.1.16
azure-storage-blob==1.4.0
azure-storage-common==1.4.0
azure-storage-file==1.4.0
azure-storage-queue==1.4.0
...

What problem was encountered?

I cannot retrieve the module version because version is missing in both azure and azure.storage.blob (see below). I thought that was a pretty standard way to do it see PEP 396 and this issue

>>> import azure
>>> azure.__version__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'azure' has no attribute '__version__'

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
lmazuelcommented, Jul 16, 2019

We do not have plan to add version for the azure package. That’s a meta-package used to install more libraries. Also, on Python 3 the file azure/__init__.py doesn’t even exist, I have no opportunity to add this information. The future of the azure package is in discussion, right now the recommendation is to depend on the set of services you need and not azure

2reactions
enricorotundocommented, Jul 9, 2019

I understand azure is not a real package but since I can pip install azure==4.0.0 and pip freeze | grep azure —> azure==4.0.0, I’d expect it to have a __version__ attribute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Log - Errors and Warnings - Kodi Community Forum
CSettingsManager : missing version attribute ... can safely ignore it. if it really bugs you can add a version attribute to the first...
Read more >
Required attribute 'version' missing from XML declaration
The version attribute for an XML document literal is missing. Error ID: BC31153. To correct this error. Add the version attribute to the...
Read more >
Mandatory Manifest-Version attribute missing - Stack Overflow
I added Manifest-Version: 1.0 to the empty MAINFEST. ... Some jars are missing the MANIFEST-INF folder and MANIFEST.MF file inside it.
Read more >
Fix minor typo within advancedsettings.xml - OSMC Forums
2021-12-27 12:53:56.017 T:7722 WARNING <CSettingsManager>: missing version attribute. And indeed it should read
Read more >
Osmosis: Node does not have a version attribute as OSM 0.6 ...
Osmosis: Node does not have a version attribute as OSM 0.6 are required to have. ... The osmconvert tool can be used to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found