diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-17 20:08:20 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:29 +0100 |
| commit | 5949c757cd2ad4ec8b2d560ae476fbed8cd36584 (patch) | |
| tree | a644ca87e77ece7d8b7f9108c9d6a68357b094e9 | |
| parent | 126fdbd61d551b4c9425d9cd89c83517c97297a0 (diff) | |
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 <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 989b3b18b70..fc1fd28895f 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/") |
