Skip to content

Commit f21b5d5

Browse files
committed
fix: require pydantic>=2.12.0
Pydantic 2.11 broke two things that 2.12 fixes: - model_validate() rejected the extra kwarg used by datamodel-code-generator 0.51.0 - model_rebuild() resolved inherited forward refs in the subclass module, breaking cross-module generated models (e.g. opensemantic.base)
1 parent c639282 commit f21b5d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ install_requires =
5252
opensemantic
5353
opensemantic.core>=0.57.4
5454
opensemantic.base>=0.42.7
55-
pydantic[email]>=1.10.17
55+
pydantic[email]>=2.12.0
5656
datamodel-code-generator==0.51.0
5757
black
5858
isort

0 commit comments

Comments
 (0)