Skip to content

Commit 8f0403c

Browse files
authored
build: fix docs and docfx builds (#12200)
This PR updates the post processor image to the latest one which is `gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo@sha256:1f42c1d6b70210540f55110662ae80e22b03dfb897782b09e546148599d3336c`. The latest image fixes an issue with the docs and docfx builds. See googleapis/synthtool#1916 Run the following commands to obtain the latest sha256 ``` docker pull gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest ``` ``` docker inspect --format='{{.RepoDigests}}' gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest [gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo@sha256:1f42c1d6b70210540f55110662ae80e22b03dfb897782b09e546148599d3336c] ```
1 parent e5dbe18 commit 8f0403c

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest
16-
digest: sha256:957ddc3272f6b8058ff0ca2e8692b56f0a764d804fd577670385d54f19ee43d6
16+
digest: sha256:1f42c1d6b70210540f55110662ae80e22b03dfb897782b09e546148599d3336c

packages/google-cloud-config/noxfile.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,15 @@ def docs(session):
282282

283283
session.install("-e", ".")
284284
session.install(
285+
# We need to pin to specific versions of the `sphinxcontrib-*` packages
286+
# which still support sphinx 4.x.
287+
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
288+
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
289+
"sphinxcontrib-applehelp==1.0.4",
290+
"sphinxcontrib-devhelp==1.0.2",
291+
"sphinxcontrib-htmlhelp==2.0.1",
292+
"sphinxcontrib-qthelp==1.0.3",
293+
"sphinxcontrib-serializinghtml==1.1.5",
285294
"sphinx==4.5.0",
286295
"alabaster",
287296
"recommonmark",
@@ -308,6 +317,15 @@ def docfx(session):
308317

309318
session.install("-e", ".")
310319
session.install(
320+
# We need to pin to specific versions of the `sphinxcontrib-*` packages
321+
# which still support sphinx 4.x.
322+
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
323+
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
324+
"sphinxcontrib-applehelp==1.0.4",
325+
"sphinxcontrib-devhelp==1.0.2",
326+
"sphinxcontrib-htmlhelp==2.0.1",
327+
"sphinxcontrib-qthelp==1.0.3",
328+
"sphinxcontrib-serializinghtml==1.1.5",
311329
"gcp-sphinx-docfx-yaml",
312330
"alabaster",
313331
"recommonmark",

packages/google-cloud-securitycentermanagement/noxfile.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,15 @@ def docs(session):
282282

283283
session.install("-e", ".")
284284
session.install(
285+
# We need to pin to specific versions of the `sphinxcontrib-*` packages
286+
# which still support sphinx 4.x.
287+
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
288+
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
289+
"sphinxcontrib-applehelp==1.0.4",
290+
"sphinxcontrib-devhelp==1.0.2",
291+
"sphinxcontrib-htmlhelp==2.0.1",
292+
"sphinxcontrib-qthelp==1.0.3",
293+
"sphinxcontrib-serializinghtml==1.1.5",
285294
"sphinx==4.5.0",
286295
"alabaster",
287296
"recommonmark",
@@ -308,6 +317,15 @@ def docfx(session):
308317

309318
session.install("-e", ".")
310319
session.install(
320+
# We need to pin to specific versions of the `sphinxcontrib-*` packages
321+
# which still support sphinx 4.x.
322+
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
323+
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
324+
"sphinxcontrib-applehelp==1.0.4",
325+
"sphinxcontrib-devhelp==1.0.2",
326+
"sphinxcontrib-htmlhelp==2.0.1",
327+
"sphinxcontrib-qthelp==1.0.3",
328+
"sphinxcontrib-serializinghtml==1.1.5",
311329
"gcp-sphinx-docfx-yaml",
312330
"alabaster",
313331
"recommonmark",

0 commit comments

Comments
 (0)