Skip to content

Allow protobuf 7.x runtime in dependency constraints#71

Merged
michaelarnauts merged 2 commits intomasterfrom
copilot/upgrade-protobuf-dependency-v7
Apr 22, 2026
Merged

Allow protobuf 7.x runtime in dependency constraints#71
michaelarnauts merged 2 commits intomasterfrom
copilot/upgrade-protobuf-dependency-v7

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

This change updates aiocomfoconnect’s protobuf dependency range to permit protobuf 7.x, which removes the legacy pkg_resources namespace 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

    • Widened protobuf runtime constraint from ^6.31 to >=6.31,<8 in pyproject.toml.
  • Lockfile synchronization

    • Updated poetry.lock metadata hash to reflect the new dependency constraint.
  • No protobuf regeneration in this PR

    • Kept existing generated *_pb2.py files unchanged; this PR only adjusts runtime compatibility bounds.
# pyproject.toml
[tool.poetry.dependencies]
protobuf = ">=6.31,<8"

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
Copilot AI requested a review from michaelarnauts April 20, 2026 15:54
@michaelarnauts michaelarnauts marked this pull request as ready for review April 20, 2026 17:15
@michaelarnauts michaelarnauts changed the title Allow protobuf 7.x runtime in dependency constraints to remove pkg_resources deprecation path Allow protobuf 7.x runtime in dependency constraints Apr 20, 2026
@michaelarnauts michaelarnauts merged commit 28b873b into master Apr 22, 2026
6 checks passed
@michaelarnauts michaelarnauts deleted the copilot/upgrade-protobuf-dependency-v7 branch April 22, 2026 19:51
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.

Upgrade protobuf to v7.x to resolve pkg_resources deprecation

2 participants