From 17e030d8c3a35ceac1dcdf1b2aad3d71e07e055e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 17 Jan 2026 23:07:35 +0000 Subject: [PATCH] gnu: python-expandvars: Update to 1.1.2. * gnu/packages/python-xyz.scm (python-expandvars): Update to 1.1.2. [phases]{fix-pytest-config}: New phase. Change-Id: Iddc35940857724379377e6a9a9a3f5e3697556f5 --- gnu/packages/python-xyz.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 489e821a489..1fc454d1219 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7581,14 +7581,24 @@ and is not compatible with JSON.") (define-public python-expandvars (package (name "python-expandvars") - (version "0.12.0") + (version "1.1.2") (source (origin (method url-fetch) (uri (pypi-uri "expandvars" version)) (sha256 - (base32 "0i6q4i8dzsax85w1l2hc7saymyh3fw43vkifh5flpkr8ayjxy6kx")))) + (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 = .*") ""))))))) (native-inputs (list python-hatchling python-pytest)) (home-page "https://pypi.org/project/expandvars/")