diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-04-06 14:37:09 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:31 +0200 |
commit | b708d41795a43f83efef76cfaa6019d9c173ceb6 (patch) | |
tree | 07ab1fafff88002edd2da3306b4924297f37da90 | |
parent | fd03c6feedbf9467a6476510aa2f4b9cd7519548 (diff) | |
download | guix-b708d41795a43f83efef76cfaa6019d9c173ceb6.tar.gz guix-b708d41795a43f83efef76cfaa6019d9c173ceb6.zip |
gnu: pomegranate: Disable tests.
* gnu/packages/python-xyz.scm (pomegranate): Disable tests.
[build-system]: Switch to pyproject.
[arguments]{tests?}: Disable them.
{phases}: Remove 'check phase replacement.
[native-inputs]: Add python-setuptools, python-wheel. Remove python-nose.
Change-Id: Id3ded96a59703eae4c12ccc96aedce756a3fa07d
Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r-- | gnu/packages/python-xyz.scm | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 827d2b8448..e540e34d63 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5936,15 +5936,12 @@ a certain expected condition.") ;; Delete generated Cython C files. (snippet '(for-each delete-file (find-files "." "\\.c$"))))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list - #:phases - '(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "setup.py" "test"))))))) + ;; XXX: Update to python@3.11 broke some python-nose functionality. + ;; Tests are broken but the package itself is most likely fine. + #:tests? #f)) (propagated-inputs (list python-joblib python-networkx @@ -5953,8 +5950,9 @@ a certain expected condition.") python-scipy)) (native-inputs (list python-cython - python-nose - python-pandas)) + python-pandas + python-setuptools + python-wheel)) (home-page "https://pypi.python.org/pypi/pomegranate/") (synopsis "Graphical models library for Python") (description |