From 16b558029d376a008d89e1fdef4a623e07e939e2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Sep 2025 14:23:06 +0100 Subject: [PATCH] gnu: python-testtools-bootstrap: Simplify. * gnu/packages/check.scm (python-testtools-bootstrap): Inherit from python-testtools and make it hidden. Change-Id: I2575ade5cd4292aff4a6028c9c092437c8a8b396 --- gnu/packages/check.scm | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 32f19f4f600bd55c8e475b183e4e27e4d254a3f0..b0a44b2cbfc3e78c9da6e750fb3b3cb89c216a88 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2139,31 +2139,6 @@ command-line applications. With it you can run a script in a subprocess and see the output as well as any file modifications.") (license license:expat))) -(define-public python-testtools-bootstrap - (package - (name "python-testtools-bootstrap") - (version "2.7.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "testtools" version)) - (sha256 - (base32 - "18vy77n4ab2dvgx5ni6gfp2d0haxhh3yrkm6mih8n3zsy30vprav")))) - (build-system pyproject-build-system) - (arguments (list #:tests? #f)) - (propagated-inputs - (list python-fixtures-bootstrap python-pbr-minimal)) - (native-inputs - (list python-hatchling python-hatch-vcs - python-setuptools)) ;due to python-pbr-minimal - (home-page "https://github.com/testing-cabal/testtools") - (synopsis - "Extensions to the Python standard library unit testing framework") - (description - "This package is only for bootstrapping. Do not use this.") - (license license:psfl))) - (define-public python-testtools (package (name "python-testtools") @@ -2208,6 +2183,14 @@ provide matchers, more debugging information, and cross-Python compatibility.") (license license:expat))) +(define-public python-testtools-bootstrap + (hidden-package + (package/inherit python-testtools + (arguments + ;; To break cycle with python-fixtures. + (list #:tests? #f)) + (propagated-inputs '())))) + ;; XXX: The project is not maintained since 2015, consider to remove when ;; nothing depends on it. (define-public python-testscenarios