GNU bug report logs -
#77575
[PATCH python-team 00/21] More patches
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Sun, 6 Apr 2025 12:34:02 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* 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.
---
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 ebcb30a611..d457d89de7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5925,15 +5925,12 @@ (define-public python-pomegranate
;; 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 <at> 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 @@ (define-public python-pomegranate
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
--
2.49.0
This bug report was last modified 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.