Skip to content

Old Pydantic restricts python version to <3.11 with django #5

@wardal

Description

@wardal

As this repo uses pydantic v1 we can't use python 3.11 with django as pydantic on python 3.11 stops django server when validation fails, seems pyndatic exception crashes django server. To fix the issue need to downgrade to python 3.10.

What do you think if we upgrade pydantic to v2 in this repo? v2 is faster, cuz made with Rust + I think it should run in this repo without any code changes, because you didn't use old v1 pyndatic functions, only validating models through models init.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions