python3.pkgs.pygls: unpin pydantic

This commit is contained in:
Doron Behar 2022-01-10 19:21:06 +02:00 committed by Jonathan Ringer
parent 2d9eea6d76
commit 34c1ae49a7

View file

@ -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