Skip to content

Commit 2ce0d4f

Browse files
Bump minimum protobuf to 6.30.0 for cel-expr-python compatibility
cel-expr-python requires protobuf 6.30+ for nested message type descriptor lookup. With protobuf 5.x, the C++ CEL runtime cannot find nested types (e.g. EditionsMessageExplicitPresenceIgnoreUnspecified.Msg) in the descriptor database, causing runtime errors in proto editions test cases.
1 parent b9b9209 commit 2ce0d4f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ classifiers = [
2020
]
2121
dynamic = ["version"]
2222
dependencies = [
23-
"protobuf>=5",
23+
# cel-expr-python requires protobuf 6.30+ for nested message type descriptor lookup.
24+
"protobuf>=6.30.0",
2425
"cel-expr-python>=0.1.1; python_version >= '3.11' and python_version < '3.14' and sys_platform == 'linux'",
2526
# We need at least this version, which started publishing wheels for Python 3.13.
2627
# Ref: https://github.com/google/re2/issues/516

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)