import of google.cloud.alloydb
fails when google-cloud-alloydb-connectors
is installed
#12094
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The import of
google.cloud.alloydb
fails whengoogle-cloud-alloydb-connectors
is installed in the same environment. The issue is similar to #11399. As a workaround, usegoogle.cloud.alloydb_v1
instead.See build log here
Steps to reproduce the issue
pip install google-cloud-alloydb
python -c "from google.cloud.alloydb import AlloyDBAdminClient"
workspip install google-cloud-alloydb-connectors
python -c "from google.cloud.alloydb import AlloyDBAdminClient"
failspython -c "from google.cloud.alloydb_v1 import AlloyDBAdminClient"
workspip uninstall google-cloud-alloydb-connectors
python -c "from google.cloud.alloydb import AlloyDBAdminClient"
worksMarking as P2 since the versioned module imports work.
Use
python -c "from google.cloud.alloydb_v1 import AlloyDBAdminClient"
instead of
python -c "from google.cloud.alloydb import AlloyDBAdminClient"
The text was updated successfully, but these errors were encountered: