ormar-postgres-extensions icon indicating copy to clipboard operation
ormar-postgres-extensions copied to clipboard

Consider supporting Pydantic 2.0?

Open ker-zhao opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Hi, there. I'm using this extension, thanks a lot. The package is not compatible with Pydantic 2.0 when I try to update pydantic to 2.0 with Poetry. Would you consider supporting Pydantic 2.0?

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

ker-zhao avatar Jul 06 '23 08:07 ker-zhao

@ker-zhao thanks for filing this. Unfortunately I'm no longer at Top Hat so I don't know how this package is being used internally. That being said, I can take a look at updating this to pydantic 2.0 but it might take a few weeks as I'm moving soon and don't have a ton of free time

etimberg avatar Jul 06 '23 13:07 etimberg

@etimberg I'll follow up internally as well

noahnu avatar Jul 07 '23 16:07 noahnu

Update on my end: we use this project with fastapi and since pydantic 2 support in fastapi is still experimental, we will not be picking this up just yet. That being said, if you're interested in opening a pull request, contributions are welcome.

noahnu avatar Jul 16 '23 15:07 noahnu