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.
This commit is contained in:
Nicolas Graves 2025-02-25 08:13:28 +01:00 committed by Andreas Enge
parent 31eb603647
commit 0165b28b86
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 17 additions and 33 deletions

View file

@ -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