diff --git a/setup.py b/setup.py index 15022a0174..eda9eeea13 100644 --- a/setup.py +++ b/setup.py @@ -133,6 +133,8 @@ + profiler_extra_require + [ "bigframes; python_version>='3.10'", + # google-api-core 2.x is required since kfp requires protobuf > 4 + "google-api-core >= 2.11, < 3.0.0", "grpcio-testing", "ipython", "kfp >= 2.6.0, < 3.0.0", @@ -172,7 +174,8 @@ platforms="Posix; MacOS X; Windows", include_package_data=True, install_requires=( - "google-api-core[grpc] >= 1.32.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*", + "google-api-core[grpc] >= 1.34.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*", + "google-auth >= 2.14.1, <3.0.0dev", "proto-plus >= 1.22.0, <2.0.0dev", "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", "packaging >= 14.3", diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt deleted file mode 100644 index 4e4013f5bc..0000000000 --- a/testing/constraints-3.7.txt +++ /dev/null @@ -1,14 +0,0 @@ -# This constraints file is used to check that lower bounds -# are correct in setup.py -# List *all* library dependencies and extras in this file. -# Pin the version to the lower bound. -# -# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", -# Then this file should have foo==1.14.0 -google-api-core==1.32.0 -proto-plus==1.22.0 -protobuf==3.19.6 -mock==4.0.2 -google-cloud-storage==2.0.0 -packaging==20.0 # Increased for compatibility with MLFlow -grpcio-testing==1.34.0 diff --git a/testing/constraints-3.8.txt b/testing/constraints-3.8.txt index 6693cfec89..ac32d09837 100644 --- a/testing/constraints-3.8.txt +++ b/testing/constraints-3.8.txt @@ -1,7 +1,9 @@ # -*- coding: utf-8 -*- -# This constraints file is required for unit tests. -# List all library dependencies and extras in this file. -google-api-core +# This constraints file is used to check that lower bounds +# are correct in setup.py +# List *all* library dependencies and extras in this file. +google-api-core==2.11.0 +google-auth==2.14.1 proto-plus==1.22.0 protobuf mock==4.0.2