Current behavior:
If ydb-dstool is installed separately from ydb-python-sdk, everything works well, but if they are installed simultaneously, then ydb-dstool crashes with an error.
File "/home/mregrock/.local/bin/ydb-dstool", line 5, in <module>
from ydb.apps.dstool.main import main
File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/__init__.py", line 9, in <module>
from .credentials import * # noqa
File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/credentials.py", line 5, in <module>
from . import tracing, issues, connection
File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/issues.py", line 9, in <module>
from . import _apis
File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/_apis.py", line 28, in <module>
from ._grpc.common import (
File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/_grpc/common/__init__.py", line 14, in <module>
from ydb.public.api.grpc import * # noqa
Upd: However, if you build dstool using ya make, instead of pip install, the error does not appear
Bug Report
YDB Python SDK version:
3.15.0
Current behavior: If ydb-dstool is installed separately from ydb-python-sdk, everything works well, but if they are installed simultaneously, then ydb-dstool crashes with an error.
Upd: However, if you build dstool using ya make, instead of pip install, the error does not appear