Skip to content

Protobuf py version warnings #148296

Open
Open
@cryptonym64

Description

@cryptonym64

The problem

Logger: py.warnings
Source: components/esphome/init.py:5
First occurred: July 4, 2025 at 8:32:24 PM (2 occurrences)
Last logged: July 4, 2025 at 8:32:24 PM

/usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api.proto. Please update the gencode to avoid compatibility violations in the next runtime release. warnings.warn(
/usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api_options.proto. Please update the gencode to avoid compatibility violations in the next runtime release. warnings.warn(

What version of Home Assistant Core has the issue?

2025.7.1

What was the last working version of Home Assistant Core?

Not sure

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Esphome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/esphome/

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Log details (WARNING)
Logger: py.warnings
Source: components/esphome/__init__.py:5
First occurred: July 4, 2025 at 8:32:24 PM (2 occurrences)
Last logged: July 4, 2025 at 8:32:24 PM

/usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api.proto. Please update the gencode to avoid compatibility violations in the next runtime release. warnings.warn(
/usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api_options.proto. Please update the gencode to avoid compatibility violations in the next runtime release. warnings.warn(

Additional information

I can't say I know what device is triggering the warning or anything.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions