Skip to content

support Pydantic 2+ or drop pydantic #1075

Open
@gdementen

Description

@gdementen

Pydantic2 has been released in june 2023 and it is a massive change compared to v1. There is even a whole migration guide at:
https://docs.pydantic.dev/2.0/migration/

Needless to say, larray is not compatible with it. We should either rewrite Checked* using v2, or stop using Pydantic at all (I have some proof of concept code doing this somewhere).

PS: CI is not failing on this (yet) because anaconda packages for Pydantic are still at v1. But I noticed the error via readthedocs where pydantic is installed via pip instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions