[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/18: gnu: python-sphinx: Update to 5.3.0.
From: |
guix-commits |
Subject: |
04/18: gnu: python-sphinx: Update to 5.3.0. |
Date: |
Mon, 26 Feb 2024 15:43:21 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 1571130264b79123a77946365020e90f722c7d75
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jul 28 00:18:46 2023 +0200
gnu: python-sphinx: Update to 5.3.0.
* gnu/packages/sphinx.scm (python-sphinx): Update to 5.3.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom check phase; add pre-check phase.
[propagated-inputs]: Add python-colorama, python-filelock, python-flake8,
python-html5lib, python-isort, python-mypy, python-sphinxcontrib-websupport,
and python-types-requests.
[native-inputs]: Remove python-html5lib; add python-flit-core.
---
gnu/packages/sphinx.scm | 46 +++++++++++++++++++++++++++++-----------------
1 file changed, 29 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 12a5350094..d58111afdb 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -65,34 +65,44 @@
(define-public python-sphinx
(package
(name "python-sphinx")
- (version "5.1.1")
+ (version "5.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Sphinx" version))
(sha256
(base32
- "12cdy3m5c09lpf2bbxzbhm5v5y9fk7jgm94qrzggpq86waj28cms"))))
- (build-system python-build-system)
+ "1dclwwz5rsvlw5rzyad1ar7i0zh4csni6jfp0lyc37zzm7h6s0ji"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (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()"))
- (setenv "HOME" "/tmp") ;for test_cython
- (invoke "make" "test")))))))
+ (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"))
+ #: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-jinja2
+ python-filelock
+ python-flake8
+ python-html5lib
python-imagesize
python-importlib-metadata
+ python-isort
+ python-jinja2
+ python-mypy
python-packaging
python-pygments
python-requests
@@ -104,6 +114,8 @@
python-sphinxcontrib-jsmath
python-sphinxcontrib-qthelp
python-sphinxcontrib-serializinghtml
+ python-sphinxcontrib-websupport
+ python-types-requests
;; The Sphinx LaTeX library '\RequirePackage' or \\usepackage
;; these:
@@ -137,7 +149,7 @@
(native-inputs
(list imagemagick ;for "convert"
python-cython
- python-html5lib
+ python-flit-core
python-pytest))
(home-page "https://www.sphinx-doc.org")
(synopsis "Python documentation generator")
- branch python-team created (now f9bbdb99cb), guix-commits, 2024/02/26
- 01/18: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/02/26
- 03/18: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/02/26
- 06/18: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/02/26
- 02/18: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/02/26
- 07/18: gnu: criu: Remove temporary workaround., guix-commits, 2024/02/26
- 09/18: guix: toml: Add TOML parser., guix-commits, 2024/02/26
- 10/18: build-system/pyproject: Use TOML parser., guix-commits, 2024/02/26
- 11/18: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/02/26
- 08/18: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/02/26
- 04/18: gnu: python-sphinx: Update to 5.3.0.,
guix-commits <=
- 05/18: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/02/26
- 12/18: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/02/26
- 15/18: gnu: Add missing import., guix-commits, 2024/02/26
- 14/18: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/02/26
- 17/18: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/02/26
- 16/18: gnu: Add missing import (again)., guix-commits, 2024/02/26
- 13/18: doc: Document new options for pyproject-build-system., guix-commits, 2024/02/26
- 18/18: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/02/26