Skip to content

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
Contributor

@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