guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 8f5576bc7cefb84ad58f752eecdaf88b8a25b510
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jun 28 16:21:02 2025 +0100

    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
---
 gnu/packages/sphinx.scm | 32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 1118e00acd..d7f8320d61 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))))))
 

Reply via email to