Skip to content

chore(deps): bump substrait 0.23.0 -> 0.28.0, protobuf 5.28.3 -> 5.29.6#251

Closed
bvolpato wants to merge 1 commit intosubstrait-io:mainfrom
bvolpato:bvolpato/bump-substrait-0.28.0
Closed

chore(deps): bump substrait 0.23.0 -> 0.28.0, protobuf 5.28.3 -> 5.29.6#251
bvolpato wants to merge 1 commit intosubstrait-io:mainfrom
bvolpato:bvolpato/bump-substrait-0.28.0

Conversation

@bvolpato
Copy link
Copy Markdown
Member

Summary

Bumps the substrait Python package from 0.23.0 to 0.28.0 and protobuf from 5.28.3 to 5.29.6 (required due to protobuf gencode/runtime version compatibility).

Changes

  • requirements.txt: substrait 0.23.00.28.0, protobuf 5.28.35.29.6
  • requirements-unlocked.txt: protobuf 5.28.35.29.6
  • datafusion_consumer.py: substrait.gen.proto.plan_pb2substrait.plan_pb2 (module path restructured in new version)
  • datafusion_producer.py: same import path update

Testing

Verified imports work correctly with the new package versions.

Bump the substrait Python package from 0.23.0 to 0.28.0 and protobuf
from 5.28.3 to 5.29.6 (required by the new substrait package).

The substrait package restructured its module paths: the generated
protobuf classes moved from substrait.gen.proto.plan_pb2 to
substrait.plan_pb2. Updated import paths in datafusion_consumer.py
and datafusion_producer.py accordingly.
@bvolpato
Copy link
Copy Markdown
Member Author

Closing: substrait 0.28.0 and substrait-validator are incompatible — both register substrait/extensions/extensions.proto in the protobuf descriptor pool, causing a collision at import time. This appears to be an upstream issue between the substrait and substrait-validator Python packages. Bumping just the validator alone works (see #252).

@bvolpato bvolpato closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant