From c5852bf8915962ee9dd698e5de9e81f27e259a9f Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Wed, 27 Oct 2021 11:40:35 -0500 Subject: [PATCH] deps: allow pyarrow 6.x (#1031) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: allow pyarrow 6.x * dry pyarrow deps * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index eb8066abc..95dad190a 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ # 'Development Status :: 4 - Beta' # 'Development Status :: 5 - Production/Stable' release_status = "Development Status :: 5 - Production/Stable" +pyarrow_dep = ["pyarrow >= 3.0.0, < 7.0dev"] dependencies = [ "grpcio >= 1.38.1, < 2.0dev", # https://github.com/googleapis/python-bigquery/issues/695 # NOTE: Maintainers, please do not require google-api-core>=2.x.x @@ -55,11 +56,11 @@ # grpc.Channel.close() method isn't added until 1.32.0. # https://github.com/grpc/grpc/pull/15254 "grpcio >= 1.38.1, < 2.0dev", - "pyarrow >= 3.0.0, < 6.0dev", - ], + ] + + pyarrow_dep, "geopandas": ["geopandas>=0.9.0, <1.0dev", "Shapely>=1.6.0, <2.0dev"], - "pandas": ["pandas>=0.23.0", "pyarrow >= 3.0.0, < 6.0dev"], - "bignumeric_type": ["pyarrow >= 3.0.0, < 6.0dev"], + "pandas": ["pandas>=0.23.0"] + pyarrow_dep, + "bignumeric_type": pyarrow_dep, "tqdm": ["tqdm >= 4.7.4, <5.0.0dev"], "opentelemetry": [ "opentelemetry-api >= 0.11b0",