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 protobuf<4.0.0 on v0 branch (#189)
Browse files Browse the repository at this point in the history
* fix(deps): require protobuf<4.0.0 on v0 branch

* chore: fix ci

* chore: fix ci
  • Loading branch information
parthea committed Jun 9, 2022
1 parent 2345c1b commit 6625871
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
14 changes: 6 additions & 8 deletions noxfile.py
Expand Up @@ -56,9 +56,7 @@ def lint(session):
serious code quality issues.
"""
session.install("flake8", BLACK_VERSION, "click<8.1.0")
session.run(
"black", "--check", *BLACK_PATHS,
)
session.run("black", "--check", *BLACK_PATHS)
session.run("flake8", "google", "tests")


Expand All @@ -73,9 +71,7 @@ def blacken(session):
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
"""
session.install(BLACK_VERSION, "click<8.1.0")
session.run(
"black", *BLACK_PATHS,
)
session.run("black", *BLACK_PATHS)


@nox.session(python=DEFAULT_PYTHON_VERSION)
Expand Down Expand Up @@ -189,7 +185,7 @@ def docs(session):
"""Build the docs for this library."""

session.install("-e", ".")
session.install("sphinx", "alabaster", "recommonmark")
session.install("sphinx==4.0.1", "alabaster", "recommonmark")

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand All @@ -211,7 +207,9 @@ def docfx(session):
"""Build the docfx yaml files for this library."""

session.install("-e", ".")
session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml")
session.install(
"sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
)

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -41,8 +41,9 @@
include_package_data=True,
install_requires=(
"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",
"libcst >= 0.2.5, <1.0.0dev",
"proto-plus >= 1.4.0, <2.0.0dev",
"protobuf<4.0.0dev",
),
python_requires=">=3.6",
classifiers=[
Expand Down

0 comments on commit 6625871

Please sign in to comment.