Skip to content

google-cloud-python: re-generation failed at google-cloud-containeranalysis #6450

Description

@zhumin8
╭─ ~/repos/google-cloud-python ‹chore-update-librarian-2026-06-16●› 
╰─$ echo $V                                                                                                                              1 ↵
v0.21.0
╭─ ~/repos/google-cloud-python ‹chore-update-librarian-2026-06-16●› 
╰─$ docker run -u $(id -u):$(id -g) -v .:/repo -v ~/.cache:/.cache -w /repo docker.io/library/librarian-python:${V}  generate -v google-cloud-containeranalysis
/usr/local/bin/protoc google/devtools/containeranalysis/v1/containeranalysis.proto --python_gapic_out=/repo/packages/google-cloud-containeranalysis/tmp/owl-bot-staging/google-cloud-containeranalysis/v1 --python_gapic_opt=metadata,python-gapic-namespace=google.cloud.devtools,rest-numeric-enums,transport=grpc+rest,python-gapic-name=containeranalysis,warehouse-package-name=google-cloud-containeranalysis,gapic-version=2.22.0,retry-config=google/devtools/containeranalysis/v1/containeranalysis_grpc_service_config.json,service-yaml=google/devtools/containeranalysis/v1/containeranalysis_v1.yaml
/usr/bin/python3 -c 
from synthtool.languages import python_mono_repo
python_mono_repo.owlbot_main("/repo/packages/google-cloud-containeranalysis")

time=2026-06-16T18:55:56.321Z level=INFO msg="librarian: generate library \"google-cloud-containeranalysis\" (python): failed to run post processor: failed to run post-processor: /usr/bin/python3 -c \nfrom synthtool.languages import python_mono_repo\npython_mono_repo.owlbot_main(\"/repo/packages/google-cloud-containeranalysis\")\n: 2026-06-16 18:55:55,196 synthtool [DEBUG] > Using local templates at /python-packages/synthtool/gcp/templates\n2026-06-16 18:55:55,241 synthtool [WARNING] > No replacements made in packages/google-cloud-containeranalysis/**/*_pb2.py for pattern (\\# -\\*- coding: utf-8 -\\*-\\n)(\\# Generated by the protocol buffer compiler\\.  DO NOT EDIT!.*?# source: .*?\\.proto), maybe replacement is no longer needed?\n2026-06-16 18:55:55,248 synthtool [WARNING] > No replacements made in packages/google-cloud-containeranalysis/**/*_pb2.pyi for pattern ^\\A(.*), maybe replacement is no longer needed?\n2026-06-16 18:55:56,260 synthtool [WARNING] > No replacements made in packages/google-cloud-containeranalysis/setup.py for pattern dependencies = \\[\n    \"google-api-core\\[grpc\\] >= 2.17.1, <3.0.0\",\n    # Exclude incompatible versions of `google-auth`\n    # See https://github.com/googleapis/google-cloud-python/issues/12364\n    \"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0\",\n    \"grpcio >= 1.59.0, < 2.0.0\",\n, maybe replacement is no longer needed?\n2026-06-16 18:55:56,260 synthtool [WARNING] > No replacements made in packages/google-cloud-containeranalysis/setup.py for pattern dependencies = \\[\n    \"google-api-core\\[grpc\\] >= 2.17.1, <3.0.0\",\n    # Exclude incompatible versions of `google-auth`\n    # See https://github.com/googleapis/google-cloud-python/issues/12364\n    \"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0\",\n    \"grpcio >= 1.59.0, < 2.0.0\",\n, maybe replacement is no longer needed?\nTraceback (most recent call last):\n  File \"<string>\", line 3, in <module>\n  File \"/python-packages/synthtool/languages/python_mono_repo.py\", line 267, in owlbot_main\n    apply_client_specific_post_processing(\n  File \"/python-packages/synthtool/languages/python_mono_repo.py\", line 161, in apply_client_specific_post_processing\n    replacement_count == expected_count\nAssertionError: Replaced 0 rather than 1 instances\n: exit status 1"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions