Skip to content

Swap in protovalidate instead of protoc-gen-validate #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

tstirrat15
Copy link
Contributor

@tstirrat15 tstirrat15 commented Mar 13, 2025

Fixes #249

Description

protoc-gen-validate is incompatible with python 3.13, which is a python version that we want to support. This swaps it out for protovalidate, which is the successor.

Changes

  • Remove python 3.8 from support matrix as it's EOL
  • Regenerate client based on branch that includes protovalidate annotations
  • Remove protoc-gen-validate
  • Add protovalidate as a runtime dependency
  • Remove old validate package
  • Add test

Testing

Review. See that tests pass and that new tests make sense.

@tstirrat15 tstirrat15 requested a review from a team as a code owner March 13, 2025 17:00
@tstirrat15 tstirrat15 force-pushed the use-protovalidate branch 3 times, most recently from 852e9db to 5eccedc Compare March 13, 2025 18:19
@tstirrat15 tstirrat15 force-pushed the use-protovalidate branch 9 times, most recently from 029cae8 to 0647a5f Compare April 15, 2025 19:58
@tstirrat15
Copy link
Contributor Author

Gonna hold off on getting this reviewed until authzed/api#124 in

@tstirrat15
Copy link
Contributor Author

This is ready now

@tstirrat15 tstirrat15 added this pull request to the merge queue Apr 16, 2025
Merged via the queue into main with commit 6512aa1 Apr 16, 2025
13 checks passed
@tstirrat15 tstirrat15 deleted the use-protovalidate branch April 16, 2025 00:06
@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatibility between protoc-gen-validate and python 3.13
2 participants