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

feat: expose library version at google.auth.__version #683

Merged
merged 2 commits into from Mar 16, 2021

Conversation

busunkim96
Copy link
Contributor

Move the version from setup.py to google/auth/version.py. Same as googleapis/python-api-core#80. (see googleapis/python-api-core#27 for motivation). This is option 3 in https://packaging.python.org/guides/single-sourcing-package-version/.

This unblocks a version check I'd like to add in googleapis/python-api-core#134.

Usage:

>>> import google.auth
>>> google.auth.__version__
'1.25.0'

@busunkim96 busunkim96 requested a review from a team as a code owner February 4, 2021 22:13
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 4, 2021
@busunkim96 busunkim96 added the automerge Merge the pull request once unit tests and other checks pass. label Mar 16, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit a2cbc32 into master Mar 16, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the use-vesrion-py branch March 16, 2021 20:56
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants