guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 74e0ba13de2d91189c79ccd0f26ae988550c7174 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Fri Jul 11 12:24:06 2025 +0100
gnu: python-sphinx-gallery: Update to 0.19.0. * gnu/packages/sphinx.scm (python-sphinx-gallery): Update to 0.19.0. [arguments] <tests-flags>: Skip just 2 tests. <phases>: Remove 'delete-webp-example. [propagated-inputs]: Add python-pillow and python-sphinx. [native-inputs]: Remove python-pillow and python-sphinx; add python-absl-py, python-graphviz, python-ipython, python-lxml, python-packaging, python-plotly, python-seaborn, and python-setuptools-scm. Change-Id: Ib92d09d43c38d925e542604f65ce3a2162fffccf --- gnu/packages/sphinx.scm | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 047fe121cd..09565b3e8c 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -881,49 +881,49 @@ integrate Sphinx documents in web templates and to handle searches.") (define-public python-sphinx-gallery (package (name "python-sphinx-gallery") - (version "0.14.0") + (version "0.19.0") (source (origin (method url-fetch) - (uri (pypi-uri "sphinx-gallery" version)) + (uri (pypi-uri "sphinx_gallery" version)) (sha256 - (base32 "1hj380d5bjhbzxmhjw8f8b71jy1wk8crad0g3n750m990fphljia")))) + (base32 "1crfmzl61pj308nj5q4vb98d09gpcw3bmz8jlql2wr5d819cn044")))) (build-system pyproject-build-system) (arguments (list #:test-flags - '(list "--pyargs" "sphinx_gallery" "-k" - (string-append - ;; These tests require online data. - "not test_embed_code_links_get_data" - " and not test_run_sphinx" - ;; Requires webp support - " and not test_image_formats" - ;; Needs graphviz - " and not test_rebuild" - ;; Fails because we've deleted an example file, so the numbers - ;; don't match. - " and not test_junit" - ;; AssertionError. - " and not test_embed_links_and_styles")) - #:phases - '(modify-phases %standard-phases - ;; TODO: Our version of matplotlib does not support webp. - (add-after 'unpack 'delete-webp-example - (lambda _ - (delete-file "sphinx_gallery/tests/tinybuild/examples/plot_webp.py")))))) - (propagated-inputs - (list python-jupyterlite-sphinx)) + #~(list "-k" (string-join + ;; sphinx.errors.ConfigError: 'matplotlib_animations' + ;; specifies file format: mp4; this requires the + ;; sphinxcontrib.video package. + (list "not test_dummy_image" + ;; urllib.error.URLError: <urlopen error [Errno -3] + ;; Temporary failure in name resolution> + "test_embed_code_links_get_data") + " and not ")))) (native-inputs - (list python-joblib + (list python-absl-py + python-graphviz + python-ipython + python-joblib + python-lxml + ;; python-intersphinx-registry ; not packaged yet python-matplotlib python-numpy - python-pillow + python-packaging + python-plotly python-pytest python-pytest-cov + python-seaborn python-setuptools - python-sphinx + python-setuptools-scm + ;; python-sphinxcontrib-video ; not packaged yet + ;; python-statsmodels ; python-wheel)) + (propagated-inputs + (list python-jupyterlite-sphinx + python-pillow + python-sphinx)) (home-page "https://sphinx-gallery.github.io/stable/index.html") (synopsis "Generate an examples gallery automatically") (description