ydb-platform / ydb-python-sdk

YDB Python SDK
https://ydb-platform.github.io/ydb-python-sdk/
Apache License 2.0
87 stars 50 forks source link

bug: ydb has no __version__ #459

Closed maximyurchuk closed 3 months ago

maximyurchuk commented 3 months ago

Bug Report

YDB Python SDK version:

maxim-yurchuk@yurchuk-github:~/ydb/ydb$ pip show ydb Name: ydb Version: 3.11.3

Environment

maxim-yurchuk@yurchuk-github:~/ydb/ydb$ uname -a 
Linux yurchuk-github 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Current behavior:

maxim-yurchuk@yurchuk-github:~/ydb/ydb$ python -c "import ydb; print(ydb.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'ydb' has no attribute '__version__'

Expected behavior:

I can be able to retrieve version via ydb.__version__

Steps to reproduce:

maxim-yurchuk@yurchuk-github:~/ydb/ydb$ python -c "import ydb; print(ydb.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'ydb' has no attribute '__version__'