pydantic<3,>2

[test]
coverage==7.9.1
mypy==1.16.1
pre-commit==4.2.0
ruff==0.12.1
pytest==8.4.1
pytest-cov==6.2.1
