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