From 90b43a23338ad5f1c545f6c616c2580eaa2811bf Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 26 Sep 2025 23:10:26 +0100 Subject: [PATCH] gnu: python-attr: Fix tests. * gnu/packages/python-xyz.scm (python-attr)[arguments] : Use 'custom. : Provide test script as seen in . [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 03d5097058870a27e91ecc27ca7d9ead69d3befc..7f0bf20afb39ab8f4c2071bca687f8f64107ad21 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