Skip to content

feat(google/cloud/apptopology/v1): add google-cloud-apptopology - #18241

Open
noahdietz wants to merge 1 commit into
mainfrom
onboard-apptopology
Open

feat(google/cloud/apptopology/v1): add google-cloud-apptopology#18241
noahdietz wants to merge 1 commit into
mainfrom
onboard-apptopology

Conversation

@noahdietz

Copy link
Copy Markdown
Contributor

Onboard google/cloud/apptopology/v1 to google-cloud-python using Librarian.

Internal tracking bug http://b/551671220

@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 introduces the new google-cloud-apptopology Python client library, including its generated GAPIC clients, transports, types, configuration files, tests, and documentation. Feedback on the changes highlights an obsolete runtime compatibility check for google.protobuf in the generated __init__.py file, which should be removed via the generator or templates since the minimum dependency is already enforced in setup.py.

Comment on lines +107 to +127
_dependency_package = "google.protobuf"
_next_supported_version = "6.33.5"
_next_supported_version_tuple = (6, 33, 5)
_recommendation = " (we recommend 7.x)"
(_version_used, _version_used_string) = _get_version(_dependency_package)
if _version_used and _version_used < _next_supported_version_tuple:
warnings.warn(
f"Package {_package_label} depends on "
+ f"{_dependency_package}, currently installed at version "
+ f"{_version_used_string}. Future updates to "
+ f"{_package_label} will require {_dependency_package} at "
+ f"version {_next_supported_version} or higher{_recommendation}."
+ " Please ensure "
+ "that either (a) your Python environment doesn't pin the "
+ f"version of {_dependency_package}, so that updates to "
+ f"{_package_label} can require the higher version, or "
+ "(b) you manually update your Python environment to use at "
+ f"least version {_next_supported_version} of "
+ f"{_dependency_package}.",
FutureWarning,
)

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.

medium

The runtime compatibility check for 'google.protobuf' version '< 6.33.5' is obsolete because the package's minimum dependency configuration in 'setup.py' has already been updated to require 'protobuf >= 6.33.5'. This check should be removed. Since this is a generated file, please ensure this change is implemented in the generator or templates rather than as a manual modification to prevent it from being overwritten.

References
  1. Remove obsolete compatibility checks for older dependency versions (such as Protobuf v3) when the repository's minimum dependency configuration (e.g., setup.py) has been updated to require a newer version (such as Protobuf 6.x).

@noahdietz
noahdietz force-pushed the onboard-apptopology branch from 3a06aca to d139669 Compare August 27, 2026 21:45
@noahdietz
noahdietz marked this pull request as ready for review August 27, 2026 21:57
@noahdietz
noahdietz requested review from a team as code owners August 27, 2026 21:57
@snippet-bot

snippet-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 9 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@noahdietz
noahdietz enabled auto-merge (squash) August 27, 2026 22:21
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.

1 participant