-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix #11006: Add google as known third-party library #11018
Conversation
Hi, @U8NWXD, this pull request does not have a "CHANGELOG: ..." label as mentioned in the PR checkbox list. Assigning @U8NWXDto add the required label. PRs without this label will not be merged. If you are unsure of which label to add, please ask the reviewers for guidance. Thanks! |
@seanlip @DubeySandeep @Hudda PTAL |
We need to import `google.oauth2` after we import `python_utils` because importing `python_utils` sets `sys.path` as needed for `google.oauth2`. This commit replicates changes from oppia#11018 that fix the linter to recognize google.oauth2 as a third-party library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Unassigning @Hudda since they have already approved the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@U8NWXD, Thanks for the PR, I have left one question PTAL! [Approving this PR to unblock the merge as this will fix issue in develop branch!]
Unassigning @DubeySandeep since they have already approved the PR. |
@seanlip PTAL. This issue is blocking new contributors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM!
* add automatic restarts for flakes, and automatic logging in sheets * use service accounts instead of API keys, and download the credentials * some lint fixes * add encryption, and fix conditions for checking for flakes * add python dependencies * add more pip dependencies * fix lint issues * fix more lint issues * fix more lint issues * reorder codeowner files * fix import issues, and add missing lib to installation * exclude encrypted file from linting * Fix backend tests * Move installation to oppia-tools * fix all lint issues, and import issues * fix lint issues * Add simple crpyt to path * add google-api-client to path * add missing library * add pkg_resources * remove changes from linter * trying to debug env on CI * more debugging * more debugging * fix config * fix indent * Fix lint errors * Fix imports for linter * change installation * fix linter * Remove Google Import Code from Linter becbbcf changed the way imports are handled, so we don't need the special path-modifying code in the linter script anymore. * Write backend tests for run_e2e_tests functions * Fix lint errors * fix linting issues * Fix backend test coverage * fix lint issue * remove unnecessary change * fix lint problems * fix lint problems * fix import issue * Fix lint errors * Fix Import Order We need to import `google.oauth2` after we import `python_utils` because importing `python_utils` sets `sys.path` as needed for `google.oauth2`. This commit replicates changes from #11018 that fix the linter to recognize google.oauth2 as a third-party library. * Resolve some comments Co-authored-by: nithusha21 <nithusha21@yahoo.co.in> Co-authored-by: DubeySandeep <dubeysandeep.in@gmail.com>
Overview
Essential Checklist
PR Pointers