Skip to content

chore: update librarian to v0.21.0#17488

Open
zhumin8 wants to merge 3 commits into
googleapis:mainfrom
zhumin8:chore-update-librarian-2026-06-16
Open

chore: update librarian to v0.21.0#17488
zhumin8 wants to merge 3 commits into
googleapis:mainfrom
zhumin8:chore-update-librarian-2026-06-16

Conversation

@zhumin8

@zhumin8 zhumin8 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Weekly update to librarian version and re-generate. This update includes a generator upgrade, see https://github.com/googleapis/librarian/releases/tag/v0.21.0.

Manually changes applied changes to postprocess config files due to generation failure after upgrade. 46dfa75

commands run:

go run github.com/googleapis/librarian/cmd/librarian@latest update version
V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
go run github.com/googleapis/librarian/cmd/librarian@${V} tidy
# Build a new Docker image
go run github.com/googleapis/librarian/tool/cmd/builddockerimages@latest --language python --version=${V}
# Regenerate all libraries in Docker. Around 2 minutes.
docker run -u $(id -u):$(id -g) -v .:/repo -v ~/.cache:/.cache -w /repo docker.io/library/librarian-python:${V}  generate -v --all

For the sake of easier review, separated 3 commits:

  • librarian version update f60299a
  • Manual changes to config to make fix generation error: 46dfa75
  • Generated code changes: b8f2240

Fixes googleapis/librarian#6450

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates dependency versions across multiple packages, bumping google-api-core to 2.24.2, protobuf to 6.33.5, proto-plus to 1.26.1, and grpc-google-iam-v1 to 0.14.2, along with updating setup.py version parsing regexes. A critical issue was identified in bigtable-integration.yaml where the paths block was accidentally deleted, breaking the YAML structure.

@zhumin8 zhumin8 force-pushed the chore-update-librarian-2026-06-16 branch from 26edae8 to b96e66d Compare June 16, 2026 20:46
zhumin8 added 2 commits June 16, 2026 16:55
update client-post-processing/storage-integration.yaml

more updates

restore path block
@zhumin8 zhumin8 force-pushed the chore-update-librarian-2026-06-16 branch from b96e66d to b8f2240 Compare June 16, 2026 20:55
@zhumin8 zhumin8 marked this pull request as ready for review June 16, 2026 21:00
@zhumin8 zhumin8 requested review from a team as code owners June 16, 2026 21:00
@zhumin8 zhumin8 requested review from ohmayr and shuoweil and removed request for a team June 16, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants