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

hooks: Fix googleapiclient.model missing docs and improve test #596

Merged
merged 1 commit into from Jun 12, 2023
Merged

hooks: Fix googleapiclient.model missing docs and improve test #596

merged 1 commit into from Jun 12, 2023

Conversation

ArthurKlausHoff
Copy link
Contributor

@ArthurKlausHoff ArthurKlausHoff commented Jun 12, 2023

The hook googleapiclient.model was raising this warning when running Pyinstaller: WARNING: collect_data_files - skipping data collection for module 'googleapiclient.discovery' as it is not a package. Needing workarounds to run the api client, see googleapis/google-api-python-client#876. But this can be fixed by pointing it to the correct package googleapiclient.discovery_cache.

The test also received an improvement. The current test only run from googleapiclient.discovery import build which is not sufficient because the error happens when calling the build function. Calling this function doesn't require a valid API key.

Github Actions

@bwoodsend bwoodsend merged commit b8c741d into pyinstaller:master Jun 12, 2023
12 of 17 checks passed
@ArthurKlausHoff ArthurKlausHoff deleted the hook-googleapiclient.model branch June 21, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants