google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

oauth2client needs to be frozen at version 3.0.0 in order to work

Open matthewsqor opened this issue 1 year ago • 1 comments

I was running this library and I got the error googleapiclient.discovery_cache - INFO - file_cache is only supported with oauth2client<4.0.0

The solution is simple, we need the requirements file to be complete, specifically have oauth2client frozen at version 3.0.0 in order for discovery_cache to work.

matthewsqor avatar Feb 28 '24 16:02 matthewsqor

Thanks for reporting this issue. As of version 2.0, public discovery documents are shipped with each release of google-api-python-client. In the case of public discovery documents, they no longer need to be downloaded and cached. Please can you clarify if you're fetching discovery artifacts from the internet rather than the ones that are shipped with the library?

See https://github.com/googleapis/google-api-python-client/blob/main/UPGRADING.md for more information

parthea avatar Mar 28 '24 11:03 parthea

No response, so closing the issue for now. Please feel free to file a new issue if you have additional questions. Thanks!

vchudnov-g avatar Jul 23 '24 18:07 vchudnov-g