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

Remove uses of get_distribution to better support package vendoring #304

Closed
tswast opened this issue Oct 6, 2020 · 0 comments · Fixed by #307
Closed

Remove uses of get_distribution to better support package vendoring #304

tswast opened this issue Oct 6, 2020 · 0 comments · Fixed by #307
Assignees
Labels
type: process A process-related concern. May include testing, release, or the like.

Comments

@tswast
Copy link
Contributor

tswast commented Oct 6, 2020

get_distribution doesn't function when packages are vendored. We should remove uses of this function.

__version__ = get_distribution("google-cloud-bigquery").version

See: googleapis/python-api-core#80 as an example of how to fix this using a "version" module. Release tooling is being updated to support this method.

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Oct 6, 2020
@tswast tswast added type: process A process-related concern. May include testing, release, or the like. and removed api: bigquery Issues related to the googleapis/python-bigquery API. labels Oct 6, 2020
@HemangChothani HemangChothani self-assigned this Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants