diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-08-03 18:38:11 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2022-08-04 16:24:00 +0700 |
commit | a1bd4e3df7c3715acf9cc608a212d53a2896ef27 (patch) | |
tree | 2a81f48210868255a1fc1bc8d3471277ab875554 /pkgs/development/python-modules/myst-parser | |
parent | edbbd623b7d4b3179c2a5bda0f78a0f404e2614b (diff) |
python3Packages.myst-parser: relax docutils constraint
Two failing tests that expect some autogenerated URLs to use http, while the use https. Also an old path to python peps was replaced with a new path.
Diffstat (limited to 'pkgs/development/python-modules/myst-parser')
-rw-r--r-- | pkgs/development/python-modules/myst-parser/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/myst-parser/default.nix b/pkgs/development/python-modules/myst-parser/default.nix index 6358dccdb0655..e81bf763b3a85 100644 --- a/pkgs/development/python-modules/myst-parser/default.nix +++ b/pkgs/development/python-modules/myst-parser/default.nix @@ -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; { |