diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-12-04 13:03:49 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:34 +0100 |
| commit | 95fc451c0406741852f0e353b7cbc8e5e6d2f03a (patch) | |
| tree | 4cee2a7d88027d028f4398d530296766a773eefd /gnu | |
| parent | cca26dda1927ebad3e3c11f63bbae21e615b9cd5 (diff) | |
gnu: python-sphinx: Update to 9.0.3.
* gnu/packages/sphinx.scm (python-sphinx): Update to 9.0.3.
(python-sphinx-pytest) [#:test-flags]: New argument.
(python-myst-parser) [#:test-flags]: Ignore more tests.
Change-Id: Ia1a0bda0c11e9b1909aad224a5bb3e48737b6492
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/sphinx.scm | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 0c1a1cbaad..f68d166bb0 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -70,13 +70,13 @@ (define-public python-sphinx (package (name "python-sphinx") - (version "7.4.7") + (version "9.0.3") (source (origin (method url-fetch) (uri (pypi-uri "sphinx" version)) (sha256 - (base32 "1zlwxv9fmpypja8w1a8lj5lrzflh710ia9nwdx05nv3yxakr4br4")))) + (base32 "03rhacplvxh6rsvzhc6l1pyhmcignn41kgdfq8if5grzivhldslq")))) (build-system pyproject-build-system) (arguments (list @@ -109,6 +109,7 @@ python-packaging python-pygments python-requests + python-roman-numerals python-snowballstemmer python-sphinx-alabaster-theme python-sphinxcontrib-applehelp @@ -1102,7 +1103,13 @@ several other projects.") ;; "Currently only dot format is supported." #~(list "--ignore=tests/test_renderers/test_parse_directives.py" ;; AssertionError: FILES DIFFER: - "--deselect=tests/test_sphinx/test_sphinx_builds.py::test_includes"))) + "--deselect=tests/test_sphinx/test_sphinx_builds.py::test_includes" + ;; There are 31 assertion failures (in slightly different + ;; expected outputs) in the Sphinx related tests following the + ;; update to Sphinx 9 (see: + ;; <https://github.com/executablebooks/MyST-Parser/issues/1030>). + "--ignore=tests/test_sphinx/test_sphinx_builds.py" + "--ignore=tests/test_renderers/test_fixtures_sphinx.py"))) (native-inputs (list python-beautifulsoup4 python-flit-core @@ -1352,6 +1359,9 @@ documenting acceptable argument types and return value types of functions.") (base32 "0w16w7zjhb6pxv7py7q13882r58ly4s71l2lyns0wq6qkv1za9iw")))) (build-system pyproject-build-system) + ;; The 'test_no_transforms' test started failing with Sphinx 9 (see: + ;; <https://github.com/sphinx-extensions2/sphinx-pytest/issues/28>). + (arguments (list #:test-flags #~(list "-k" "not test_no_transforms"))) (native-inputs (list python-flit-core)) (propagated-inputs (list python-pytest python-sphinx)) (home-page "https://github.com/chrisjsewell/sphinx-pytest") |
