guix_mirror_bot pushed a commit to branch python-team in repository guix. commit afc9a37419f48eb38dd5b8d5640b89490aedc267 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Fri Jul 11 10:55:57 2025 +0100
gnu: Remove python-sphinx-5. Sphinx@5 is no longer required, fails to build. * gnu/packages/sphinx.scm (python-sphinx-5): Delete variable. Change-Id: I76ac2ced2c652ca1b313d246610919ccee5588f2 --- gnu/packages/sphinx.scm | 105 ------------------------------------------------ 1 file changed, 105 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index b8ed24a0c3..a79017952e 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -273,111 +273,6 @@ sources.") (texlive-local-tree (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre)))))) -(define-public python-sphinx-5 - (package - (inherit python-sphinx) - (version "5.3.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "Sphinx" version)) - (sha256 - (base32 - "1dclwwz5rsvlw5rzyad1ar7i0zh4csni6jfp0lyc37zzm7h6s0ji")))) - (arguments - (list - #:test-flags - ;; These require Internet access. - '(list "--ignore=tests/test_build_linkcheck.py" - "-k" - (string-append - "not test_latex_images" - ;; XXX: Not clear why this fails with a version comparison - ;; failure. - " and not test_needs_sphinx" - ;; This fails on some machines with the failed assertion - ;; '5:11:17\u202fAM' == '5:11:17 AM'. - " and not test_format_date" - ;; This is a harmless failure. The expected output looks for a - ;; long string that happens to contain a literal space - ;; character, but in the actual output the space character is - ;; wrapped in <span class="w"> </span>. - " and not test_viewcode" - ;; These fail with pygments 2.10+. They are harmless. - " and not test_additional_targets_should_not_be_translated" - " and not test_additional_targets_should_be_translated" - ;; As in Sphinx@6: - ;; AssertionError: assert...list of weak references to the object... - " and not test_autodoc_default_options")) - #:phases - '(modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda _ - ;; for test_cython - (setenv "HOME" "/tmp")))))) - (propagated-inputs - (list python-babel - python-colorama - python-docutils - python-filelock - python-html5lib - python-imagesize - python-importlib-metadata - python-jinja2 - python-packaging - python-pygments - python-requests - python-snowballstemmer - python-sphinx-alabaster-theme - python-sphinxcontrib-applehelp - python-sphinxcontrib-devhelp - python-sphinxcontrib-htmlhelp - python-sphinxcontrib-jsmath - python-sphinxcontrib-qthelp - python-sphinxcontrib-serializinghtml - python-sphinxcontrib-websupport - python-types-requests - - ;; The Sphinx LaTeX library '\RequirePackage' or \\usepackage - ;; these: - texlive-scheme-basic ;for a valid TeX Live tree - texlive-anyfontsize - texlive-capt-of - texlive-cm-super - texlive-cmap - texlive-etoolbox - texlive-fancyvrb - texlive-float - texlive-fncychap - texlive-fontspec - texlive-framed - texlive-luatex85 - texlive-luatexbase - texlive-needspace - texlive-parskip - texlive-polyglossia - texlive-preview - texlive-tabulary - texlive-tex-gyre - texlive-titlesec - texlive-upquote - texlive-varwidth - texlive-wrapfig - texlive-xcolor)) - (native-inputs - (list fontconfig - font-gnu-freefont - ;; imagemagick is added for "convert". The store item does not - ;; retain a reference to imagemagick, so it should be safe to use - ;; 'imagemagick/stable' instead of 'imagemagick'. This is enforced - ;; by the '#:disallowed-references' above. - imagemagick/stable - python-cython - python-flit-core - python-pytest - (texlive-local-tree - (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre)))))) - (define-public python-sphinxcontrib-apidoc (package (name "python-sphinxcontrib-apidoc")