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 (#83)
Browse files Browse the repository at this point in the history
* 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 1, 2022
1 parent 978c869 commit 0f1f6ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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 @@ -26,7 +26,7 @@
release_status = "Development Status :: 4 - Beta"
url = "https://github.com/googleapis/python-network-management"
dependencies = [
"google-api-core[grpc] >= 1.26.0, <2.0.0dev",
"google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
"proto-plus >= 1.15.0",
"packaging >= 14.3",
]
Expand Down
3 changes: 1 addition & 2 deletions testing/constraints-3.6.txt
Expand Up @@ -4,7 +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.26.0
google-api-core==1.31.5
proto-plus==1.15.0
packaging==14.3
google-auth==1.24.0 # TODO: remove when google-auth>=1.25.0 is transitively required through google-api-core

0 comments on commit 0f1f6ce

Please sign in to comment.