guix_mirror_bot pushed a commit to branch master in repository guix. commit 90b43a23338ad5f1c545f6c616c2580eaa2811bf Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Fri Sep 26 23:10:26 2025 +0100
gnu: python-attr: Fix tests. * gnu/packages/python-xyz.scm (python-attr)[arguments] <test-backend>: Use 'custom. <test-flags>: Provide test script as seen in <tox.ini>. [native-inputs]: Remove python-wheel. Change-Id: Iee70e41ca607f0200ac2387fd62e01a2a7b5e49e --- gnu/packages/python-xyz.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 03d5097058..7f0bf20afb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31004,6 +31004,7 @@ module.") (properties '((upstream-name . "Wikidata"))) (license license:gpl3+))) +;; XXX: Not maintained since 2022, leaf package. (define-public python-attr (package (name "python-attr") @@ -31015,8 +31016,11 @@ module.") (sha256 (base32 "1x2627x0n2rxx8wib4cksbjjnncff8finq97k37dq70qd2kvrvhw")))) (build-system pyproject-build-system) + (arguments + (list #:test-backend #~'custom + #:test-flags #~(list "-c" "import dry_attr; dry_attr.test()"))) (native-inputs - (list python-setuptools python-wheel)) + (list python-setuptools)) (home-page "https://github.com/denis-ryzhkov/attr") (synopsis "Decorator for attributes of target function or class") (description "Simple decorator to set attributes of target function or