From 0620f182e092af3bd17d09b5e055229f57ff08f3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 26 Jan 2026 20:13:03 +0000 Subject: [PATCH] gnu: python-nose: Deprecate in favor of python-pynose. * gnu/packages/check.scm (python-nose): Deprecate variable. Fixes: guix/guix#5111 Change-Id: I80445a5ed438d800aed116eef88f4df65d3b306b --- gnu/packages/check.scm | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index f6d05d334f..5dbab9a1e9 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1523,30 +1523,10 @@ have been used. This library is now part of Python (since Python 3.3), available via the @code{unittest.mock} module.") (license license:expat))) +;; XXX: Deprecated on <2026-01-26>. ;;; This package is unmaintained (see the note at the top of doc/index.rst). -(define-public python-nose - (package - (name "python-nose") - (version "1.3.7") - (source - (origin - (method url-fetch) - (uri (pypi-uri "nose" version)) - (sha256 - (base32 - "164a43k7k2wsqqk1s6vavcdamvss4mz0vd6pwzv2h9n8rgwzxgzi")))) - (build-system python-build-system) - (arguments - '(#:tests? #f - #:phases (modify-phases %standard-phases - (add-after 'unpack 'invoke-2to3 - (lambda _ - (invoke "2to3" "-w" ".")))))) - (home-page "https://readthedocs.org/docs/nose/") - (synopsis "Python testing library") - (description - "Nose extends the unittest library to make testing easier.") - (license license:lgpl2.0+))) +;;; Pynose is actively maintained successor of Nose tests runner. +(define-deprecated/public-alias python-nose python-pynose) (define-public python-nose2 (package