From 5949c757cd2ad4ec8b2d560ae476fbed8cd36584 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 17 Jan 2026 20:08:20 +0100 Subject: gnu: python-expandvars: Simplify. * gnu/packages/python-xyz.scm (python-expandvars): [arguments]<#:phases>: Drop them. <#:test-flags>: Add flag to ignore configuration that is too old for pytest@9 compatiblity. Change-Id: I1aed3c1c60110cf39262686a235eccc0f570e41e Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 989b3b18b7..fc1fd28895 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7635,16 +7635,7 @@ and is not compatible with JSON.") (sha256 (base32 "1mviiwv5vgglswxrcdd1z978masjgwkd2pcidcsrmaannyvj4n3c")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-pytest-config - (lambda _ - (substitute* "pyproject.toml" - ;; addopts = ["--cov", "--cov-report=html", - ;; "--cov-fail-under=100"] - (("addopts = .*") ""))))))) + (arguments (list #:test-flags #~(list "-o" "addopts=''"))) (native-inputs (list python-hatchling python-pytest)) (home-page "https://pypi.org/project/expandvars/") -- cgit v1.3