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

fix: rationalize extras w/ platform constraints #234

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 12 additions & 19 deletions setup.py
Expand Up @@ -43,28 +43,21 @@
# as `google-api-core[grpc]`. We thus need to explicitly specify it here.
# See: https://github.com/googleapis/python-bigquery/issues/83
"grpcio >= 1.8.2, < 2.0dev",
"pyarrow>=0.16.0, < 2.0dev",
"pyarrow >=0.16.0, < 2.0dev",
],
"pandas": ["pandas>=0.17.1"],
"pandas": ["pandas >= 0.17.1"],
"pyarrow: python_version >= '3.5'": ["pyarrow >= 1.0.0, < 2.0dev"],
# Exclude PyArrow dependency from Windows Python 2.7.
'pyarrow: platform_system == "Windows"': [
"pyarrow>=1.0.0, <2.0dev; python_version>='3.5'",
],
'pyarrow: platform_system != "Windows"': [
"pyarrow>=1.0.0, <2.0dev; python_version>='3.5'",
# Pyarrow >= 0.17.0 is not compatible with Python 2 anymore.
"pyarrow < 0.17.0; python_version < '3.0'",
],
"tqdm": ["tqdm >= 4.0.0, <5.0.0dev"],
"fastparquet": [
"fastparquet",
"python-snappy",
# llvmlite >= 0.32.0 cannot be installed on Python 3.5 and below
# (building the wheel fails), thus needs to be restricted.
# See: https://github.com/googleapis/python-bigquery/issues/78
"llvmlite<=0.34.0;python_version>='3.6'",
"llvmlite<=0.31.0;python_version<'3.6'",
"pyarrow: platform_system != 'Windows' and python_version < '3.0'": [
"pyarrow < 0.17.0",
],
"tqdm": ["tqdm >= 4.0.0, < 5.0.0dev"],
"fastparquet": ["fastparquet", "python-snappy"],
"fastparquet: python_version >= '3.6'": ["llvmlite<=0.34.0"],
# llvmlite >= 0.32.0 cannot be installed on Python 3.5 and below
# (building the wheel fails), thus needs to be restricted.
# See: https://github.com/googleapis/python-bigquery/issues/78
"fastparquet: python_version < '3.6'": ["llvmlite<=0.31.0"],
}

all_extras = []
Expand Down