diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-28 16:21:02 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:04 +0100 |
| commit | d22f37ba13e2f482d775b065c033a8de38dfb0f6 (patch) | |
| tree | 2e4c666eb0219ab005a18b8a6a4ce3661396dc2a | |
| parent | 3922ccc0456c39f865c57215a98835fada628c27 (diff) | |
gnu: python-sphinx-6: Skip some problematic tests.
* gnu/packages/sphinx.scm (python-sphinx-6) [arguments] <tests-flags>:
Run tests in parallel, supported upstream. Skip 10 tests.
[native-inputs]: Add python-pytest-xdist.
[propagated-inputs]: Remove python-docutils; add python-docutils-0.19.
Change-Id: I96e7c88e6fbe195909d4c822d5e34d10985d159a
| -rw-r--r-- | gnu/packages/sphinx.scm | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 4f47bdd109..1b9219f4f5 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -181,14 +181,27 @@ sources.") (arguments (list #:test-flags - #~(list "-k" (string-join - (list - ;; These require Internet access. - "not test_latex_images" - "test_build_latex_doc[lualatex-manual]" - "est_build_latex_doc[lualatex-howto]" - ;; AssertionError: assert...list of weak references to the object... - "test_autodoc_default_options") + #~(list "--numprocesses" (number->string (parallel-job-count)) + "-k" (string-join + ;; 1818 passed, 24 skipped, 97 warnings + ;; + ;; AttributeError: module 'alabaster' has no + ;; attribute 'version' + (list "not test_theme_api" + ;; The alabaster extension used by this project + ;; needs at least Sphinx v3.4; it therefore cannot + ;; be built with this version. + "test_needs_sphinx" + ;; Various assertion errors. + "test_additional_targets_should_be_translated" + "test_additional_targets_should_not_be_translated" + "test_autodoc_default_options" + "test_html_code_role" + "test_latex_code_role" + "test_latex_images" + "test_linenothreshold" + "test_literal_include_linenos" + "test_viewcode") " and not ")) #:phases #~(modify-phases %standard-phases @@ -199,7 +212,7 @@ sources.") (propagated-inputs (list python-babel python-colorama - python-docutils + python-docutils-0.19 python-filelock python-html5lib python-imagesize @@ -256,6 +269,7 @@ sources.") python-cython python-flit-core python-pytest + python-pytest-xdist (texlive-local-tree (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre)))))) |
