-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm seeing many instances of
.venv/lib/python3.12/site-packages/protovalidate/internal/rules.py:863: DeprecationWarning: label() is deprecated. Use is_required() or is_repeated() instead.
self._cache[descriptor] = self._new_rules(descriptor)
which stem from the fact that there are many accesses to FieldDescriptor.label which was deprecated in July 2025: https://protobuf.dev/news/2025-07-14/
These warnings start appearing when using the library with protobuf 6.x.
Metadata
Metadata
Assignees
Labels
No labels