summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm44
1 files changed, 0 insertions, 44 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a621d13970e..c8da8cd23d9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5906,50 +5906,6 @@ for long polling, WebSockets, and other applications that require a long-lived
5906connection to each user.") 5906connection to each user.")
5907 (license license:asl2.0))) 5907 (license license:asl2.0)))
5908 5908
5909(define-public python-tornado-5
5910 (package
5911 (inherit python-tornado)
5912 (version "5.1.1")
5913 (source
5914 (origin
5915 (method url-fetch)
5916 (uri (pypi-uri "tornado" version))
5917 (sha256
5918 (base32
5919 "02clqk2116jbnq8lnaqmdw3p52nqrd9ib59r4xz2ll43fpcmhlaf"))))
5920 (build-system pyproject-build-system)
5921 (arguments
5922 (list
5923 #:phases
5924 '(modify-phases %standard-phases
5925 (add-after 'unpack 'fix-collections
5926 (lambda _
5927 (substitute* "tornado/httputil.py"
5928 (("collections.MutableMapping")
5929 "collections.abc.MutableMapping"))))
5930 (replace 'check
5931 (lambda* (#:key tests? #:allow-other-keys)
5932 (when tests?
5933 (substitute* "tornado/test/runtests.py"
5934 (("\"error\", category=DeprecationWarning")
5935 "\"ignore\", category=DeprecationWarning")
5936 ;; Disable tests that use SSL.
5937 (("'tornado.test.simple_httpclient_test',") "")
5938 (("'tornado.test.iostream_test',") "")
5939 (("'tornado.test.httpserver_test',") "")
5940 ;; Some timeouts are triggered in these two modules
5941 (("'tornado.test.queues_test',") "")
5942 (("'tornado.test.locks_test',") ""))
5943 ;; Skip all network tests
5944 (setenv "NO_NETWORK" "1")
5945 ;; Skip timing-relevant tests
5946 (setenv "TRAVIS" "1")
5947 (invoke "python" "-m" "tornado.test.runtests"
5948 "--verbose=yes")))))))
5949 (native-inputs
5950 (list python-certifi
5951 python-setuptools))))
5952
5953;; XXX: Deprecated on <2026-01-23>. 5909;; XXX: Deprecated on <2026-01-23>.
5954(define-deprecated-package python-tornado-6 python-tornado) 5910(define-deprecated-package python-tornado-6 python-tornado)
5955 5911