FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: use version.py instead of pkg_resources.get_distribution by crwilcox · Pull Request #80 · googleapis/python-api-core · GitHub

This repository was archived by the owner on Feb 23, 2026. It is now read-only.
/ python-api-core Public archive

fix: use version.py instead of pkg_resources.get_distribution - #80

Merged
crwilcox merged 5 commits into
masterfrom
use-version-py
Oct 5, 2020
Merged

fix: use version.py instead of pkg_resources.get_distribution#80
crwilcox merged 5 commits into
masterfrom
use-version-py

Conversation

crwilcox commented Oct 2, 2020
edited
Loading

Copy link
Copy Markdown
Contributor

Related: #27

crwilcox requested a review from a team October 2, 2020 22:05
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 2, 2020

andrewsg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks Chris! Do we need to change release-please or any other tooling?

Comment thread google/api_core/version.py Outdated

crwilcox commented Oct 5, 2020

Copy link
Copy Markdown
Contributor Author

@andrewsg already underway and part of next release-please release.

crwilcox merged commit d480d97 into master Oct 5, 2020
tseaver deleted the use-version-py branch December 8, 2020 18:13
gcf-merge-on-green Bot pushed a commit to googleapis/google-auth-library-python that referenced this pull request Mar 16, 2021
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:

```py
>>> import google.auth
>>> google.auth.__version__
'1.25.0'
```
This was referenced May 30, 2025
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Nov 26, 2025
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:

```py
>>> import google.auth
>>> google.auth.__version__
'1.25.0'
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL