python3.pkgs.pygls: unpin pydantic

This commit is contained in:
Doron Behar
2022-01-11 09:57:12 -08:00
committed by Jonathan Ringer
parent 2d9eea6d76
commit 34c1ae49a7
@@ -29,6 +29,12 @@ buildPythonPackage rec {
pydantic
typeguard
];
# We don't know why an early version of pydantic is required, see:
# https://github.com/openlawlibrary/pygls/issues/221
preBuild = ''
substituteInPlace setup.cfg \
--replace "pydantic>=1.7,<1.9" "pydantic"
'';
checkInputs = [
mock