pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-tornado
Module Name: pkgsrc
Committed By: adam
Date: Sat Feb 5 09:00:25 UTC 2022
Modified Files:
pkgsrc/www/py-tornado: Makefile PLIST distinfo
Log Message:
py-tornado: updated to 6.1
What’s new in Tornado 6.1.0
Oct 30, 2020
Deprecation notice
This is the last release of Tornado to support Python 3.5. Future versions will require Python 3.6 or newer.
General changes
Windows support has been improved. Tornado is now compatible with the proactor event loop (which became the default in Python 3.8) by automatically falling back to running a selector in a second
thread. This means that it is no longer necessary to explicitly configure a selector event loop, although doing so may improve performance. This does not change the fact that Tornado is significantly
less scalable on Windows than on other platforms.
Binary wheels are now provided for Windows, MacOS, and Linux (amd64 and arm64).
tornado.gen
coroutine now has better support for the Python 3.7+ contextvars module. In particular, the ContextVar.reset method is now supported.
tornado.http1connection
HEAD requests to handlers that used chunked encoding no longer produce malformed output.
Certain kinds of malformed gzip data no longer cause an infinite loop.
tornado.httpclient
Setting decompress_response=False now works correctly with curl_httpclient.
Mixing requests with and without proxies works correctly in curl_httpclient (assuming the version of pycurl is recent enough).
A default User-Agent of Tornado/$VERSION is now used if the user_agent parameter is not specified.
After a 303 redirect, tornado.simple_httpclient always uses GET. Previously this would use GET if the original request was a POST and would otherwise reuse the original request method. For
curl_httpclient, the behavior depends on the version of libcurl (with the most recent versions using GET after 303 regardless of the original method).
Setting request_timeout and/or connect_timeout to zero is now supported to disable the timeout.
tornado.httputil
Header parsing is now faster.
parse_body_arguments now accepts incompletely-escaped non-ASCII inputs.
tornado.iostream
ssl.CertificateError during the SSL handshake is now handled correctly.
Reads that are resolved while the stream is closing are now handled correctly.
tornado.log
When colored logging is enabled, logging.CRITICAL messages are now recognized and colored magenta.
tornado.netutil
EADDRNOTAVAIL is now ignored when binding to localhost with IPv6. This error is common in docker.
tornado.platform.asyncio
AnyThreadEventLoopPolicy now also configures a selector event loop for these threads (the proactor event loop only works on the main thread)
tornado.platform.auto
The set_close_exec function has been removed.
tornado.testing
ExpectLog now has a level argument to ensure that the given log level is enabled.
tornado.web
RedirectHandler.get now accepts keyword arguments.
When sending 304 responses, more headers (including Allow) are now preserved.
reverse_url correctly handles escaped characters in the regex route.
Default Etag headers are now generated with SHA-512 instead of MD5.
tornado.websocket
The ping_interval timer is now stopped when the connection is closed.
websocket_connect now raises an error when it encounters a redirect instead of hanging.
For older versions look here: https://www.tornadoweb.org/en/stable/releases.html
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-tornado/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-tornado/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-tornado/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-tornado/Makefile
diff -u pkgsrc/www/py-tornado/Makefile:1.29 pkgsrc/www/py-tornado/Makefile:1.30
--- pkgsrc/www/py-tornado/Makefile:1.29 Tue Jan 4 20:55:36 2022
+++ pkgsrc/www/py-tornado/Makefile Sat Feb 5 09:00:25 2022
@@ -1,37 +1,21 @@
-# $NetBSD: Makefile,v 1.29 2022/01/04 20:55:36 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2022/02/05 09:00:25 adam Exp $
-DISTNAME= tornado-5.1.1
+DISTNAME= tornado-6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tornado/}
MAINTAINER= imil%NetBSD.org@localhost
-HOMEPAGE= http://www.tornadoweb.org/
+HOMEPAGE= https://www.tornadoweb.org/
COMMENT= Fast and non-blocking web framework
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-curl>=7.18.2:../../www/py-curl
-REPLACE_PYTHON+= setup.py
-REPLACE_PYTHON+= tornado/*.py
-REPLACE_PYTHON+= tornado/platform/*.py
-REPLACE_PYTHON+= tornado/test/*.py
+PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${PYTHONBIN} -m tornado.test.runtests
-.include "../../lang/python/pyversion.mk"
-
-PLIST_VARS+= requires
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-backports_abc>=0.4:../../devel/py-backports_abc
-DEPENDS+= ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname
-DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
-DEPENDS+= ${PYPKGPREFIX}-singledispatch>0:../../devel/py-singledispatch
-PLIST.requires= yes
-.endif
-
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-tornado/PLIST
diff -u pkgsrc/www/py-tornado/PLIST:1.15 pkgsrc/www/py-tornado/PLIST:1.16
--- pkgsrc/www/py-tornado/PLIST:1.15 Fri Aug 31 09:51:06 2018
+++ pkgsrc/www/py-tornado/PLIST Sat Feb 5 09:00:25 2022
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.15 2018/08/31 09:51:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2022/02/05 09:00:25 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.requires}${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/tornado/__init__.py
${PYSITELIB}/tornado/__init__.pyc
@@ -67,39 +66,16 @@ ${PYSITELIB}/tornado/platform/__init__.p
${PYSITELIB}/tornado/platform/asyncio.py
${PYSITELIB}/tornado/platform/asyncio.pyc
${PYSITELIB}/tornado/platform/asyncio.pyo
-${PYSITELIB}/tornado/platform/auto.py
-${PYSITELIB}/tornado/platform/auto.pyc
-${PYSITELIB}/tornado/platform/auto.pyo
${PYSITELIB}/tornado/platform/caresresolver.py
${PYSITELIB}/tornado/platform/caresresolver.pyc
${PYSITELIB}/tornado/platform/caresresolver.pyo
-${PYSITELIB}/tornado/platform/common.py
-${PYSITELIB}/tornado/platform/common.pyc
-${PYSITELIB}/tornado/platform/common.pyo
-${PYSITELIB}/tornado/platform/epoll.py
-${PYSITELIB}/tornado/platform/epoll.pyc
-${PYSITELIB}/tornado/platform/epoll.pyo
-${PYSITELIB}/tornado/platform/interface.py
-${PYSITELIB}/tornado/platform/interface.pyc
-${PYSITELIB}/tornado/platform/interface.pyo
-${PYSITELIB}/tornado/platform/kqueue.py
-${PYSITELIB}/tornado/platform/kqueue.pyc
-${PYSITELIB}/tornado/platform/kqueue.pyo
-${PYSITELIB}/tornado/platform/posix.py
-${PYSITELIB}/tornado/platform/posix.pyc
-${PYSITELIB}/tornado/platform/posix.pyo
-${PYSITELIB}/tornado/platform/select.py
-${PYSITELIB}/tornado/platform/select.pyc
-${PYSITELIB}/tornado/platform/select.pyo
${PYSITELIB}/tornado/platform/twisted.py
${PYSITELIB}/tornado/platform/twisted.pyc
${PYSITELIB}/tornado/platform/twisted.pyo
-${PYSITELIB}/tornado/platform/windows.py
-${PYSITELIB}/tornado/platform/windows.pyc
-${PYSITELIB}/tornado/platform/windows.pyo
${PYSITELIB}/tornado/process.py
${PYSITELIB}/tornado/process.pyc
${PYSITELIB}/tornado/process.pyo
+${PYSITELIB}/tornado/py.typed
${PYSITELIB}/tornado/queues.py
${PYSITELIB}/tornado/queues.pyc
${PYSITELIB}/tornado/queues.pyo
@@ -110,9 +86,6 @@ ${PYSITELIB}/tornado/simple_httpclient.p
${PYSITELIB}/tornado/simple_httpclient.pyc
${PYSITELIB}/tornado/simple_httpclient.pyo
${PYSITELIB}/tornado/speedups.so
-${PYSITELIB}/tornado/stack_context.py
-${PYSITELIB}/tornado/stack_context.pyc
-${PYSITELIB}/tornado/stack_context.pyo
${PYSITELIB}/tornado/tcpclient.py
${PYSITELIB}/tornado/tcpclient.pyc
${PYSITELIB}/tornado/tcpclient.pyo
@@ -122,9 +95,6 @@ ${PYSITELIB}/tornado/tcpserver.pyo
${PYSITELIB}/tornado/template.py
${PYSITELIB}/tornado/template.pyc
${PYSITELIB}/tornado/template.pyo
-${PYSITELIB}/tornado/test/__init__.py
-${PYSITELIB}/tornado/test/__init__.pyc
-${PYSITELIB}/tornado/test/__init__.pyo
${PYSITELIB}/tornado/test/__main__.py
${PYSITELIB}/tornado/test/__main__.pyc
${PYSITELIB}/tornado/test/__main__.pyo
@@ -209,9 +179,6 @@ ${PYSITELIB}/tornado/test/runtests.pyo
${PYSITELIB}/tornado/test/simple_httpclient_test.py
${PYSITELIB}/tornado/test/simple_httpclient_test.pyc
${PYSITELIB}/tornado/test/simple_httpclient_test.pyo
-${PYSITELIB}/tornado/test/stack_context_test.py
-${PYSITELIB}/tornado/test/stack_context_test.pyc
-${PYSITELIB}/tornado/test/stack_context_test.pyo
${PYSITELIB}/tornado/test/static/dir/index.html
${PYSITELIB}/tornado/test/static/robots.txt
${PYSITELIB}/tornado/test/static/sample.xml
@@ -248,9 +215,6 @@ ${PYSITELIB}/tornado/test/web_test.pyo
${PYSITELIB}/tornado/test/websocket_test.py
${PYSITELIB}/tornado/test/websocket_test.pyc
${PYSITELIB}/tornado/test/websocket_test.pyo
-${PYSITELIB}/tornado/test/windows_test.py
-${PYSITELIB}/tornado/test/windows_test.pyc
-${PYSITELIB}/tornado/test/windows_test.pyo
${PYSITELIB}/tornado/test/wsgi_test.py
${PYSITELIB}/tornado/test/wsgi_test.pyc
${PYSITELIB}/tornado/test/wsgi_test.pyo
Index: pkgsrc/www/py-tornado/distinfo
diff -u pkgsrc/www/py-tornado/distinfo:1.21 pkgsrc/www/py-tornado/distinfo:1.22
--- pkgsrc/www/py-tornado/distinfo:1.21 Tue Oct 26 11:30:49 2021
+++ pkgsrc/www/py-tornado/distinfo Sat Feb 5 09:00:25 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 11:30:49 nia Exp $
+$NetBSD: distinfo,v 1.22 2022/02/05 09:00:25 adam Exp $
-BLAKE2s (tornado-5.1.1.tar.gz) = 26ea9dc507704f7550c795c7253cd947b6d4e11a90e972cc3f17b4211a2b7b98
-SHA512 (tornado-5.1.1.tar.gz) = f9ecedb20c055981f482c9a2a8bb30082dcc479674f75f6c8654afcf40f2ce5a45e82c7e2b5a6ce5d1c9da7896e865e78c7d29a64b6b1d28d6e74a718be62dc7
-Size (tornado-5.1.1.tar.gz) = 516819 bytes
+BLAKE2s (tornado-6.1.tar.gz) = c2faa6ccd570234ad219207fa3ff424f4ea40d661908307e84fa9b3b093cb29d
+SHA512 (tornado-6.1.tar.gz) = 0ec1db1fad911182bda547c177a18b107b906cf66576443069e2b986cf041b3d4ebe08e5a168aa5cd3b56547f32f8b384bacaf74db89f582951d7b610b7494e8
+Size (tornado-6.1.tar.gz) = 497359 bytes
Home |
Main Index |
Thread Index |
Old Index