guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit e4e0856bc20c2567c74e089582eeb673c8c58510
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jan 17 23:07:35 2026 +0000

    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 1e9e37b6c9..3365da4623 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/";)

Reply via email to