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

Pydantic 2+ #331

Open
duvi86 opened this issue Oct 30, 2023 · 13 comments
Open

Pydantic 2+ #331

duvi86 opened this issue Oct 30, 2023 · 13 comments
Assignees
Labels
enhancement New feature or request

Comments

@duvi86
Copy link

duvi86 commented Oct 30, 2023

Hi,

I wanted to check when you would upgrade to Pydantic 2+ version. This is indeed a very much used library and there are quite some changes to operate to make it work. Thanks.

@duvi86 duvi86 added bug Something isn't working triage Needs to be assessed labels Oct 30, 2023
@nnansters
Copy link
Contributor

Hey @duvi86 , our own code doesn't use a lot of Pydantic functionality apart from configuration files. It might be in some of our dependencies though.

I've not really thought about the upgrade up until now. Is there anything you need that relies on the update?

@duvi86
Copy link
Author

duvi86 commented Nov 9, 2023 via email

@nnansters
Copy link
Contributor

I see, that makes total sense. I've quickly ran an experiment and I already see one of our dependencies not being compatible with V2.

Maybe shuffling them into an optional dependency group (used for database stuff) could work around the issue.

We will also have to ensure that we don't force people using the library to move to Pydantic V2 as well.

I'll look into it as soon as possible.

@nnansters nnansters added enhancement New feature or request and removed bug Something isn't working triage Needs to be assessed labels Nov 9, 2023
Copy link

stale bot commented Jan 9, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 9, 2024
@nnansters nnansters removed the stale label Jan 9, 2024
@duvi86
Copy link
Author

duvi86 commented Jan 9, 2024 via email

@nnansters
Copy link
Contributor

Hey @duvi86 ,

haven't had the time yet to look further into this, sorry. It's still on our radar!

Copy link

stale bot commented Mar 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 11, 2024
@nnansters nnansters removed the stale label Mar 12, 2024
Copy link

stale bot commented May 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 11, 2024
@stale stale bot closed this as completed May 19, 2024
@code4days
Copy link

Any update on this?

@nnansters nnansters removed the stale label Jun 20, 2024
@nnansters
Copy link
Contributor

Hey guys, sorry for being slow on this one. We have a rare spot of free time in the coming week, will be looking into this one. Updates soon to follow!

@nnansters
Copy link
Contributor

PR #401 is up! New release should arrive in the coming days. Thanks for the patience!

@LieberzeitovaEliska
Copy link

Looking forward to the new release 🤩 (tried installing using the latest commit hash and it seems to be working as expected). Thanks for bringing the attention to this important issue. @nnansters, big up for finding the time to solve this! Thank you.

@nnansters
Copy link
Contributor

Great news, thanks for testing!

And to everyone: thanks for the patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants