This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5177c5748c gnu: python-matplotlib-documentation: Fix build.
5177c5748c is described below

commit 5177c5748c41cfcd28f28f55551ea1cfed6fb597
Author: Yan Abu Arab <[email protected]>
AuthorDate: Sun Mar 1 21:12:40 2026 +0200

    gnu: python-matplotlib-documentation: Fix build.
    
    * gnu/packages/python-xyz.scm (python-matplotlib-documentation):
    [propagated-inputs]: Remove.
    [inputs]: Add inputs and propagated-inputs from python-matplotlib.
    [native-inputs]: Remove python-sphinx, add python-sphinx-6.
    
    Fixes: guix/guix#4637
    Merges: https://codeberg.org/guix/guix/pulls/6797
    Change-Id: I516bf89aab447c9de94feb3020b5c0972783f70f
    Reviwed-by: Hugo Buddelmeijer <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c77b3c0dd4..29eb44985c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12131,6 +12131,13 @@ toolkits.")
                 ;; symlink to it, saving about 11 MiB.
                 (symlink (string-append html "/_images")
                          (string-append info "/matplotlib-figures"))))))))
+    ;; Move all propagated inputs to inputs. *-documentation packages are
+    ;; expected to be installed as standalone leaf packages, and not as
+    ;; libraries with propagated inputs.
+    (propagated-inputs '())
+    (inputs (append
+             (package-inputs python-matplotlib)
+             (package-propagated-inputs python-matplotlib)))
     (native-inputs
      (list ffmpeg                       ;for matplotlib animation support
            graphviz
@@ -12144,7 +12151,8 @@ toolkits.")
            python-numpydoc
            python-pyyaml
            python-scipy
-           python-sphinx
+           ;; XXX: investigate how to build using a newer version of sphinx.
+           python-sphinx-6
            python-sphinx-copybutton
            python-sphinx-design
            python-sphinx-gallery

Reply via email to