Merge pull request #185103 from flokli/myst-parser-fix-docutils-0.19

This commit is contained in:
Martin Weinelt 2022-08-04 11:37:44 +02:00 committed by GitHub
commit fca8bc8426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,11 @@ buildPythonPackage rec {
sha256 = "sha256-GEtrC7o5YnkuvBfQQfhG5P74QMiHz63Fdh1cC/r5CF0=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "docutils>=0.15,<0.19" "docutils>=0.15"
'';
format = "flit";
nativeBuildInputs = [ flit-core ];
@ -60,6 +65,8 @@ buildPythonPackage rec {
"test_footnotes"
"test_gettext_html"
"test_fieldlist_extension"
# docutils 0.19 expectation mismatches
"test_docutils_roles"
];
meta = with lib; {