From b352ce65c3fbccaa43e9e2e1ad5097a7dd6c790d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Sep 2025 12:00:32 +0100 Subject: [PATCH] gnu: python-fixtures: Update to 4.2.6. * gnu/packages/check.scm (python-fixtures): Update to 4.2.6. Don't inherit from python-fixtures-bootstrap as it's no longer required and migrate missing fields from it. [build-system]: Switch to pyproject-build-system. [arguments] : Use default 'check. [propagated-inputs]: Remove python-pbr, python-six, and python-extras. [native-inputs]: Remove python-mock; add python-hatch-vcs and python-hatchling. Change-Id: I46eb61748ee345cd5e51056070d2210f2d787bb8 --- gnu/packages/check.scm | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 085119a6603515fa24a7a3528a82c9707e0a6859..ca5b75b0961b781b520a32877f4b0c3c1b0179eb 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2341,25 +2341,25 @@ python-fixtures package instead.") (define-public python-fixtures (package - (inherit python-fixtures-bootstrap) (name "python-fixtures") - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "testtools.run" - "fixtures.test_suite"))))))) - (propagated-inputs - ;; Fixtures uses pbr at runtime to check versions, etc. - (list python-pbr python-six python-extras)) + (version "4.2.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fixtures" version)) + (sha256 + (base32 "02y92rnl2vyjcbc31mcpxkxjky6g9hjb2cxy5xkkl1j5n4ajniwm")))) + (build-system pyproject-build-system) (native-inputs - `(("python-mock" ,python-mock) - ("python-testtools" ,python-testtools-bootstrap))) + (list python-hatch-vcs + python-hatchling + python-testtools-bootstrap)) + (home-page "https://github.com/testing-cabal/fixtures") + (synopsis "Python test fixture library") (description "Fixtures provides a way to create reusable state, useful when writing -Python tests."))) +Python tests.") + (license (list license:bsd-3 license:asl2.0)))) ; at user's option (define-public python-testrepository-bootstrap (package