~ruther/guix-local

9d106932e057db1aa9b6945d61c11b5fc031342c — Sharlatan Hellseher 1 year, 5 months ago 90fd98a
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
1 files changed, 33 insertions(+), 10 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +33 -10
@@ 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