From 9e1d3869c2024fe7a8af57ff59838d904ca5db03 Mon Sep 17 00:00:00 2001 From: Peter Lamut Date: Wed, 5 May 2021 15:49:10 +0200 Subject: [PATCH] deps: expand supported pyarrow versions to v4 (#643) * deps: expand supported pyarrow versions to v4 * Expand *all* pyarrow pins. * Constrain pyarrow to v4.0.0+ in Python 3.9 tests --- setup.py | 6 +++--- testing/constraints-3.9.txt | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 607ffb63f..6a6202ef9 100644 --- a/setup.py +++ b/setup.py @@ -47,10 +47,10 @@ # grpc.Channel.close() method isn't added until 1.32.0. # https://github.com/grpc/grpc/pull/15254 "grpcio >= 1.32.0, < 2.0dev", - "pyarrow >= 1.0.0, < 4.0dev", + "pyarrow >= 1.0.0, < 5.0dev", ], - "pandas": ["pandas>=0.23.0", "pyarrow >= 1.0.0, < 4.0dev"], - "bignumeric_type": ["pyarrow >= 3.0.0, < 4.0dev"], + "pandas": ["pandas>=0.23.0", "pyarrow >= 1.0.0, < 5.0dev"], + "bignumeric_type": ["pyarrow >= 3.0.0, < 5.0dev"], "tqdm": ["tqdm >= 4.7.4, <5.0.0dev"], "opentelemetry": [ "opentelemetry-api >= 0.11b0", diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index e69de29bb..39dc6250e 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -0,0 +1,7 @@ +# This constraints file is used to make sure that the latest dependency versions +# we claim to support in setup.py are indeed installed in test sessions in the most +# recent Python version supported (3.9 at the time of writing - 2021-05-05). +# +# NOTE: Not comprehensive yet, will eventually be maintained semi-automatically by +# the renovate bot. +pyarrow>=4.0.0