summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-19 14:45:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-19 14:45:54 +0100
commitc8277ed8c2e905a87e2022329ff1c7d9d2303c25 (patch)
tree40908c61761272ff73337d2c94db80cb7b6aed6f
parent643c0dc5137bfca1ef597bf24877aa1ee7a5602b (diff)
gnu: python-librosa: Fix tests.
* gnu/packages/audio.scm (python-librosa): Use G-expressions. [native-inputs]: Remove python-wheel; add python-pytest-mpl. Change-Id: I182b8326a01081a43fa1c57c9a54d0ba01ea10ec
-rw-r--r--gnu/packages/audio.scm28
1 files changed, 14 insertions, 14 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 138f7ae730..7b0083f277 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -146,6 +146,7 @@
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -8273,10 +8274,10 @@ Home Page}.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/librosa/librosa/")
- (commit version)
- ;; For test files.
- (recursive? #true)))
+ (url "https://github.com/librosa/librosa/")
+ (commit version)
+ ;; TODO: Package test data.
+ (recursive? #true)))
(file-name (git-file-name name version))
(sha256
(base32 "065x43hx670rjrclxi4hiqxscllb16v9s7myjvg7rd5pd3y0k7sg"))))
@@ -8284,14 +8285,13 @@ Home Page}.")
(arguments
(list
#:test-flags
- ;; Ignore --mpl flag.
- '(list "-k" (string-append
- ;; Resampling tests require python-samplerate.
- "not resample"
- ;; These tests use Pooch and download data files.
- " and not example and not test_cite"
- ;; XXX assert 22050 == 31744
- " and not test_stream"))))
+ #~(list "-k" (string-append
+ ;; Resampling tests require python-samplerate.
+ "not resample"
+ ;; These tests use Pooch and download data files.
+ " and not example and not test_cite"
+ ;; XXX assert 22050 == 31744
+ " and not test_stream"))))
(propagated-inputs
(list python-audioread
python-decorator
@@ -8310,9 +8310,9 @@ Home Page}.")
(list python-matplotlib
python-packaging
python-pytest
+ python-pytest-mpl
python-resampy
- python-setuptools
- python-wheel))
+ python-setuptools))
(home-page "https://librosa.org")
(synopsis "Python module for audio and music processing")
(description