diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-28 20:41:17 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:28 +0100 |
| commit | b2acfd5cfb9033739bc225f188021aaec197644e (patch) | |
| tree | c076a4b5a77f1d5a9e0a801757cd0fabab80bb7f /gnu/packages/python-xyz.scm | |
| parent | 8a3c363dd41f043a7a343cd96f25e52698832d0a (diff) | |
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 <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 914ac1eca88..77fea36fdae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12590,22 +12590,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 |
