Skip to content

Commit

Permalink
python3Packages.myst-parser: disable sphinx sensitive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Apr 19, 2024
1 parent 70960a5 commit 75a7d93
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pkgs/development/python-modules/myst-parser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, fetchpatch
, flit-core
, pythonOlder
, defusedxml
, docutils
, jinja2
, markdown-it-py
Expand All @@ -16,6 +17,7 @@
, pytest-regressions
, sphinx-pytest
, pytestCheckHook
, pythonRelaxDepsHook
}:

buildPythonPackage rec {
Expand All @@ -40,7 +42,10 @@ buildPythonPackage rec {
})
];

nativeBuildInputs = [ flit-core ];
nativeBuildInputs = [
flit-core
pythonRelaxDepsHook
];

propagatedBuildInputs = [
docutils
Expand All @@ -54,6 +59,7 @@ buildPythonPackage rec {

nativeCheckInputs = [
beautifulsoup4
defusedxml
pytest-param-files
pytest-regressions
sphinx-pytest
Expand All @@ -64,6 +70,10 @@ buildPythonPackage rec {
"myst_parser"
];

pythonRelaxDeps = [
"docutils"
];

disabledTests = [
# AssertionError due to different files
"test_basic"
Expand All @@ -72,6 +82,9 @@ buildPythonPackage rec {
"test_fieldlist_extension"
# docutils 0.19 expectation mismatches
"test_docutils_roles"
# sphinx 7.0 expectation mismatches
"test_heading_slug_func"
"test_references_singlehtml"
# sphinx 6.0 expectation mismatches
"test_sphinx_directives"
# sphinx 5.3 expectation mismatches
Expand Down

0 comments on commit 75a7d93

Please sign in to comment.