about summary refs log tree commit diff
path: root/pkgs/development/python-modules/myst-parser
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-02-28 17:41:10 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-03 23:57:07 +0100
commitb11ba859a946c09781c0c1b7067a29b313326740 (patch)
tree6e028225fef68026c2b0af1dc437f0feab6f3ff7 /pkgs/development/python-modules/myst-parser
parent0c52a57161fd1e8bfbfb1e27a96083caf0446d43 (diff)
python310Package.myst-parser: Disable failing tests
Diffstat (limited to 'pkgs/development/python-modules/myst-parser')
-rw-r--r--pkgs/development/python-modules/myst-parser/default.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/myst-parser/default.nix b/pkgs/development/python-modules/myst-parser/default.nix
index 72631fa45c4d3..6b7e091dfcc80 100644
--- a/pkgs/development/python-modules/myst-parser/default.nix
+++ b/pkgs/development/python-modules/myst-parser/default.nix
@@ -51,7 +51,24 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  pythonImportsCheck = [ "myst_parser" ];
+  pythonImportsCheck = [
+    "myst_parser"
+  ];
+
+  disabledTests = [
+    # AssertionError due to different files
+    "test_basic"
+    "test_footnotes"
+    "test_gettext_html"
+    "test_fieldlist_extension"
+    # docutils 0.19 expectation mismatches
+    "test_docutils_roles"
+    # sphinx 6.0 expectation mismatches
+    "test_sphinx_directives"
+    # sphinx 5.3 expectation mismatches
+    "test_render"
+    "test_includes"
+  ];
 
   meta = with lib; {
     description = "Sphinx and Docutils extension to parse MyST";