apteryx pushed a commit to branch core-updates-frozen-batched-changes in repository guix.
commit 1c08a9f5d6b2b93721eff37a0eadc80f33e6822d Author: Maxim Cournoyer <[email protected]> AuthorDate: Fri Oct 1 21:09:23 2021 -0400 gnu: python-sphinx: Update to 4.2.0. * gnu/packages/sphinx.scm (python-sphinx): Update to 4.2.0. --- gnu/packages/sphinx.scm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 7d7e567..5fd63a6 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Eric Bavier <[email protected]> ;;; Copyright © 2021 Vinicius Monego <[email protected]> ;;; Copyright © 2021 Hugo Lecomte <[email protected]> +;;; Copyright © 2021 Maxim Cournoyer <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,26 +57,27 @@ (define-public python-sphinx (package (name "python-sphinx") - (version "4.0.3") + (version "4.2.0") (source (origin (method url-fetch) (uri (pypi-uri "Sphinx" version)) (sha256 (base32 - "1f7vnk3g135b2zs9yq3kgrczxa91mhrlfw8243dpxsq8lbk5gwyz")))) + "19jq21py7m061v8142y2dbqrbv0adqcdjmharrdy34a432wqs1wl")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - ;; Requires Internet access. - (delete-file "tests/test_build_linkcheck.py") - (substitute* "tests/test_build_latex.py" - (("@pytest.mark.sphinx\\('latex', testroot='images'\\)") - "@pytest.mark.skip()")) - (invoke "make" "test")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Requires Internet access. + (delete-file "tests/test_build_linkcheck.py") + (substitute* "tests/test_build_latex.py" + (("@pytest.mark.sphinx\\('latex', testroot='images'\\)") + "@pytest.mark.skip()")) + (invoke "make" "test"))))))) (propagated-inputs `(("python-babel" ,python-babel) ("python-docutils" ,python-docutils)
