Skip to content

chore: update to librarian v0.13.0 / generator 1.32.0 (with adjustments) #17042

Merged
chalmerlowe merged 2 commits into
googleapis:mainfrom
jskeet:update-post-processor
May 13, 2026
Merged

chore: update to librarian v0.13.0 / generator 1.32.0 (with adjustments) #17042
chalmerlowe merged 2 commits into
googleapis:mainfrom
jskeet:update-post-processor

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented May 12, 2026

Adjusts the string replacement post-processor configurations to be ready for librarian v0.13.0 which uses gapic-generator 1.32.0. This change does not include the results of regeneration; those changes will be done immediately afterwards, in batches.

@jskeet jskeet requested review from chalmerlowe and parthea May 12, 2026 15:19
Copy link
Copy Markdown
Contributor

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

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 version requirements for google-api-core and grpcio across multiple post-processing configuration files, removes legacy replacement rules for constraints files, and deletes several obsolete configuration files. Feedback suggests correcting a potential version mismatch in a replacement block within storage-integration.yaml and cautions against removing version pins in constraints files, as this may lead to non-deterministic build environments.

Comment on lines +645 to +655
google-auth
# cryptography is a direct dependency of google-auth
cryptography
google-api-core==2.27.0
google-cloud-core==2.4.2
google-resumable-media==2.7.2
grpcio==1.33.2
requests==2.22.0
google-crc32c==1.6.0
protobuf==4.25.8
opentelemetry-api==1.1.0
google-api-core
google-cloud-core
google-resumable-media
grpcio
requests
google-crc32c
protobuf
opentelemetry-api
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.

high

The after block for the constraints-*.txt replacements has been updated to remove all version pins (e.g., google-auth, google-api-core). Constraints files are typically expected to have pinned versions to ensure reproducible and stable test environments. Removing these pins might lead to non-deterministic builds or CI failures if incompatible transitive dependencies are pulled in.

Given that similar constraints replacements were removed entirely from other integration files in this PR, consider if this replacement is still necessary or if it should maintain pinned versions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The filename being adjusted is changed as well - basically this is to make sure that constraints-3.10.txt doesn't get changed (at least not significantly).

I can't remember offhand why I had to remove it from line 658, but I assume it's because the generated file no longer matches.

@jskeet jskeet changed the title chore: adjust string replacements for gapic-generator 1.32.0 chore: update to librarian v0.13.0 / generator 1.32.0 (with adjustments) May 13, 2026
@jskeet jskeet force-pushed the update-post-processor branch from 9b609be to f36d765 Compare May 13, 2026 07:26
@jskeet jskeet marked this pull request as ready for review May 13, 2026 07:27
@jskeet jskeet requested review from a team as code owners May 13, 2026 07:27
@chalmerlowe chalmerlowe merged commit 322e372 into googleapis:main May 13, 2026
31 checks passed
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.

3 participants