diff --git a/pkgs/development/python-modules/rstcheck-core/default.nix b/pkgs/development/python-modules/rstcheck-core/default.nix index a867a9434820..b296f5dc168d 100644 --- a/pkgs/development/python-modules/rstcheck-core/default.nix +++ b/pkgs/development/python-modules/rstcheck-core/default.nix @@ -47,7 +47,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"' + --replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"' \ + --replace 'docutils = ">=0.7, <0.19"' 'docutils = ">=0.7"' ''; pythonImportsCheck = [