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

commit 0d9f2b4405b403a771ac0201607e08e1775efb5a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Nov 23 13:32:24 2024 +0000

    gnu: python-tornado-6: Update to 6.4.2.
    
    * gnu/packages/python-web.scm (python-tornado-6): Update to 6.4.2.
    [native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
    
    Change-Id: I4338745b18eec94f0f492b80b1d5b99f69a37085
---
 gnu/packages/python-web.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 00801a1fe8..65dee67da9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2746,25 +2746,24 @@ connection to each user.")
 (define-public python-tornado-6
   (package
     (name "python-tornado")
-    (version "6.2")
+    (version "6.4.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "tornado" version))
        (sha256
-        (base32
-         "04rwzjfqa31ajz8vvkfcsp1539m8n960msnppxkcckp8plch8qwv"))))
-    (build-system python-build-system)
+        (base32 "02v2mlvr58xg0l0gh08nswl53z73wkf23sziggypk63ffjsdbflj"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (setenv "ASYNC_TEST_TIMEOUT" "25")   ; Like in tox.ini.
-               (invoke "python" "-m" "tornado.test.runtests")))))))
+     (list
+      #:test-flags
+      ;; AttributeError: 'TestIOStreamWebMixin' object has no attribute 
'io_loop'
+      #~(list "--ignore=tornado/test/iostream_test.py")))
     (native-inputs
-     (list python-certifi))
+     (list python-certifi
+           python-pytest
+           python-setuptools
+           python-wheel))
     (home-page "https://www.tornadoweb.org/";)
     (synopsis "Python web framework and asynchronous networking library")
     (description

Reply via email to