mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-paramz: Fix tests.
* gnu/packages/python-science.scm (python-paramz) [arguments] <test-flags>: Make them compatible with Pytest to allow some adjustments. [native-inputs]: Remove python-nose; add python-pytest. Change-Id: I66fbd374ce30e80f02fe43784740389a33783011
This commit is contained in:
parent
6abfc4a723
commit
c8bd224e07
1 changed files with 29 additions and 10 deletions
|
@ -3794,18 +3794,37 @@ it can be used for displaying many qualitatively different samples.")
|
|||
(package
|
||||
(name "python-paramz")
|
||||
(version "0.9.6")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/sods/paramz")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ywc2jzj40m6wmq227j3snxvp4434s0m1xk1abg6v6mr87pv2sa9"))))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/sods/paramz")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1ywc2jzj40m6wmq227j3snxvp4434s0m1xk1abg6v6mr87pv2sa9"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "-k"
|
||||
;; Two tests fail with error: TypeError: arrays to stack must be
|
||||
;; passed as a "sequence" type such as list or tuple.
|
||||
(string-append "not test_raveled_index"
|
||||
" and not test_regular_expression_misc")
|
||||
"paramz/tests/array_core_tests.py"
|
||||
"paramz/tests/cacher_tests.py"
|
||||
"paramz/tests/examples_tests.py"
|
||||
"paramz/tests/index_operations_tests.py"
|
||||
"paramz/tests/init_tests.py"
|
||||
"paramz/tests/lists_and_dicts_tests.py"
|
||||
"paramz/tests/model_tests.py"
|
||||
"paramz/tests/observable_tests.py"
|
||||
"paramz/tests/parameterized_tests.py"
|
||||
"paramz/tests/pickle_tests.py"
|
||||
"paramz/tests/verbose_optimize_tests.py")))
|
||||
(native-inputs
|
||||
(list python-nose
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue