guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 3aeec64b4d0ad6b9e146596e0536540b29ddaa72
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jun 26 00:16:48 2025 +0100
gnu: python-hdmedians: Adjust test backend.
* gnu/packages/statistics.scm (python-hdmedians) [arguments]
<test-flags>: Provide "--pyargs" option to tests against compiled
module.
<phases>: Remove 'build-extensions.
[native-inputs]: Remove python-nose; add python-pytest.
Change-Id: Iac0096cceec48d560e3a3e7d93d0ad8915377014
---
gnu/packages/statistics.scm | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9770e73f52..2f5736c76e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1104,15 +1104,14 @@ correlated samples from Markov Chain Monte Carlo
(MCMC).")
(build-system pyproject-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-before 'check 'build-extensions
- (lambda _
- ;; Cython extensions have to be built before running the tests.
- (invoke "python" "setup.py" "build_ext" "--inplace"))))))
- (propagated-inputs (list python-cython python-numpy python-setuptools
- python-wheel))
- (native-inputs (list python-nose))
+ #:test-flags #~(list "--pyargs" "hdmedians")))
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs
+ (list python-cython
+ python-numpy
+ python-setuptools
+ python-wheel))
(home-page "http://github.com/daleroberts/hdmedians")
(synopsis "High-dimensional medians")
(description "Various definitions for a high-dimensional median exist and