Skip to content

Add support for protobuf7 - #2254

Merged
dirkkul merged 2 commits into
dev/1.41from
protoubuf7
Nov 13, 2026
Merged

dirkkul merged 2 commits into
dev/1.41from
protoubuf7

Conversation

@dirkkul

@dirkkul dirkkul commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@dirkkul
dirkkul requested a review from a team as a code owner November 13, 2026 10:19
Copilot AI balanced review requested due to automatic review settings November 13, 2026 10:19

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 2   info 0 View in Orca
🔑 The following Secrets have been detected in your pull request across all commits

⚠️ Please take action to mitigate the risk of the identified secrets by revoking them, and if already in use, updating all dependent systems

NAME FILE LINE NUM COMMIT
low Generic High Entropy Secret
Validity Status: AI_TRIAGED_FP
...weaviate_pb2_grpc.py 321 a225e05 View in code
low Generic High Entropy Secret
Validity Status: AI_TRIAGED_FP
...weaviate_pb2_grpc.py 294 a225e05 View in code

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The protobuf 7 compatibility change has no active review issues requiring resolution.

No open issues 🎉

7 files not reviewed
  • weaviate/proto/v1/v7351/v1/aggregate_pb2.py: Generated file
  • weaviate/proto/v1/v7351/v1/base_pb2.py: Generated file
  • weaviate/proto/v1/v7351/v1/base_search_pb2.py: Generated file
  • weaviate/proto/v1/v7351/v1/batch_delete_pb2.py: Generated file
  • weaviate/proto/v1/v7351/v1/batch_pb2.py: Generated file
  • weaviate/proto/v1/v7351/v1/generative_pb2.py: Generated file
  • weaviate/proto/v1/v7351/v1/health_weaviate_pb2.py: Generated file
What changed in this PR

Adds protobuf 7 support to the Weaviate Python client through version-specific generated bindings, while retaining compatibility paths for older protobuf releases.

Changes:

  • Adds protobuf 7.35.1 bindings and selects them with a grpcio 1.83.0 minimum; protobuf 7.34.x continues using the existing bindings.
  • Expands dependency constraints and aligns the browser shim’s reported gRPC version.
  • Updates regeneration tooling, compatibility tests, CI matrices, and release notes.
File Description
weaviate/​proto/​v1/​v7351/​v1/​weaviate_pb2.pyi Adds service descriptor typing.
weaviate/​proto/​v1/​v7351/​v1/​weaviate_pb2.py Adds protobuf 7 service descriptors.
weaviate/​proto/​v1/​v7351/​v1/​weaviate_pb2_grpc.py Adds generated service clients and handlers.
weaviate/​proto/​v1/​v7351/​v1/​tenants_pb2.pyi Adds tenant message typing.
weaviate/​proto/​v1/​v7351/​v1/​tenants_pb2.py Adds tenant message bindings.
weaviate/​proto/​v1/​v7351/​v1/​tenants_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​search_get_pb2.pyi Adds search message typing.
weaviate/​proto/​v1/​v7351/​v1/​search_get_pb2.py Adds search message bindings.
weaviate/​proto/​v1/​v7351/​v1/​search_get_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​properties_pb2.pyi Adds property message typing.
weaviate/​proto/​v1/​v7351/​v1/​properties_pb2.py Adds property message bindings.
weaviate/​proto/​v1/​v7351/​v1/​properties_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​health_weaviate_pb2.pyi Adds health message typing.
weaviate/​proto/​v1/​v7351/​v1/​health_weaviate_pb2.py Adds health message bindings.
weaviate/​proto/​v1/​v7351/​v1/​health_weaviate_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​generative_pb2.py Adds generative message bindings.
weaviate/​proto/​v1/​v7351/​v1/​generative_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​batch_pb2.pyi Adds batch message typing.
weaviate/​proto/​v1/​v7351/​v1/​batch_pb2.py Adds batch message bindings.
weaviate/​proto/​v1/​v7351/​v1/​batch_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​batch_delete_pb2.pyi Adds batch deletion typing.
weaviate/​proto/​v1/​v7351/​v1/​batch_delete_pb2.py Adds batch deletion bindings.
weaviate/​proto/​v1/​v7351/​v1/​batch_delete_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​base_search_pb2.pyi Adds shared search message typing.
weaviate/​proto/​v1/​v7351/​v1/​base_search_pb2.py Adds shared search bindings.
weaviate/​proto/​v1/​v7351/​v1/​base_search_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​base_pb2.pyi Adds shared message and enum typing.
weaviate/​proto/​v1/​v7351/​v1/​base_pb2.py Adds shared message and enum bindings.
weaviate/​proto/​v1/​v7351/​v1/​base_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​aggregate_pb2.pyi Adds aggregation message typing.
weaviate/​proto/​v1/​v7351/​v1/​aggregate_pb2.py Adds aggregation message bindings.
weaviate/​proto/​v1/​v7351/​v1/​aggregate_pb2_grpc.py Adds generated gRPC version guard.
weaviate/​proto/​v1/​v7351/​v1/​__init__.py Marks the generated bindings package.
weaviate/​proto/​v1/​v7351/​__init__.py Marks the version-specific package.
weaviate/​proto/​v1/​regen.sh Adds protobuf 7 generation tooling.
weaviate/​proto/​v1/​__init__.py Selects new bindings and updates compatibility checks.
setup.cfg Allows protobuf versions below 8.
proto_test/​test_proto.py Updates compatibility and fallback assertions.
packages/​web/​tests/​test_shim_install.py Updates the expected shim version.
packages/​web/​src/​weaviate_client_web/​_shim.py Aligns the shim’s reported gRPC version.
docs/​changelog.rst Documents protobuf 7 compatibility requirements.
.github/​workflows/​main.yaml Extends compatibility and integration matrices.

Review effort: Balanced

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (dev/1.41@41ff1bc). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             dev/1.41    #2254   +/-   ##
===========================================
  Coverage            ?   92.42%           
===========================================
  Files               ?      311           
  Lines               ?    23568           
  Branches            ?        0           
===========================================
  Hits                ?    21783           
  Misses              ?     1785           
  Partials            ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@orca-security-eu orca-security-eu Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 2   info 0 View in Orca
🔑 The following Secrets have been detected in your pull request across all commits

⚠️ Please take action to mitigate the risk of the identified secrets by revoking them, and if already in use, updating all dependent systems

NAME FILE LINE NUM COMMIT
low Generic High Entropy Secret
Validity Status: AI_TRIAGED_FP
...weaviate_pb2_grpc.py 321 7cfa12e View in code
low Generic High Entropy Secret
Validity Status: AI_TRIAGED_FP
...weaviate_pb2_grpc.py 294 7cfa12e View in code

@dirkkul
dirkkul merged commit ed9773f into dev/1.41 Nov 13, 2026
155 of 157 checks passed
@dirkkul
dirkkul deleted the protoubuf7 branch November 13, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants