gnu: python-hpack: Update to 4.1.0.

* gnu/packages/python-web.scm (python-hpack): Update to 4.1.0.
[native-inputs]: Add python-setuptools.

Change-Id: I7a99bea38de197cbe98750cf6910b0f70d286cce
This commit is contained in:
Sharlatan Hellseher 2025-07-31 16:59:17 +01:00
parent 7af0a21b95
commit a59e2c863c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2952,7 +2952,7 @@ into HTTP/2 frames.")
(define-public python-hpack
(package
(name "python-hpack")
(version "4.0.0")
(version "4.1.0")
(source
(origin
;; PyPI tarball is missing some files necessary for the tests.
@ -2962,18 +2962,10 @@ into HTTP/2 frames.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "11qdayvz5a8zlzdcdm37f2z1fgnl67pz6j8xj2dz5rfa5lds29yq"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv" "test")))))))
(base32 "1kgbx38p3a48iz914dqbx7av750a3s3x5kj3rvpcbh23ah75zg5x"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest))
(list python-pytest python-setuptools))
(home-page "https://hyper.rtfd.org")
(synopsis "Pure-Python HPACK header compression")
(description