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 the latest Pydantic versions #595

Closed
yanbo-huang opened this issue Feb 23, 2024 · 4 comments
Closed

Add support for the latest Pydantic versions #595

yanbo-huang opened this issue Feb 23, 2024 · 4 comments

Comments

@yanbo-huang
Copy link

The current redis-om-python's dependency constraint for Pydantic version is pydantic = ">=1.10.2,<2.1.0".
ATM, the latest Pydantic version is v2.6.1. Its development pace is quite fast. Within one year, lots of features are added and bugs are fixed.
Could you please add support for a higher version of Pydantic? Then our projects don't need to hold onto the lower versions.

@yanbo-huang
Copy link
Author

I went through all chats in the pull requests and issues. Noticed there are already a few PRs updating the Pydantic's version.
They are still waiting for approval for quite a long time. We are in a hurry to migrate to the latest Pydantic version in our project, so I created a fork and updated the version to pydantic = ">=1.10.2,<3.0.0". I tested it in my own environments, it is working fine so far. For people in the same situation, feel free to use it:

# put this in your package management file (eg, `pyproject.toml`)
redis-om = {git = "https://github.com/yanbo-huang/redis-om-python.git"}

@prutheus
Copy link

what is the current status on this? @slorello89 @uglide

@gaby
Copy link
Contributor

gaby commented Mar 26, 2024

Fixed by #597

@banker
Copy link
Member

banker commented Mar 26, 2024

Thanks, @gaby!

@banker banker closed this as completed Mar 26, 2024
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

4 participants