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

Commit

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

* fix(deps): require google-api-core >= 1.31.5, >= 2.3.2 on v0 release

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

* update constraints to reflect setup.py
  • Loading branch information
parthea committed May 19, 2022
1 parent d5f15af commit 1e3911d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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 @@ -65,7 +65,7 @@ def lint(session):
@nox.session(python=DEFAULT_PYTHON_VERSION)
def blacken(session):
"""Run black. Format code to uniform standard."""
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 @@ -29,7 +29,7 @@
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
# Until this issue is closed
# https://github.com/googleapis/google-cloud-python/issues/10566
"google-api-core[grpc] >= 1.28.0, <3.0.0dev",
"google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
"google-cloud-common >= 0.1.0",
"proto-plus >= 1.15.0",
]
Expand Down
2 changes: 1 addition & 1 deletion testing/constraints-3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# Pin the version to the lower bound.
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev",
# Then this file should have google-cloud-foo==1.14.0
google-api-core==1.28.0
google-api-core==1.31.5
google-cloud-common==0.1.0
proto-plus==1.15.0

0 comments on commit 1e3911d

Please sign in to comment.