python3Packages.space: relax pydantic version contraints

This commit is contained in:
Jonathan Ringer
2022-02-10 11:37:13 -08:00
committed by Jonathan Ringer
parent e30178e28b
commit 19e7f59a4d
@@ -64,6 +64,11 @@ buildPythonPackage rec {
langcodes
] ++ lib.optional (pythonOlder "3.8") typing-extensions;
postPatch = ''
substituteInPlace setup.cfg \
--replace "pydantic>=1.7.4,!=1.8,!=1.8.1,<1.9.0" "pydantic~=1.2"
'';
checkInputs = [
pytest
];