Skip to content

sift(refactor): remove protovalidate from client-side protos#545

Merged
wei-qlu merged 2 commits intomainfrom
python/remove-proto-validate
Apr 28, 2026
Merged

sift(refactor): remove protovalidate from client-side protos#545
wei-qlu merged 2 commits intomainfrom
python/remove-proto-validate

Conversation

@wei-qlu
Copy link
Copy Markdown
Contributor

@wei-qlu wei-qlu commented Apr 28, 2026

What was changed

Removed (buf.validate.field) annotations and the buf/validate/validate.proto import from the 7 .proto files using them, dropped buf.build/bufbuild/protovalidate from protos/buf.yaml, removed the buf/** pass from scripts/gen.sh, regenerated the Python bindings, and deleted python/lib/buf/. Server-side validation is unaffected.

Validation

Verified that buf.validate is not referenced anymore. Generated the protos and confirmed that a new build only contains sift/, sift_client/, and sift_py/. Importing all 7 affected modules in a clean venv works as normal and passes all related tests.

@wei-qlu wei-qlu requested a review from solidiquis April 28, 2026 18:18
@wei-qlu wei-qlu marked this pull request as ready for review April 28, 2026 18:20
@wei-qlu wei-qlu merged commit d89a2eb into main Apr 28, 2026
22 checks passed
@wei-qlu wei-qlu deleted the python/remove-proto-validate branch April 28, 2026 18:27
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.

2 participants