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

Request ormar to support pydantic 2.6, 2.7, ... #1387

Open
brunorpinho opened this issue Jul 31, 2024 · 3 comments
Open

Request ormar to support pydantic 2.6, 2.7, ... #1387

brunorpinho opened this issue Jul 31, 2024 · 3 comments

Comments

@brunorpinho
Copy link

Hi @collerek ,

Just want to check if it's possible for us to support higher pydantic versions or is there a reason ormar is fixed at 2.5?

BTW, thank you for this amazing tool.

@Zerorigin
Copy link

Zerorigin commented Oct 11, 2024

fastapi-jwt-auth3 need:pydantic>=2.7.3 for version 0.3.5
ormar need:pydantic==2.5.3 for ormar==0.20.1

This makes it impossible to use both wheels in the same project.

@brunorpinho
Copy link
Author

Hi @Zerorigin, thank you for taking action on this issue.

Sorry, I could not understand the issue as fastapi-jwt-auth3 does not seem to be a problem.

What do you mean by ormar need:pydantic==2.5.3 for ormar==0.20.1 ?

It seems that ormar and fastapi-jwt-auth3 can be used in the same project if ormar allows higher versions than 2.5.3.

@Zerorigin
Copy link

It seems that ormar and fastapi-jwt-auth3 can be used in the same project if ormar allows higher versions than 2.5.3.

Yeap.

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