diff --git a/python-tornado.changes b/python-tornado.changes index 3b4ca55..c4907f0 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Nov 22 22:55:01 UTC 2017 - arun@gmx.de + +- specfile: + * removed tornado-configtest.patch: fixed upstream + * update tornado-async-deprecation.patch (partly integrated) + +- update to version 4.5.2: + * 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. + +- changes from version 4.5.1: + * tornado.log + + Improved detection of libraries for colorized logging. + * tornado.httputil + + url_concat once again treats None as equivalent to an empty + sequence. + +- changes from version 4.5.0: + * long changelog, see http://www.tornadoweb.org/en/stable/releases/v4.5.0.html + for details + ------------------------------------------------------------------- Tue Oct 17 10:03:04 UTC 2017 - opensuse_buildservice@ojkastl.de diff --git a/python-tornado.spec b/python-tornado.spec index 02997de..f7d4c4d 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -18,15 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tornado -Version: 4.4.3 +Version: 4.5.2 Release: 0 Summary: Open source version of scalable, non-blocking web server that power FriendFeed License: Apache-2.0 Group: Development/Languages/Python Url: http://www.tornadoweb.org Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz -Patch0: tornado-configtest.patch -Patch1: tornado-async-deprecations.patch +Patch0: tornado-async-deprecations.patch %if 0%{?sle_version} == 120000 && !0%{?is_opensuse} BuildRequires: %{python_module backports.ssl_match_hostname} BuildRequires: %{python_module certifi} @@ -79,7 +78,6 @@ thousands of clients, see The C10K problem.) # Fix non-executable script rpmlint issue: find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; %patch0 -p1 -%patch1 -p1 %pre # remove egg-info _file_, being replaced by an egg-info directory diff --git a/tornado-4.4.3.tar.gz b/tornado-4.4.3.tar.gz deleted file mode 100644 index f229e09..0000000 --- a/tornado-4.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f267acc96d5cf3df0fd8a7bfb5a91c2eb4ec81d5962d1a7386ceb34c655634a8 -size 463471 diff --git a/tornado-4.5.2.tar.gz b/tornado-4.5.2.tar.gz new file mode 100644 index 0000000..e96c797 --- /dev/null +++ b/tornado-4.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fb8e494cd46c674d86fac5885a3ff87b0e283937a47d74eb3c02a48c9e89ad0 +size 483712 diff --git a/tornado-async-deprecations.patch b/tornado-async-deprecations.patch index a95e3ac..b3bc66b 100644 --- a/tornado-async-deprecations.patch +++ b/tornado-async-deprecations.patch @@ -2,12 +2,10 @@ Index: tornado-4.4.2/tornado/test/runtests.py =================================================================== --- tornado-4.4.2.orig/tornado/test/runtests.py +++ tornado-4.4.2/tornado/test/runtests.py -@@ -125,6 +125,11 @@ def main(): - # Silence the warning until we can drop 3.5.[01]. - warnings.filterwarnings("ignore", category=PendingDeprecationWarning, +@@ -125,6 +125,9 @@ def main(): + # 3.5.2's PendingDeprecationWarning became a DeprecationWarning in 3.6. + warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*legacy __aiter__ protocol") -+ warnings.filterwarnings("ignore", category=DeprecationWarning, -+ message=".*legacy __aiter__ protocol") + # simply ignore all async-related deprecations, for a rough support for python 3.6 + warnings.filterwarnings("ignore", category=DeprecationWarning, + message="async") diff --git a/tornado-configtest.patch b/tornado-configtest.patch deleted file mode 100644 index fc16269..0000000 --- a/tornado-configtest.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: tornado-4.4.2/tornado/test/options_test.py -=================================================================== ---- tornado-4.4.2.orig/tornado/test/options_test.py -+++ tornado-4.4.2/tornado/test/options_test.py -@@ -36,8 +36,8 @@ class OptionsTest(unittest.TestCase): - options.define("port", default=80) - options.define("username", default='foo') - options.define("my_path") -- config_path = os.path.join(os.path.dirname(__file__), -- "options_test.cfg") -+ config_path = os.path.abspath(os.path.join(os.path.dirname(__file__), -+ "options_test.cfg")) - options.parse_config_file(config_path) - self.assertEqual(options.port, 443) - self.assertEqual(options.username, "李康")