sharlatan pushed a commit to branch python-team
in repository guix.

commit 72733a8e8c2520e08a145ca2aff30a99ce4eb8b6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 26 20:34:48 2024 +0000

    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
---
 gnu/packages/python-web.scm | 43 +++++++++++++++++++++++++++++++++----------
 1 file changed, 33 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1e935507cc..bcbaf70f45 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

Reply via email to