Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration: Pydantic v2 #2001

Merged
merged 23 commits into from
Nov 21, 2024
Merged

Migration: Pydantic v2 #2001

merged 23 commits into from
Nov 21, 2024

Conversation

Axolotle
Copy link
Member

Solution

Migrate to pydantic v2 for trixie.
This is minimal migration with no use of new features (will come in another PR).

PR Status

To test

How to test

Pydantic v2 is not available on bookworm, you can ugly global install it with pip.

pip3 install pydantic --break-system-packages --ignore-installed
pip3 install email-validator --break-system-packages --ignore-installed
pip3 install pydantic_extra_types --break-system-packages --ignore-installed

@Axolotle Axolotle changed the base branch from dev to trixie November 20, 2024 16:52
@Axolotle Axolotle changed the base branch from trixie to dev November 20, 2024 16:53
@Salamandar
Copy link
Contributor

Well I'd say we should merge this on the trixie branch (or, find a way to properly install pydantic v2 on bookworm ?)

Copy link
Contributor

@Salamandar Salamandar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not fully working but this is expected. LGTM.

@Salamandar Salamandar marked this pull request as ready for review November 21, 2024 14:40
@Salamandar Salamandar merged commit 2b5514d into trixie Nov 21, 2024
@Salamandar Salamandar deleted the pydantic-v2 branch November 21, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants