-
Notifications
You must be signed in to change notification settings - Fork 76
fix: allow protobuf 7.x #815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ dependencies = [ | |
| "pycryptodomex~=3.18 ; sys_platform == 'darwin'", | ||
| "paho-mqtt>=1.6.1,<3.0.0", | ||
| "construct>=2.10.57,<3", | ||
| "protobuf>=6.31.1,<7", | ||
| "protobuf>=6.31.1,<8", | ||
|
||
| "vacuum-map-parser-roborock", | ||
| "pyrate-limiter>=4.0.0,<5", | ||
| "aiomqtt>=2.5.0,<3", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The checked-in generated module
roborock/map/proto/b01_scmap_pb2.pywas generated with Protobuf Python 6.31.1 and callsgoogle.protobuf.runtime_version.ValidateProtobufRuntimeVersion(…, 6, 31, 1, …)at import time. Widening the runtime constraint to<8may allow protobuf 7.x installs that fail at import time if the runtime version validator rejects major-version mismatches. Please verify protobuf 7.x compatibility end-to-end; if it fails, regenerate the pb2 with a protobuf 7.x compiler (or otherwise align/remove the runtime version check) and adjust the constraint accordingly.