Skip to content

Python 3.14 compatibility #154

@fabianlange

Description

@fabianlange

Hey there,

I tried to update my code base to Python 3.14, but it fails since NinjaJWTSettings seem to still use pydantic v1 models and functions, i.e. from pydantic.v1 import AnyUrl, BaseModel, Field, root_validator in settings.py.

Pydantic now clearly states that they won't support Python 3.14 for v1: Note that Pydantic V1 is not compatible with Python 3.14 and greater.. Would you accept PRs that would upgrade Settings to Pydantic v2?

Best regards, and thank you for the work on this.

cc: @eadwinCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions