Skip to content

New dependency on pyarrow introduces heavyweight numpy sub-dependency #1196

Closed
@di

Description

@di

Is your feature request related to a problem? Please describe.
The new dependency on pyarrow, introduced in #1178, creates a new sub-dependency on numpy. Without fully understanding why these dependencies were introduced, a required dependency on numpy feels unnecessarily large for this library.

Describe the solution you'd like
Make the pyarrow and numpy dependencies optional (via extras).

Describe alternatives you've considered
Pin my usage of google-cloud-bigquery back to a version that does have these dependencies, or find a way to remove it entirely.

Additional context
The dependency on numpy in pyarrow: https://github.com/apache/arrow/blob/4a90e3994fc9fc10b968ab3439dec636385dec22/python/setup.py#L589-L591

(PS, thanks for your work on this library!)

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions