Skip to content

Commit ecc6454

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: add google-auth as a direct dependency
chore: remove deprecated constraints-3.7.txt file Fixes #3274 PiperOrigin-RevId: 605363132
1 parent 73c9a83 commit ecc6454

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@
133133
+ profiler_extra_require
134134
+ [
135135
"bigframes; python_version>='3.10'",
136+
# google-api-core 2.x is required since kfp requires protobuf > 4
137+
"google-api-core >= 2.11, < 3.0.0",
136138
"grpcio-testing",
137139
"ipython",
138140
"kfp >= 2.6.0, < 3.0.0",
@@ -172,7 +174,8 @@
172174
platforms="Posix; MacOS X; Windows",
173175
include_package_data=True,
174176
install_requires=(
175-
"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.*",
177+
"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.*",
178+
"google-auth >= 2.14.1, <3.0.0dev",
176179
"proto-plus >= 1.22.0, <2.0.0dev",
177180
"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",
178181
"packaging >= 14.3",

testing/constraints-3.7.txt

-14
This file was deleted.

testing/constraints-3.8.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# -*- coding: utf-8 -*-
2-
# This constraints file is required for unit tests.
3-
# List all library dependencies and extras in this file.
4-
google-api-core
2+
# This constraints file is used to check that lower bounds
3+
# are correct in setup.py
4+
# List *all* library dependencies and extras in this file.
5+
google-api-core==2.11.0
6+
google-auth==2.14.1
57
proto-plus==1.22.0
68
protobuf
79
mock==4.0.2

0 commit comments

Comments
 (0)