Skip to content

Consider upgrading to pydantic v2, removing pydantic v1 support #601

Description

@andrii-i

Problem

Need to support both pydantic v1 and v2 necessiates additional logic like pydantic_v1 module https://github.com/jupyter-server/jupyter-scheduler/tree/9d5e2ea50f5a9b1746c214fd7e4bb5f87fb768c8/jupyter_scheduler/pydantic_v1, adds dependencies, and improves codebase complexity.

Proposed solution

Upgrade to pydantic v2, remove pydantic v1 support

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    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