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

chore: update auth import error statement #2172

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

ohmayr
Copy link
Contributor

@ohmayr ohmayr commented Sep 17, 2024

No description provided.

@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Sep 17, 2024
@ohmayr ohmayr marked this pull request as ready for review September 17, 2024 21:36
@ohmayr ohmayr requested a review from a team as a code owner September 17, 2024 21:36
@ohmayr ohmayr assigned parthea and unassigned vchudnov-g Sep 17, 2024
Comment on lines 75 to +78
google_auth_major, google_auth_minor, _ = [
int(part) for part in google.auth.__version__.split(".")
part for part in google.auth.__version__.split(".")
]
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
if int(google_auth_major) > 2 or (int(google_auth_major) == 2 and int(google_auth_minor) >= 23):
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change necessary?

Copy link
Contributor Author

@ohmayr ohmayr Sep 17, 2024

Choose a reason for hiding this comment

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

I'm using the pre-release version for google-auth in the noxfile so the patch version becomes something like rcX when split. And parsing it to int within the for loop fails.

@ohmayr ohmayr merged commit 9e34015 into async-rest-support-in-gapics Sep 18, 2024
73 checks passed
@ohmayr ohmayr deleted the update-auth-import-errors branch September 18, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants