Skip to content

Commit

Permalink
chore: upgrade sphinx to 4.0.1 (#256)
Browse files Browse the repository at this point in the history
* ci: use the latest version of sphinx

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
parthea and gcf-owl-bot[bot] authored Oct 20, 2021
1 parent c887148 commit 4fa4a79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-vision/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def docs(session):
"""Build the docs for this library."""

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

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand All @@ -215,7 +215,7 @@ def docfx(session):

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

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
Expand Down
3 changes: 0 additions & 3 deletions packages/google-cloud-vision/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,4 @@
# ----------------------------------------------------------------------------
python.py_samples(skip_readmes=True)

# TODO(busunkim): Use latest sphinx after microgenerator transition
s.replace("noxfile.py", """['"]sphinx==4.0.1['"]""", '"sphinx<3.0.0"')

s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit 4fa4a79

Please sign in to comment.