Azure / Azure/azure-storage-python

Missing `__version__` attribute

Ouverte
#535 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
343
Forks
243
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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](https://www.python.org/dev/peps/pep-0396/) and [this issue](https://github.com/explosion/spaCy/issues/608)

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by inspecting how the installed azure and azure.storage.blob packages expose their metadata, using the versions shown in pip freeze as the expected values. Done means both imports provide a usable __version__ matching the installed SDK version, with a regression check for the reported AttributeError.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
api, backend
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.