From 5b6d8c1e35160d1635f8984b8c50e84e60bd6c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= Date: Fri, 15 Oct 2021 11:40:20 +0900 Subject: [PATCH v2 09/26] gnu: python-h2: Update to 4.1.0. * gnu/packages/python-web.scm (python-h2): Update to 4.1.0. [native-inputs]: Add python-hypothesis-6.23. [arguments]: Invoke pytest through `python -m` so it finds the newer python-hypothesis-6.23. [home-page]: Update to current url. Signed-off-by: Lars-Dominik Braun --- gnu/packages/python-web.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 11bb834ef9..f3f7afd80c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -934,13 +934,13 @@ (define-public python-h11 (define-public python-h2 (package (name "python-h2") - (version "3.2.0") + (version "4.1.0") (source (origin (method url-fetch) (uri (pypi-uri "h2" version)) (sha256 - (base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7")))) + (base32 "1fraip114fm1ha5w37pdc0sk8dn9pb0ck267zrwwpap7zc4clfm8")))) (build-system python-build-system) (arguments `(#:phases @@ -949,13 +949,14 @@ (define-public python-h2 (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "test"))))))) + (invoke "python" "-m" "pytest" "-vv" "test"))))))) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-hypothesis" ,python-hypothesis-6.23) + ("python-pytest" ,python-pytest))) (propagated-inputs `(("python-hpack" ,python-hpack) ("python-hyperframe" ,python-hyperframe))) - (home-page "https://github.com/python-hyper/hyper-h2") + (home-page "https://github.com/python-hyper/h2") (synopsis "HTTP/2 State-Machine based protocol implementation") (description "This module contains a pure-Python implementation of a HTTP/2 protocol -- 2.32.0