You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
AttributeError: 'ClientOptions' object has no attribute 'api_audience'; google-cloud-core==2.2.3 is incompatible with google-api-core==2.8.2 #208
It ;looks like google-cloud-core==2.2.3 is incompatible with google-api-core==2.8.2
AttributeError: 'ClientOptions' object has no attribute 'api_audience'
google-cloud-core==2.3.0 seems to be compatible.
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
On the other hand, given our development workflow, since 2.3.0 works with latest version of google-api-core we would just recommend using that version or newer.
Also, can you please provide full stack trace on where exactly api_audience is being used in older version of google-cloud-core? Checking the diff of 2.2.3 and 2.3.0 (v2.2.3...v2.3.0) I can't spot a relevant difference.
Activity
vam-google commentedon Jul 28, 2022
@atulep Can you please take a look? Looks like this change made it incompatible: googleapis/python-api-core#379
On the other hand, given our development workflow, since 2.3.0 works with latest version of google-api-core we would just recommend using that version or newer.
Also, can you please provide full stack trace on where exactly api_audience is being used in older version of google-cloud-core? Checking the diff of 2.2.3 and 2.3.0 (v2.2.3...v2.3.0) I can't spot a relevant difference.
Ark-kun commentedon Jul 29, 2022
I lost the stack trace initially.
But now I've managed to recover it and I see that this issue is in another library -
google-cloud-aiplatformI apologize for the confusion.
The issue was introduced by googleapis/python-aiplatform#1454 and googleapis/googleapis@23f1a15
Ark-kun commentedon Nov 24, 2022
Hmm. It looks like aiplatform package already states it's not compatible with 2.2.*
python-cloud-core/setup.py
Line 31 in c194fc4