Allow protobuf 7.x runtime in dependency constraints#71
Merged
michaelarnauts merged 2 commits intomasterfrom Apr 22, 2026
Merged
Allow protobuf 7.x runtime in dependency constraints#71michaelarnauts merged 2 commits intomasterfrom
michaelarnauts merged 2 commits intomasterfrom
Conversation
Agent-Logs-Url: https://github.com/michaelarnauts/aiocomfoconnect/sessions/a8d81a0a-04dc-4791-abac-6188f9008ef8 Co-authored-by: michaelarnauts <1193779+michaelarnauts@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade protobuf dependency to v7.x to resolve pkg_resources deprecation
Allow protobuf 7.x runtime in dependency constraints to remove pkg_resources deprecation path
Apr 20, 2026
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.
This change updates
aiocomfoconnect’s protobuf dependency range to permit protobuf 7.x, which removes the legacypkg_resourcesnamespace mechanism that triggers deprecation warnings in downstream Home Assistant usage. The existing generated protobuf modules remain compatible with the 7.x runtime.Dependency constraint update
^6.31to>=6.31,<8inpyproject.toml.Lockfile synchronization
poetry.lockmetadata hash to reflect the new dependency constraint.No protobuf regeneration in this PR
*_pb2.pyfiles unchanged; this PR only adjusts runtime compatibility bounds.