guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b673bc45187d2991c4e7db0db19d1d5af33c9fa0
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Wed Dec 31 20:40:06 2025 +0100

    gnu: python-whisper: Update to 1.1.10.
    
    * gnu/packages/monitoring.scm (python-whisper): Update to 1.1.10.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Add remove-python-six-dependency phase.
    [native-inputs]: Remove python-six; add python-pytest and python-setuptools.
    
    Change-Id: I218415bfc0283bc05ed73d080885328702201b37
    Signed-off-by: Danny Milosavljevic <[email protected]>
---
 gnu/packages/monitoring.scm | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 79e1298252..37000f8b68 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -489,16 +489,30 @@ network/disk rates.")
 (define-public python-whisper
   (package
     (name "python-whisper")
-    (version "1.1.8")
+    (version "1.1.10")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "whisper" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/graphite-project/whisper";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1bk29w09zcpsv8hp0g0al7nwrxa07z0ycls3mbh83wfavk83aprl"))))
-    (build-system python-build-system)
-    (native-inputs (list python-six))
+         "182phj3z3mxpbla6m2f0pahyvqfn0jdblprvk6xwx39nc939nw0a"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-python-six-dependency
+            (lambda _
+              (substitute* (find-files "." "\\.py$")
+                (("'six'") "")          ; dependency in setup.py
+                (("six\\.moves") "io")
+                (("from six import assertRegex") "")
+                (("assertRegex") ""))))))) ; effectively disable test
+    (native-inputs (list python-pytest python-setuptools))
     (home-page "https://graphiteapp.org/";)
     (synopsis "Fixed size round-robin style database for Graphite")
     (description "Whisper is one of three components within the Graphite

Reply via email to