Skip to content

Commit 2dc1f9a

Browse files
Support protobuf==5
We want to support protobuf==5 && protobuf==6 (and not restrict the eventual jump to 7). This initial commit should fail in CI; we'll likely need to lower the plugin version so that the gencode is not newer than the earliest version of protobuf==5.
1 parent b538a8c commit 2dc1f9a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
]
2323
dynamic = ["version"]
2424
dependencies = [
25-
"protobuf==6.*",
25+
"protobuf>=5",
2626
"cel-python==0.2.*",
2727
]
2828
[project.optional-dependencies]
@@ -45,7 +45,7 @@ dev = [
4545
"google-re2-stubs>=0.1.1",
4646
"mypy>=1.17.1",
4747
"ruff>=0.12.0",
48-
"types-protobuf==6.30.2.20250503",
48+
"types-protobuf>=5",
4949
]
5050

5151
[tool.hatch.version]

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)