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 | |
| 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>
| -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 0c1a1cbaad5..f68d166bb03 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm | |||
| @@ -70,13 +70,13 @@ | |||
| 70 | (define-public python-sphinx | 70 | (define-public python-sphinx |
| 71 | (package | 71 | (package |
| 72 | (name "python-sphinx") | 72 | (name "python-sphinx") |
| 73 | (version "7.4.7") | 73 | (version "9.0.3") |
| 74 | (source | 74 | (source |
| 75 | (origin | 75 | (origin |
| 76 | (method url-fetch) | 76 | (method url-fetch) |
| 77 | (uri (pypi-uri "sphinx" version)) | 77 | (uri (pypi-uri "sphinx" version)) |
| 78 | (sha256 | 78 | (sha256 |
| 79 | (base32 "1zlwxv9fmpypja8w1a8lj5lrzflh710ia9nwdx05nv3yxakr4br4")))) | 79 | (base32 "03rhacplvxh6rsvzhc6l1pyhmcignn41kgdfq8if5grzivhldslq")))) |
| 80 | (build-system pyproject-build-system) | 80 | (build-system pyproject-build-system) |
| 81 | (arguments | 81 | (arguments |
| 82 | (list | 82 | (list |
| @@ -109,6 +109,7 @@ | |||
| 109 | python-packaging | 109 | python-packaging |
| 110 | python-pygments | 110 | python-pygments |
| 111 | python-requests | 111 | python-requests |
| 112 | python-roman-numerals | ||
| 112 | python-snowballstemmer | 113 | python-snowballstemmer |
| 113 | python-sphinx-alabaster-theme | 114 | python-sphinx-alabaster-theme |
| 114 | python-sphinxcontrib-applehelp | 115 | python-sphinxcontrib-applehelp |
| @@ -1102,7 +1103,13 @@ several other projects.") | |||
| 1102 | ;; "Currently only dot format is supported." | 1103 | ;; "Currently only dot format is supported." |
| 1103 | #~(list "--ignore=tests/test_renderers/test_parse_directives.py" | 1104 | #~(list "--ignore=tests/test_renderers/test_parse_directives.py" |
| 1104 | ;; AssertionError: FILES DIFFER: | 1105 | ;; AssertionError: FILES DIFFER: |
| 1105 | "--deselect=tests/test_sphinx/test_sphinx_builds.py::test_includes"))) | 1106 | "--deselect=tests/test_sphinx/test_sphinx_builds.py::test_includes" |
| 1107 | ;; There are 31 assertion failures (in slightly different | ||
| 1108 | ;; expected outputs) in the Sphinx related tests following the | ||
| 1109 | ;; update to Sphinx 9 (see: | ||
| 1110 | ;; <https://github.com/executablebooks/MyST-Parser/issues/1030>). | ||
| 1111 | "--ignore=tests/test_sphinx/test_sphinx_builds.py" | ||
| 1112 | "--ignore=tests/test_renderers/test_fixtures_sphinx.py"))) | ||
| 1106 | (native-inputs | 1113 | (native-inputs |
| 1107 | (list python-beautifulsoup4 | 1114 | (list python-beautifulsoup4 |
| 1108 | python-flit-core | 1115 | python-flit-core |
| @@ -1352,6 +1359,9 @@ documenting acceptable argument types and return value types of functions.") | |||
| 1352 | (base32 | 1359 | (base32 |
| 1353 | "0w16w7zjhb6pxv7py7q13882r58ly4s71l2lyns0wq6qkv1za9iw")))) | 1360 | "0w16w7zjhb6pxv7py7q13882r58ly4s71l2lyns0wq6qkv1za9iw")))) |
| 1354 | (build-system pyproject-build-system) | 1361 | (build-system pyproject-build-system) |
| 1362 | ;; The 'test_no_transforms' test started failing with Sphinx 9 (see: | ||
| 1363 | ;; <https://github.com/sphinx-extensions2/sphinx-pytest/issues/28>). | ||
| 1364 | (arguments (list #:test-flags #~(list "-k" "not test_no_transforms"))) | ||
| 1355 | (native-inputs (list python-flit-core)) | 1365 | (native-inputs (list python-flit-core)) |
| 1356 | (propagated-inputs (list python-pytest python-sphinx)) | 1366 | (propagated-inputs (list python-pytest python-sphinx)) |
| 1357 | (home-page "https://github.com/chrisjsewell/sphinx-pytest") | 1367 | (home-page "https://github.com/chrisjsewell/sphinx-pytest") |
