guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 1da3d5adcb10dc342062ee4a266e6103dc146c5f
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Jan 17 20:08:20 2026 +0100
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 <[email protected]>
---
gnu/packages/python-xyz.scm | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f2f3390f08..9e81ad83b1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7606,16 +7606,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/")