Skip to content

Commit 849c751

Browse files
authored
fix: change protoc version to v29.5 and protobuf to >=5 (#141)
Generate code with protoc 29.5 which allows to run the code with any version of the protobuf library that's newer than v5.x. Signed-off-by: Niels Pardon <par@zurich.ibm.com>
1 parent b404a0f commit 849c751

22 files changed

Lines changed: 447 additions & 898 deletions

buf.gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: v2
22
plugins:
3-
- remote: buf.build/protocolbuffers/python:v33.2
3+
- remote: buf.build/protocolbuffers/python:v29.5
44
out: src
5-
- remote: buf.build/community/nipunn1313-mypy:v4.0.0
5+
- remote: buf.build/community/nipunn1313-mypy:v3.7.0
66
out: src

pixi.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = [{name = "Substrait contributors", email = "substrait@googlegroups.com
55
license = {text = "Apache-2.0"}
66
readme = "README.md"
77
requires-python = ">=3.10,<3.14"
8-
dependencies = ["protobuf >=6.33,<7"]
8+
dependencies = ["protobuf >=5,<7"]
99
dynamic = ["version"]
1010

1111
[tool.setuptools_scm]

src/substrait/gen/proto/algebra_pb2.py

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

src/substrait/gen/proto/algebra_pb2.pyi

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

src/substrait/gen/proto/capabilities_pb2.py

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

src/substrait/gen/proto/capabilities_pb2.pyi

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

src/substrait/gen/proto/extended_expression_pb2.py

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

src/substrait/gen/proto/extended_expression_pb2.pyi

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

src/substrait/gen/proto/extensions/extensions_pb2.py

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

0 commit comments

Comments
 (0)