forked from pool/python-tornado
Accepting request 546290 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/546290 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=65
This commit is contained in:
committed by
Git OBS Bridge
parent
775adde41b
commit
21c9ee96d6
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f267acc96d5cf3df0fd8a7bfb5a91c2eb4ec81d5962d1a7386ceb34c655634a8
|
||||
size 463471
|
3
tornado-4.5.2.tar.gz
Normal file
3
tornado-4.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1fb8e494cd46c674d86fac5885a3ff87b0e283937a47d74eb3c02a48c9e89ad0
|
||||
size 483712
|
@@ -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")
|
||||
|
@@ -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, "李康")
|
Reference in New Issue
Block a user