Skip to content

Commit

Permalink
chore: use latest sphinx (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 authored Mar 18, 2021
1 parent 35d5b33 commit 36195d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-datatransfer/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def docs(session):
"""Build the docs for this library."""

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

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand Down
5 changes: 1 addition & 4 deletions packages/google-cloud-bigquery-datatransfer/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
python.py_samples(skip_readmes=True)

# Fix missing async client in datatransfer_v1
# https://github.com/googleapis/gapic-generator-python/issues/815
s.replace(
"google/cloud/bigquery_datatransfer_v1/__init__.py",
r"from \.services\.data_transfer_service import DataTransferServiceClient",
Expand All @@ -64,8 +65,4 @@
'\\g<0>\n "DataTransferServiceAsyncClient"',
)


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

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

0 comments on commit 36195d0

Please sign in to comment.