<#4603 [BUG] Pydantic Flytekit plugin is not compa...
# flytekit
c
#4603 [BUG] Pydantic Flytekit plugin is not compatible with Pydantic v2 Issue created by adartaud Describe the bug Since Pydantic v2, the method
__get_validators__
has been removed from
pydantic.BaseModel
. However as you can see here
flytekitplugins-pydantic
still uses it. This raises
AttributeError: __get_validators__
Expected behavior At the moment, there are no constraints on the version of Pydantic in the setup.py of the plugin, although it only seems to be compatible with versions prior to v2.
flytekitplugins-pydantic
should be compatible with new versions of Pydantic, or at least specify a constraint while this isn't fixed. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? • Yes Have you read the Code of Conduct? • Yes flyteorg/flyte