python3Packages.readme_renderer: relax cmarkgfm constraint

This commit is contained in:
Fabian Affolter 2022-01-06 09:56:46 +01:00
parent df6bc254d2
commit 708a15bc2b

View File

@ -4,7 +4,6 @@
, cmarkgfm
, docutils
, fetchPypi
, future
, mock
, pygments
, pytestCheckHook
@ -28,7 +27,6 @@ buildPythonPackage rec {
bleach
cmarkgfm
docutils
future
pygments
];
@ -37,6 +35,11 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "cmarkgfm>=0.5.0,<0.7.0" "cmarkgfm>=0.5.0,<1"
'';
pythonImportsCheck = [
"readme_renderer"
];