guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 3572b713c090fff9ee9a148745089bd29b3c2556
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 14 21:47:43 2025 +0000

    gnu: veusz: Update to 4.2.
    
    * gnu/packages/maths.scm (veusz): Update to 4.2.
    [inputs]: Add python-numpy.
    [propagated-inputs]: Remove python-numpy.
    [native-inputs]: Remove python-astropy and python-wheel.
    
    Change-Id: Id1258513cc7c7f0ebad71e523f23e37a59cc42ce
---
 gnu/packages/maths.scm | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 133a2b8fcb..b3beea0837 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3854,6 +3854,7 @@ ASCII text files using Gmsh's own scripting language.")
     (license license:gpl2+)))
 
 (define-public veusz
+  ;; TODO: Maybe move to (gnu packages plotutils)
   (package
     (name "veusz")
     (version "4.2")
@@ -3866,8 +3867,12 @@ ASCII text files using Gmsh's own scripting language.")
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; Tests currently fail with exception TypeError:
-      ;; calling <function version ...> returned 3.6.2, not a test
+      ;; TODO: When run with custom test backend "tests/runselftest.py":
+      ;; <...>
+      ;; qt.qpa.plugin: Could not load the Qt platform plugin
+      ;; "xcb" in "" even though it was found. This application failed to
+      ;; start because no Qt platform plugin could be
+      ;; initialized. Reinstalling the application may fix this problem.
       #:tests? #f
       #:phases
       #~(modify-phases %standard-phases
@@ -3897,21 +3902,28 @@ ASCII text files using Gmsh's own scripting language.")
                           "/lib/qt6/plugins")))))))))
     (native-inputs
      (list pkg-config
-           python-astropy
            python-setuptools
-           python-wheel
            qttools))
     (inputs
      (list bash-minimal
            ghostscript ;optional, for EPS/PS output
            python-dbus
-           python-h5py ;optional, for HDF5 data
+           python-numpy
            python-pyqt-6
            qtbase
            qtsvg
-           qtwayland))
-    (propagated-inputs
-     (list python-numpy))
+           qtwayland
+           ;;
+           ;; These are extra requirements which are listed for the reference,
+           ;; try not to include them directly and install on demand to reduce
+           ;; closure size and relax module cycles (maths<-->astronomy,
+           ;; maths<-->python-science).
+           ;;
+           ;; [optional]
+           ;; python-astropy
+           ;; python-pyemf3     ;not packaged
+           ;; python-iminuit
+           python-h5py))        ;for HDF5 data
     (home-page "https://veusz.github.io/";)
     (synopsis "Scientific plotting package")
     (description

Reply via email to