diff -Nru python-tornado-4.5.1/debian/changelog python-tornado-4.5.2/debian/changelog --- python-tornado-4.5.1/debian/changelog 2017-08-05 09:29:23.000000000 +0000 +++ python-tornado-4.5.2/debian/changelog 2017-10-31 20:26:31.000000000 +0000 @@ -1,17 +1,14 @@ -python-tornado (4.5.1-2.1~build2) artful; urgency=medium +python-tornado (4.5.2-1) unstable; urgency=medium - * No change rebuild to drop Python 3.5 support. + [ Julien Puydt ] + * New upstream release. + * Bump d/watch to version 4. + * d/control: Remove Testsuite: autopkgtest, it's not needed - -- Michael Hudson-Doyle Sat, 05 Aug 2017 21:29:23 +1200 + [ Ondřej Nový ] + * Bump std-ver to 4.1.1. -python-tornado (4.5.1-2.1~build1) artful; urgency=medium - - - [ Simon Quigley ] - * Upload a no-change rebuild from Debian, to drop - the Ubuntu delta (LP: #1699426) - - -- Gianfranco Costamagna Fri, 14 Jul 2017 15:02:22 +0200 + -- Ondřej Nový Tue, 31 Oct 2017 21:26:31 +0100 python-tornado (4.5.1-2) unstable; urgency=medium diff -Nru python-tornado-4.5.1/debian/control python-tornado-4.5.2/debian/control --- python-tornado-4.5.1/debian/control 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/control 2017-10-31 20:26:31.000000000 +0000 @@ -30,11 +30,10 @@ python3-sphinx, python3-sphinx-rtd-theme, python3-twisted, -Standards-Version: 3.9.8 +Standards-Version: 4.1.1 Homepage: http://www.tornadoweb.org/ Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-tornado.git Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-tornado.git -Testsuite: autopkgtest Package: python-tornado Architecture: any diff -Nru python-tornado-4.5.1/debian/.git-dpm python-tornado-4.5.2/debian/.git-dpm --- python-tornado-4.5.1/debian/.git-dpm 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/.git-dpm 2017-10-31 20:26:31.000000000 +0000 @@ -1,11 +1,11 @@ # see git-dpm(1) from git-dpm package -7c7251be13fd9a646e6bec11445fb460788edbee -7c7251be13fd9a646e6bec11445fb460788edbee -1f987a3c9a55782f3e1e10c318c91cae71630000 -1f987a3c9a55782f3e1e10c318c91cae71630000 -python-tornado_4.5.1.orig.tar.gz -ff3bf2aa0e3d9bab73f067388865cb66dbc1ba4b -506087 +ae886c3d0c8290e2b5092b2bd6616cf49ce7743c +ae886c3d0c8290e2b5092b2bd6616cf49ce7743c +e889a879916c589d031215316fdabded28f62a9d +e889a879916c589d031215316fdabded28f62a9d +python-tornado_4.5.2.orig.tar.gz +27a7690aae925c6ec6450830befccc11fe3dfecf +506334 debianTag="debian/%e%v" patchedTag="patched/%e%v" upstreamTag="upstream/%e%u" diff -Nru python-tornado-4.5.1/debian/patches/0007-Use-local-objects.inv-for-intersphinx-mapping.patch python-tornado-4.5.2/debian/patches/0007-Use-local-objects.inv-for-intersphinx-mapping.patch --- python-tornado-4.5.1/debian/patches/0007-Use-local-objects.inv-for-intersphinx-mapping.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/0007-Use-local-objects.inv-for-intersphinx-mapping.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From 7c7251be13fd9a646e6bec11445fb460788edbee Mon Sep 17 00:00:00 2001 +From ae886c3d0c8290e2b5092b2bd6616cf49ce7743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= Date: Wed, 3 Aug 2016 19:02:48 +0200 Subject: Use local objects.inv for intersphinx mapping diff -Nru python-tornado-4.5.1/debian/patches/disable-domain-tests.patch python-tornado-4.5.2/debian/patches/disable-domain-tests.patch --- python-tornado-4.5.1/debian/patches/disable-domain-tests.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/disable-domain-tests.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From e4208914e75ba45ab974d0284910bd2847aec2c8 Mon Sep 17 00:00:00 2001 +From 580709c89ead6ee26ee602d3f7eb33af579f0387 Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:13:30 -0700 Subject: Disable domain tests to prevent internet access during build diff -Nru python-tornado-4.5.1/debian/patches/fix-ftbfs-on-hurd.patch python-tornado-4.5.2/debian/patches/fix-ftbfs-on-hurd.patch --- python-tornado-4.5.1/debian/patches/fix-ftbfs-on-hurd.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/fix-ftbfs-on-hurd.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From 1796ee69175f8f4cbbb7d42835f54ae1f9c47c94 Mon Sep 17 00:00:00 2001 +From 2e6b95748a85d9110f1cc76cfe8b83ebf0d2a76b Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 21 May 2016 21:55:27 +0000 Subject: skip UnixSocketTest on hurd, as unix sockets with SO_REUSEADDR are diff -Nru python-tornado-4.5.1/debian/patches/ignoreuserwarning.patch python-tornado-4.5.2/debian/patches/ignoreuserwarning.patch --- python-tornado-4.5.1/debian/patches/ignoreuserwarning.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/ignoreuserwarning.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From 177428d63e78a27f2167242ef4732d1f42d64c81 Mon Sep 17 00:00:00 2001 +From 42aee5633b7c0dba08177b8089e0bd92fdd3fc6d Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:13:31 -0700 Subject: ignore userwarning in tests diff -Nru python-tornado-4.5.1/debian/patches/skip-timing-tests.patch python-tornado-4.5.2/debian/patches/skip-timing-tests.patch --- python-tornado-4.5.1/debian/patches/skip-timing-tests.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/skip-timing-tests.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From 50e3471c4b9bbdb18f92a2ee8ea3690b52069f5b Mon Sep 17 00:00:00 2001 +From 1209b9b0d8883e9a141385b5e47bdf4f66853321 Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:13:32 -0700 Subject: like travis buildd are often slow so skip the same tests diff -Nru python-tornado-4.5.1/debian/patches/sockopt.patch python-tornado-4.5.2/debian/patches/sockopt.patch --- python-tornado-4.5.1/debian/patches/sockopt.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/sockopt.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From 0ee0b386d8ba476b158abb404c41028d04329243 Mon Sep 17 00:00:00 2001 +From 372e881ad0340313dce63bbce2bbc1ef55110cb5 Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:13:33 -0700 Subject: Ignore ENOPROTOOPT errors from SO_REUSEADDR or SO_ERROR on AF_UNIX @@ -30,7 +30,7 @@ self.error = socket.error(err, os.strerror(err)) # IOLoop implementations may vary: some of them return diff --git a/tornado/netutil.py b/tornado/netutil.py -index c34c8c8..c973698 100644 +index 5233b20..af8e0ca 100644 --- a/tornado/netutil.py +++ b/tornado/netutil.py @@ -172,9 +172,17 @@ def bind_sockets(port, address=None, family=socket.AF_UNSPEC, diff -Nru python-tornado-4.5.1/debian/patches/without-certifi.patch python-tornado-4.5.2/debian/patches/without-certifi.patch --- python-tornado-4.5.1/debian/patches/without-certifi.patch 2017-06-20 17:24:11.000000000 +0000 +++ python-tornado-4.5.2/debian/patches/without-certifi.patch 2017-10-31 20:26:31.000000000 +0000 @@ -1,4 +1,4 @@ -From 94ef97f75dca92fe543fa53a3f25968cfd4d902f Mon Sep 17 00:00:00 2001 +From a5406c8674f27e9800fe8e17f7cc95d4b4db168d Mon Sep 17 00:00:00 2001 From: Julien Puydt Date: Thu, 8 Oct 2015 13:13:34 -0700 Subject: remove dependance on certifi @@ -15,7 +15,7 @@ 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/setup.py b/setup.py -index c65e25d..1b46d16 100644 +index 66d846b..026775f 100644 --- a/setup.py +++ b/setup.py @@ -136,7 +136,7 @@ if setuptools is not None: @@ -28,7 +28,7 @@ install_requires.append('backports_abc>=0.4') kwargs['install_requires'] = install_requires diff --git a/tornado/netutil.py b/tornado/netutil.py -index c973698..1f5afac 100644 +index af8e0ca..b0e49fc 100644 --- a/tornado/netutil.py +++ b/tornado/netutil.py @@ -35,15 +35,6 @@ except ImportError: diff -Nru python-tornado-4.5.1/debian/watch python-tornado-4.5.2/debian/watch --- python-tornado-4.5.1/debian/watch 2017-05-12 14:13:44.000000000 +0000 +++ python-tornado-4.5.2/debian/watch 2017-10-31 20:26:31.000000000 +0000 @@ -1,3 +1,3 @@ -version=3 +version=4 opts=uversionmangle=s/.alpha/~alpha/;s/.beta/~beta/;s/.rc/~rc/;s/([0-9])b([0-9]*)/$1~b$2/g \ https://github.com/tornadoweb/tornado/tags .*/v(.*).tar.gz diff -Nru python-tornado-4.5.1/docs/releases/v4.5.1.rst python-tornado-4.5.2/docs/releases/v4.5.1.rst --- python-tornado-4.5.1/docs/releases/v4.5.1.rst 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/docs/releases/v4.5.1.rst 2017-08-27 18:50:20.000000000 +0000 @@ -1,7 +1,7 @@ -What's new in Tornado 4.5 -========================= +What's new in Tornado 4.5.1 +=========================== -Apr 16, 2017 +Apr 20, 2017 ------------ `tornado.log` diff -Nru python-tornado-4.5.1/docs/releases/v4.5.2.rst python-tornado-4.5.2/docs/releases/v4.5.2.rst --- python-tornado-4.5.1/docs/releases/v4.5.2.rst 1970-01-01 00:00:00.000000000 +0000 +++ python-tornado-4.5.2/docs/releases/v4.5.2.rst 2017-08-27 18:50:20.000000000 +0000 @@ -0,0 +1,10 @@ +What's new in Tornado 4.5.2 +=========================== + +Aug 27, 2017 +------------ + +Bug Fixes +~~~~~~~~~ + +- Tornado now sets the ``FD_CLOEXEC`` flag on all file descriptors it creates. This prevents hanging client connections and resource leaks when the `tornado.autoreload` module (or ``Application(debug=True)``) is used. diff -Nru python-tornado-4.5.1/docs/releases.rst python-tornado-4.5.2/docs/releases.rst --- python-tornado-4.5.1/docs/releases.rst 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/docs/releases.rst 2017-08-27 18:50:20.000000000 +0000 @@ -4,6 +4,7 @@ .. toctree:: :maxdepth: 2 + releases/v4.5.2 releases/v4.5.1 releases/v4.5.0 releases/v4.4.3 diff -Nru python-tornado-4.5.1/maint/test/appengine/py27/tornado/__init__.py python-tornado-4.5.2/maint/test/appengine/py27/tornado/__init__.py --- python-tornado-4.5.1/maint/test/appengine/py27/tornado/__init__.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/maint/test/appengine/py27/tornado/__init__.py 2017-08-27 18:50:20.000000000 +0000 @@ -25,5 +25,5 @@ # is zero for an official release, positive for a development branch, # or negative for a release candidate or beta (after the base version # number has been incremented) -version = "4.5.1" -version_info = (4, 5, 1, 0) +version = "4.5.2" +version_info = (4, 5, 2, 0) diff -Nru python-tornado-4.5.1/maint/test/appengine/py27/tornado/netutil.py python-tornado-4.5.2/maint/test/appengine/py27/tornado/netutil.py --- python-tornado-4.5.1/maint/test/appengine/py27/tornado/netutil.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/maint/test/appengine/py27/tornado/netutil.py 2017-08-27 18:50:20.000000000 +0000 @@ -273,6 +273,7 @@ if errno_from_exception(e) == errno.ECONNABORTED: continue raise + set_close_exec(connection.fileno()) callback(connection, address) io_loop.add_handler(sock, accept_handler, IOLoop.READ) diff -Nru python-tornado-4.5.1/maint/test/appengine/py27/tornado/platform/common.py python-tornado-4.5.2/maint/test/appengine/py27/tornado/platform/common.py --- python-tornado-4.5.1/maint/test/appengine/py27/tornado/platform/common.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/maint/test/appengine/py27/tornado/platform/common.py 2017-08-27 18:50:20.000000000 +0000 @@ -32,10 +32,12 @@ and Jython. """ def __init__(self): + from .auto import set_close_exec # Based on Zope select_trigger.py: # https://github.com/zopefoundation/Zope/blob/master/src/ZServer/medusa/thread/select_trigger.py self.writer = socket.socket() + set_close_exec(self.writer.fileno()) # Disable buffering -- pulling the trigger sends 1 byte, # and we want that sent immediately, to wake up ASAP. self.writer.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) @@ -54,6 +56,7 @@ # http://mail.zope.org/pipermail/zope/2005-July/160433.html # for hideous details. a = socket.socket() + set_close_exec(a.fileno()) a.bind(("127.0.0.1", 0)) a.listen(1) connect_address = a.getsockname() # assigned (host, port) pair @@ -78,6 +81,7 @@ a.close() self.reader, addr = a.accept() + set_close_exec(self.reader.fileno()) self.reader.setblocking(0) self.writer.setblocking(0) a.close() diff -Nru python-tornado-4.5.1/maint/test/appengine/py27/tornado/tcpclient.py python-tornado-4.5.2/maint/test/appengine/py27/tornado/tcpclient.py --- python-tornado-4.5.1/maint/test/appengine/py27/tornado/tcpclient.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/maint/test/appengine/py27/tornado/tcpclient.py 2017-08-27 18:50:20.000000000 +0000 @@ -26,6 +26,7 @@ from tornado.iostream import IOStream from tornado import gen from tornado.netutil import Resolver +from tornado.platform.auto import set_close_exec _INITIAL_CONNECT_TIMEOUT = 0.3 @@ -202,6 +203,7 @@ # - 127.0.0.1 for IPv4 # - ::1 for IPv6 socket_obj = socket.socket(af) + set_close_exec(socket_obj.fileno()) if source_port_bind or source_ip_bind: # If the user requires binding also to a specific IP/port. try: diff -Nru python-tornado-4.5.1/setup.py python-tornado-4.5.2/setup.py --- python-tornado-4.5.1/setup.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/setup.py 2017-08-27 18:50:20.000000000 +0000 @@ -103,7 +103,7 @@ kwargs = {} -version = "4.5.1" +version = "4.5.2" with open('README.rst') as f: kwargs['long_description'] = f.read() diff -Nru python-tornado-4.5.1/tornado/__init__.py python-tornado-4.5.2/tornado/__init__.py --- python-tornado-4.5.1/tornado/__init__.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/tornado/__init__.py 2017-08-27 18:50:20.000000000 +0000 @@ -25,5 +25,5 @@ # is zero for an official release, positive for a development branch, # or negative for a release candidate or beta (after the base version # number has been incremented) -version = "4.5.1" -version_info = (4, 5, 1, 0) +version = "4.5.2" +version_info = (4, 5, 2, 0) diff -Nru python-tornado-4.5.1/tornado/netutil.py python-tornado-4.5.2/tornado/netutil.py --- python-tornado-4.5.1/tornado/netutil.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/tornado/netutil.py 2017-08-27 18:50:20.000000000 +0000 @@ -273,6 +273,7 @@ if errno_from_exception(e) == errno.ECONNABORTED: continue raise + set_close_exec(connection.fileno()) callback(connection, address) io_loop.add_handler(sock, accept_handler, IOLoop.READ) diff -Nru python-tornado-4.5.1/tornado/platform/common.py python-tornado-4.5.2/tornado/platform/common.py --- python-tornado-4.5.1/tornado/platform/common.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/tornado/platform/common.py 2017-08-27 18:50:20.000000000 +0000 @@ -32,10 +32,12 @@ and Jython. """ def __init__(self): + from .auto import set_close_exec # Based on Zope select_trigger.py: # https://github.com/zopefoundation/Zope/blob/master/src/ZServer/medusa/thread/select_trigger.py self.writer = socket.socket() + set_close_exec(self.writer.fileno()) # Disable buffering -- pulling the trigger sends 1 byte, # and we want that sent immediately, to wake up ASAP. self.writer.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) @@ -54,6 +56,7 @@ # http://mail.zope.org/pipermail/zope/2005-July/160433.html # for hideous details. a = socket.socket() + set_close_exec(a.fileno()) a.bind(("127.0.0.1", 0)) a.listen(1) connect_address = a.getsockname() # assigned (host, port) pair @@ -78,6 +81,7 @@ a.close() self.reader, addr = a.accept() + set_close_exec(self.reader.fileno()) self.reader.setblocking(0) self.writer.setblocking(0) a.close() diff -Nru python-tornado-4.5.1/tornado/tcpclient.py python-tornado-4.5.2/tornado/tcpclient.py --- python-tornado-4.5.1/tornado/tcpclient.py 2017-04-20 13:32:04.000000000 +0000 +++ python-tornado-4.5.2/tornado/tcpclient.py 2017-08-27 18:50:20.000000000 +0000 @@ -26,6 +26,7 @@ from tornado.iostream import IOStream from tornado import gen from tornado.netutil import Resolver +from tornado.platform.auto import set_close_exec _INITIAL_CONNECT_TIMEOUT = 0.3 @@ -202,6 +203,7 @@ # - 127.0.0.1 for IPv4 # - ::1 for IPv6 socket_obj = socket.socket(af) + set_close_exec(socket_obj.fileno()) if source_port_bind or source_ip_bind: # If the user requires binding also to a specific IP/port. try: