diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-06-03 12:04:43 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-06-03 12:13:13 +0200 |
| commit | e7606e12e20474e258cc6896a22541689759c780 (patch) | |
| tree | 860debe24b610056c8176d378a7671c199eb0323 /gnu/packages/python-web.scm | |
| parent | 61fa3bfc62c9796ed5d5aabfb9f153d1b979be2a (diff) | |
gnu: Remove python-tornado-5.
* gnu/packages/python-web.scm (python-tornado-5): Delete variable.
Fixes: guix/guix#8299
Change-Id: I41dc49c2e12cc99554511ab97b104c01661bb589
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 44 |
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 | |||
| 5906 | connection to each user.") | 5906 | connection 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 | ||
