From 0165b28b86c16cec3bc9d2c55ec0b225faec668d Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 25 Feb 2025 08:13:28 +0100 Subject: gnu: Remove python-rednose. This package is broken with the latest python version, and is easy to remove. * gnu/packages/check.scm (python-rednose): Delete variable. * gnu/packages/python-xyz.scm (python-sure) and * gnu/packages/web.scm (python-httpretty): [arguments]: Add 'remove-rednose-dependency in {phases}. [native-inputs]: Remove python-rednose. --- gnu/packages/python-xyz.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9f4c9a3cd1e..bb53d509fe3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27055,10 +27055,20 @@ conversion: Gamut A, B, and C.") (base32 "1jmrskj399idw1czx6dvy2zfaijnwi02b55vx979ixp7q2mnzz68")))) (build-system python-build-system) + (arguments + (list + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'remove-rednose-dependency + (lambda _ + (substitute* "setup.py" + (("'rednose'") "")) + (substitute* '("requirements.txt" "setup.cfg") + (("rednose.*") ""))))))) (propagated-inputs (list python-mock python-six)) (native-inputs - (list python-nose python-rednose)) + (list python-nose)) (home-page "https://github.com/gabrielfalcao/sure") (synopsis "Automated testing library in python for python") (description -- cgit v1.3