Skip to content

Comments

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

Merged
tstirrat15 merged 1 commit intomainfrom
use-protovalidate
Apr 16, 2025
Merged

Swap in protovalidate instead of protoc-gen-validate#253
tstirrat15 merged 1 commit intomainfrom
use-protovalidate

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