GNU bug report logs -
#65037
Fix python-daemon, Trezor support
Previous Next
Reported by: Attila Lendvai <attila <at> lendvai.name>
Date: Thu, 3 Aug 2023 12:54:01 UTC
Severity: normal
Done: Guillaume Le Vaillant <glv <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/python-xyz.scm (python-daemon)[arguments]<adjust-tests>: Drop
workaround for hasattr. Also disable “test_exception_types” and
“test_exception_instance”.
---
gnu/packages/python-xyz.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0296b55a8b..20e19ce4f2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5545,7 +5545,7 @@ (define-public python-joblib
(define-public python-daemon
(package
(name "python-daemon")
- (version "2.3.0")
+ (version "3.0.1")
(source
(origin
(method git-fetch)
@@ -5554,22 +5554,22 @@ (define-public python-daemon
(commit (string-append "release/" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ysynb1m9vsww2nmhcypkk08xwifc3gw5yq10h1a1i11yn27w4y6"))))
+ (base32 "0kc7ig5nlbvc3xzkpiw4jv2gvi5c05fa7qa3mi6qwxa6bx8bxjl8"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'adjust-tests
(lambda _
- ;; Drop use of testtools.helpers.safe_hasattr which has
- ;; been removed in favor of hasattr.
- (substitute* "test/test_metadata.py"
- (("testtools\\.helpers\\.safe_hasattr")
- "hasattr"))
- ;; FIXME: Determine why test fails
+ ;; FIXME: Determine why these tests fail
(substitute* "test/test_daemon.py"
(("test_detaches_process_context")
- "skip_test_detaches_process_context")))))))
+ "skip_test_detaches_process_context"))
+ (substitute* "test/scaffold.py"
+ (("test_exception_types")
+ "skip_test_exception_types")
+ (("test_exception_instance")
+ "skip_test_exception_instance")))))))
(propagated-inputs
(list python-lockfile))
(native-inputs
--
2.40.1
This bug report was last modified 1 year and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.