From fe3e7ab0a853201792364999cf753d973cfd6973 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 31 Mar 2021 11:38:17 -0700 Subject: [PATCH] build(python): update docfx job to use new plugin (#12) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * build(python): update docfx job to use new plugin Source-Author: Dan Lee <71398022+dandhlee@users.noreply.github.com> Source-Date: Tue Mar 30 19:36:37 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 4501974ad08b5d693311457e2ea4ce845676e329 Source-Link: https://github.com/googleapis/synthtool/commit/4501974ad08b5d693311457e2ea4ce845676e329 --- .../google-cloud-retail/google/cloud/retail_v2/__init__.py | 4 ++-- packages/google-cloud-retail/noxfile.py | 4 +--- packages/google-cloud-retail/synth.metadata | 6 +++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/google-cloud-retail/google/cloud/retail_v2/__init__.py b/packages/google-cloud-retail/google/cloud/retail_v2/__init__.py index f20ae04d3471..2bf18a46174b 100644 --- a/packages/google-cloud-retail/google/cloud/retail_v2/__init__.py +++ b/packages/google-cloud-retail/google/cloud/retail_v2/__init__.py @@ -64,7 +64,6 @@ __all__ = ( "BigQuerySource", "Catalog", - "CatalogServiceClient", "CollectUserEventRequest", "CreateProductRequest", "CustomAttribute", @@ -82,6 +81,7 @@ "ListCatalogsResponse", "PredictRequest", "PredictResponse", + "PredictionServiceClient", "PriceInfo", "Product", "ProductDetail", @@ -105,5 +105,5 @@ "UserEventServiceClient", "UserInfo", "WriteUserEventRequest", - "PredictionServiceClient", + "CatalogServiceClient", ) diff --git a/packages/google-cloud-retail/noxfile.py b/packages/google-cloud-retail/noxfile.py index 8e9b9413d302..0eb433e228ec 100644 --- a/packages/google-cloud-retail/noxfile.py +++ b/packages/google-cloud-retail/noxfile.py @@ -211,9 +211,7 @@ def docfx(session): """Build the docfx yaml files for this library.""" session.install("-e", ".") - # sphinx-docfx-yaml supports up to sphinx version 1.5.5. - # https://github.com/docascode/sphinx-docfx-yaml/issues/97 - session.install("sphinx==1.5.5", "alabaster", "recommonmark", "sphinx-docfx-yaml") + session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml") shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( diff --git a/packages/google-cloud-retail/synth.metadata b/packages/google-cloud-retail/synth.metadata index 952757583085..be266e400799 100644 --- a/packages/google-cloud-retail/synth.metadata +++ b/packages/google-cloud-retail/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-retail.git", - "sha": "06dbca264cab76c37876557a6e9954fa1105988f" + "sha": "c594007605f35e1f85711100e3d903b8924c4d99" } }, { @@ -19,14 +19,14 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "86ed43d4f56e6404d068e62e497029018879c771" + "sha": "4501974ad08b5d693311457e2ea4ce845676e329" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "86ed43d4f56e6404d068e62e497029018879c771" + "sha": "4501974ad08b5d693311457e2ea4ce845676e329" } } ],