andreas pushed a commit to branch python-team in repository guix. commit 09bdebb5711389059cc7b904a2a2737367b0b5ed Author: Nicolas Graves <ngra...@ngraves.fr> AuthorDate: Sun Apr 6 14:37:09 2025 +0200
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 <st...@futurile.net> --- gnu/packages/python-xyz.scm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a5b1355c26..41da6ebc08 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5925,15 +5925,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 @@ -5942,8 +5939,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