Merge pull request #153698 from fabaff/fix-readme-render

python3Packages.readme_renderer: relax cmarkgfm constraint
This commit is contained in:
Fabian Affolter 2022-01-09 10:31:38 +01:00 committed by GitHub
commit f26a811f8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"
];