import of google.cloud.billing
fails when google-cloud-billing-budgets
is installed
#12095
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.billing
fails whengoogle-cloud-billing-budgets
is installed in the same environment. The issue is similar to #11399. As a workaround usegoogle.cloud.billing_v1
instead.See build log here
Steps to reproduce the issue
pip install google-cloud-billing
python -c "from google.cloud.billing import CloudBillingClient"
workspip install google-cloud-billing-budgets
python -c "from google.cloud.billing import CloudBillingClient"
failspython -c "from google.cloud.billing_v1 import CloudBillingClient"
workspip uninstall google-cloud-billing-budgets
python -c "from google.cloud.billing import CloudBillingClient"
worksMarking as P2 since the versioned module imports work.
Use
python -c "from google.cloud.billing_v1 import CloudBillingClient"
instead of
python -c "from google.cloud.billing import CloudBillingClient"
The text was updated successfully, but these errors were encountered: