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

commit ac5f9572fbece24a5873a1195f86553e2965703f
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 20:41:17 2025 +0100

    gnu: python-multidict: Update to 6.7.0.
    
    * gnu/packages/python-xyz.scm (python-multidict): Update to 6.7.0.
    [source]: Switch to git-fetch.
    [arguments]<#:test-flags>: Ignore benchmarks.
    <#:phases>: Add 'fix-pytest-config.
    [native-inputs]: Remove python-pytest-cov and python-wheel.  Add
    python-objgraph and python-psutil.
    [description]: Improve style.
    
    Change-Id: Ifa9e724162fac24cd83523f92ab66e36bdceb2d8
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 73f0211b66..0c914c309e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12552,22 +12552,39 @@ e.g. copy examples, fetch data, etc.")
 (define-public python-multidict
   (package
     (name "python-multidict")
-    (version "6.1.0")
+    (version "6.7.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "multidict" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/aio-libs/multidict/";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0jlgjpclkh5g6vr1danl6alz0cza2jlzdqh3q03d4s8ckfzjxbi2"))))
+        (base32 "1rcd2vi4837ahb6nyi0vxhvvzaa7bpc7zpg0xynbdv8qgif98j1l"))))
     (build-system pyproject-build-system)
-    (propagated-inputs (list python-typing-extensions))
+    (arguments
+     (list
+      ;; tests: 1395 passed
+      #:test-flags
+      #~(list "--ignore-glob=tests/test_*_benchmarks.py")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "pytest.ini"
+                (("-p pytest_cov") "")
+                (("--cov.*") "")))))))
     (native-inputs
-     (list python-pytest python-pytest-cov python-setuptools python-wheel))
+     (list python-objgraph
+           python-psutil
+           python-pytest
+           python-setuptools))
     (home-page "https://github.com/aio-libs/multidict/";)
     (synopsis "Multidict implementation")
-    (description "Multidict is dict-like collection of key-value pairs
-where key might be occurred more than once in the container.")
+    (description
+     "Multidict is dict-like collection of key-value pairs where key might be
+occurred more than once in the container.")
     (license license:asl2.0)))
 
 (define-public python-orderedmultidict

Reply via email to