Azure / Azure/azure-storage-python

Missing `__version__` attribute

オープン
#535 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
343
フォーク
243
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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__'
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api, backend
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。