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 (#…
Browse files Browse the repository at this point in the history
…123)

* 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 Apr 4, 2022
1 parent 5f8f9de commit 804d1b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
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
Expand Up @@ -25,7 +25,7 @@
release_status = "Development Status :: 4 - Beta"
url = "https://github.com/googleapis/python-managed-identities"
dependencies = [
"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",
"packaging >= 14.3",
Expand Down
2 changes: 1 addition & 1 deletion testing/constraints-3.6.txt
Expand Up @@ -19,7 +19,7 @@
#
# 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
packaging==14.3

0 comments on commit 804d1b5

Please sign in to comment.