Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Remove uses of get_distribution to better support package vendoring #304

Description

@tswast

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions