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

Add support for Pydantic V2 #938

Open
Zahgrom34 opened this issue Aug 8, 2024 · 2 comments
Open

Add support for Pydantic V2 #938

Zahgrom34 opened this issue Aug 8, 2024 · 2 comments

Comments

@Zahgrom34
Copy link

I can't use it in project with pydantic v2.
It's impossible to install this library even, though it looks very good from my perspective. I would like to use it in my project

The solution I'd like
Add support for Pydantic V2

@Zahgrom34
Copy link
Author

>> poetry add pydantic-aioredis
Because no versions of pydantic-aioredis match >1.4.0,<2.0.0
 and pydantic-aioredis (1.4.0) depends on pydantic (>=1.10.2,<2.0.0), pydantic-aioredis (>=1.4.0,<2.0.0) requires pydantic (>=1.10.2,<2.0.0).
Thus, pydantic-aioredis (>=1.4.0,<2.0.0) is incompatible with pydantic (>=2,<3).
So, because ascender-framework depends on both pydantic (^2) and pydantic-aioredis (^1.4.0), version solving failed.

@andrewthetechie
Copy link
Owner

@Zahgrom34 id be happy to review a pr that updates to pydantic 2

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

No branches or pull requests

2 participants