fedora-copr/logdetective-website

pydantic v2 release

Closed this issue · 3 comments

with F40 there's been migration to pydantic v2. There are some breaking changes - I didn't check if we need to do something about them.

We have two options:

  • check what needs to be changed and change it to v2
  • or we can still use v1 by using from pydatic.v1 import ...

Is this related to linting-only, or is it an API-related issue?

Bvr4 commented

Hello, there will be some adjustment to do.

For instance the root_validator function is depreciated. I may be able to help you on that if you want to.

thanks for identifying what is deprecated - I'll take care of the rest with migrating our instance to fedora-40, thanks!