Repository navigation
fix: add missing dependency google-cloud-apphub and google-cloud-config - #18826
Merged
Merged
Conversation
ohmayr
approved these changes
Oct 23, 2026
ohmayr
added a commit
that referenced
this pull request
Dec 3, 2026
…19322) ## Context & Problem Libraries that import google.cloud.agentregistry.v1 proto types (such as google-cloud-agentregistryendpoint in #19314) are missing google-cloud-agentregistry in generated setup.py and testing constraint files because _pypi_packages.j2 does not map this API yet. ## Summary of Changes - Add ("google", "cloud", "agentregistry", "v1") mapped to google-cloud-agentregistry (>= 0.1.2, < 1.0.0) in packages/gapic-generator/gapic/templates/_pypi_packages.j2, matching #18826 and #19022. ## Why This Approach Declaring cross-API PyPI packages in _pypi_packages.j2 lets setup.py.j2 and the testing constraint templates emit the dependency automatically during regeneration instead of maintaining per-package post-processing overrides. ## Intentionally Out of Scope - Bumping the pinned gapic-generator commit SHA in librarian.yaml or regenerating google-cloud-agentregistryendpoint (handled separately after merge). - Adding a temporary post-processing override in .librarian/generator-input/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml. ## Verification nox -s lint mypy-3.14 unit-3.14 passed in packages/gapic-generator.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Towards b/577038296
https://pypi.org/project/google-cloud-apphub/0.5.2/
https://pypi.org/project/google-cloud-config/0.7.2/
This change is needed so that the generated
setup.pyfor the library google/cloud/designcenter/v1 pulls the cross api dependencies from PyPI.See the code here which uses
_pypi_packages.j2See the cross API dependencies in the BUILD file upstream