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

fixing broken Pydantic v1 regression #663

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

slorello89
Copy link
Member

Fixes #646 - can validate by changing:

pydantic = ">=1.10.2,<3.0.0"

to

pydantic = ">=1.10.2,<2.0.0"

in the pyproject.toml and running:

poetry lock
poetry install
make test

In pydantic v1.x, there are some broken tests which are a result of some of the tests requiring pydantic 2.x types.

I have not added any additional regression testing for it given that pydantic 1.x, it seems to be moving out of support and I don't have a solid way of automating testing of it (poetry doesn't seem to support me specifying which pydantic version to install?), if anyone from the community or @sav-norem or @bsbodden have any good ideas, all ears.

Copy link

@bsbodden bsbodden left a comment

Choose a reason for hiding this comment

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

LGTM!

@slorello89 slorello89 merged commit 2455394 into main Oct 30, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redis-om 0.3.2 no longer supports pydantic<2
2 participants