Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
fix(deps): require google-api-core>=1.31.5, >=2.3.2 on v0 release (#147)
Browse files Browse the repository at this point in the history
* fix(deps): require google-api-core>=1.31.5, >=2.3.2

* ci: use click<8.1.0 for lint/blacken session

* update constraints to reflect setup.py

Co-authored-by: Bu Sun Kim <[email protected]>
  • Loading branch information
parthea and busunkim96 authored Apr 1, 2022
1 parent b95b005 commit 6ed0c9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def lint(session):
Returns a failure if the linters find linting errors or sufficiently
serious code quality issues.
"""
session.install("flake8", BLACK_VERSION)
session.install("flake8", BLACK_VERSION, "click<8.1.0")
session.run(
"black", "--check", *BLACK_PATHS,
)
Expand All @@ -72,7 +72,7 @@ def blacken(session):
That run uses an image that doesn't have 3.6 installed. Before updating this
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
"""
session.install(BLACK_VERSION)
session.install(BLACK_VERSION, "click<8.1.0")
session.run(
"black", *BLACK_PATHS,
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
platforms="Posix; MacOS X; Windows",
include_package_data=True,
install_requires=(
"google-api-core[grpc] >= 1.22.2, < 2.0.0dev",
"google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
"libcst >= 0.2.5",
"proto-plus >= 1.4.0",
),
Expand Down
4 changes: 2 additions & 2 deletions testing/constraints-3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#
# 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.22.2
google-api-core==1.31.5
libcst==0.2.5
proto-plus==1.4.0
proto-plus==1.4.0

0 comments on commit 6ed0c9b

Please sign in to comment.