From e34103dd956bf209e1f4efb6df1fedbf1c886aef Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 28 Oct 2025 20:41:17 +0100 Subject: [PATCH] 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 Signed-off-by: Sharlatan Hellseher --- 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 f525a9c0231..2203269abeb 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