Skip to content

Commit 205cc6f

Browse files
specify pydantic >= 2.5.x or field_validator can not be imported from pydantic 1.x version (#770)
1 parent 02b8bc1 commit 205cc6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies = [
4040
"matplotlib",
4141
"meshio==5.3.4",
4242
"numpy>=1.20.0,<=1.23.1",
43-
"pydantic",
43+
"pydantic>=2.5.0",
4444
"pyevtk",
4545
"pyvista==0.37.0",
4646
"pyyaml",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ imageio
55
matplotlib
66
meshio==5.3.4
77
numpy>=1.20.0,<=1.23.1
8-
pydantic
8+
pydantic>=2.5.0
99
pyevtk
1010
pyvista==0.37.0
1111
pyyaml

0 commit comments

Comments
 (0)