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

[Core] Fix version requirements for google-api-python-client #2577

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

cblmemo
Copy link
Collaborator

@cblmemo cblmemo commented Sep 18, 2023

The reason attribute in googleapiclient.errors.HttpError is widely used in our system's error handling, for instance, authentication and firewall rule creation. However, this attribute is introduced in version 2.19.1 of google-api-python-client (Reference). We should add a dependency constraint for this attribute.

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
    • pip install ".[all]" and no dependency conflict found
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this @cblmemo! LGTM.

@cblmemo cblmemo merged commit 5285b8f into master Sep 27, 2023
18 checks passed
@cblmemo cblmemo deleted the fix-googleapiclient-version branch September 27, 2023 20:57
jc9123 pushed a commit to jc9123/skypilot that referenced this pull request Oct 11, 2023
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

2 participants