pydantic<3,>2

[test]
coverage==7.6.10
mypy==1.14.1
pre-commit==4.1.0
ruff==0.9.4
pytest==8.3.4
pytest-cov==6.0.0
