Skip to content

Commit ad8ba58

Browse files
busunkim96parthea
andauthored
fix(deps): require google-api-core >= 1.31.5, >= 2.3.2 on v2 release (#688)
* chore(deps): allow google-api-core v2 on v2 release * chore: allow google-cloud-core < 3 * ci: add test dependency pytz * ci: fix tests * chore: lint Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent ef00df5 commit ad8ba58

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def default(session):
7676
# Install all test dependencies, then install this package in-place.
7777
session.install("asyncmock", "pytest-asyncio")
7878

79-
session.install("mock", "pytest", "pytest-cov")
79+
session.install("mock", "pytest", "pytest-cov", "pytz")
8080
session.install("-e", ".")
8181

8282
# Run py.test against the unit tests.
@@ -150,6 +150,7 @@ def system(session):
150150
"mock",
151151
"pytest",
152152
"google-cloud-testutils",
153+
"pytz",
153154
)
154155
session.install("-e", ".[tracing]")
155156

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = "Development Status :: 5 - Production/Stable"
3131
dependencies = [
32-
"google-api-core[grpc] >= 1.22.0, < 2.0.0dev",
33-
"google-cloud-core >= 1.4.1, < 2.0dev",
32+
"google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
33+
"google-cloud-core >= 1.4.1, < 3.0dev",
3434
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
3535
"libcst >= 0.2.5",
3636
"proto-plus == 1.11.0",

0 commit comments

Comments
 (0)