Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matthewsqor opened this issue Feb 28, 2024 · 1 comment
Open
Labels
needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue.

Comments

@matthewsqor
Copy link

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.

@parthea
Copy link
Contributor

parthea commented Mar 28, 2024

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 parthea added type: question Request for information or clarification. Not an issue. needs more info This issue needs more information from the customer to proceed. labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants