aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-26 20:34:48 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:28:38 +0000
commit9d106932e057db1aa9b6945d61c11b5fc031342c (patch)
tree01dc3fe6b518706b622efa823f9b9e51daa14d3d /gnu/packages/python-web.scm
parent90fd98affd154094beb5896d7e2ae0a69a248701 (diff)
downloadguix-9d106932e057db1aa9b6945d61c11b5fc031342c.tar.gz
guix-9d106932e057db1aa9b6945d61c11b5fc031342c.zip
gnu: python-aioquic: Update to 1.2.0.
* gnu/packages/python-web.scm (python-aioquic): Update to 1.2.0. Adjust indentation. [arguments]<test-flags>: Disable 3 failing tests. [propagated-inputs]: Add python-service-identity. [native-inputs]: Add nss-certs-for-test. Change-Id: I55b2450457305acca6c2858394fe5221a541fbae
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm43
1 files changed, 33 insertions, 10 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5b8d798a7d..6cb33f8305 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -631,18 +631,41 @@ using @url{https://github.com/saghul/pycares,pycares}.")
(define-public python-aioquic
(package
(name "python-aioquic")
- (version "0.9.21")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "aioquic" version))
- (sha256
- (base32
- "1xbfa4gmlmyj6bihdl5p4mr7nd6z79rfi92wcqkmcy4f643frivr"))))
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aioquic" version))
+ (sha256
+ (base32 "16bigrn5b46c7nmpzxhnlhh4y03hwc7dbd0mi5f8r53i7yxn64pr"))))
(build-system pyproject-build-system)
- (native-inputs (list python-pytest python-setuptools python-wheel))
- (inputs (list openssl))
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ ;; AssertionError: AlertBadCertificate not raised
+ (list "not test_verify_subject_no_subjaltname"
+ ;; AttributeError: module
+ ;; 'service_identity.cryptography' has no attribute
+ ;; 'extract_patterns'
+ "test_verify_subject_with_subjaltname"
+ ;; AttributeError: module
+ ;; 'service_identity.cryptography' has no attribute
+ ;; 'extract_patterns'
+ "test_verify_subject_with_subjaltname_ipaddress")
+ " and not "))))
+ (native-inputs
+ (list nss-certs-for-test
+ python-pytest
+ python-setuptools
+ python-wheel))
+ (inputs
+ (list openssl))
(propagated-inputs
- (list python-certifi python-pylsqpack python-pyopenssl))
+ (list python-certifi
+ python-pylsqpack
+ python-pyopenssl
+ python-service-identity))
(home-page "https://github.com/aiortc/aioquic")
(synopsis "QUIC and HTTP3 implementation in Python")
(description