Hello community, here is the log from the commit of package python-eventlet for openSUSE:Factory checked in at 2019-09-23 12:05:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-eventlet (Old) and /work/SRC/openSUSE:Factory/.python-eventlet.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-eventlet" Mon Sep 23 12:05:14 2019 rev:33 rq:729871 version:0.25.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-eventlet/python-eventlet.changes 2019-06-30 10:14:16.506946487 +0200 +++ /work/SRC/openSUSE:Factory/.python-eventlet.new.7948/python-eventlet.changes 2019-09-23 12:05:16.989926444 +0200 @@ -1,0 +2,7 @@ +Tue Sep 10 10:40:09 UTC 2019 - Ralf Haferkamp <rha...@suse.de> + +- Update to 0.25.1: + * wsgi (tests): Stop using deprecated cgi.parse_qs() to support Python 3.8; Thanks to Miro Hrončok + * os: Add workaround to `open` for pathlib on py 3.7; Thanks to David Szotten + +------------------------------------------------------------------- Old: ---- eventlet-0.25.0.tar.gz New: ---- eventlet-0.25.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-eventlet.spec ++++++ --- /var/tmp/diff_new_pack.TCQHJY/_old 2019-09-23 12:05:18.177926248 +0200 +++ /var/tmp/diff_new_pack.TCQHJY/_new 2019-09-23 12:05:18.181926247 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-eventlet -Version: 0.25.0 +Version: 0.25.1 Release: 0 Summary: Concurrent networking library for Python License: MIT ++++++ eventlet-0.25.0.tar.gz -> eventlet-0.25.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/NEWS new/eventlet-0.25.1/NEWS --- old/eventlet-0.25.0/NEWS 2019-05-24 11:00:38.000000000 +0200 +++ new/eventlet-0.25.1/NEWS 2019-08-21 23:29:28.000000000 +0200 @@ -1,3 +1,7 @@ +0.25.1 +* wsgi (tests): Stop using deprecated cgi.parse_qs() to support Python 3.8; Thanks to Miro Hrončok +* os: Add workaround to `open` for pathlib on py 3.7; Thanks to David Szotten + 0.25.0 ====== * wsgi: Only send 100 Continue response if no response has been sent yet; Thanks to Tim Burke diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/PKG-INFO new/eventlet-0.25.1/PKG-INFO --- old/eventlet-0.25.0/PKG-INFO 2019-05-24 11:03:25.000000000 +0200 +++ new/eventlet-0.25.1/PKG-INFO 2019-08-21 23:35:05.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: eventlet -Version: 0.25.0 +Version: 0.25.1 Summary: Highly concurrent networking library Home-page: http://eventlet.net Author: Linden Lab diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/eventlet/__init__.py new/eventlet-0.25.1/eventlet/__init__.py --- old/eventlet-0.25.0/eventlet/__init__.py 2019-05-24 11:00:38.000000000 +0200 +++ new/eventlet-0.25.1/eventlet/__init__.py 2019-08-21 23:29:28.000000000 +0200 @@ -1,7 +1,7 @@ import os -version_info = (0, 25, 0) +version_info = (0, 25, 1) __version__ = '.'.join(map(str, version_info)) # This is to make Debian packaging easier, it ignores import # errors of greenlet so that the packager can still at least diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/eventlet/green/os.py new/eventlet-0.25.1/eventlet/green/os.py --- old/eventlet-0.25.0/eventlet/green/os.py 2019-05-24 11:00:38.000000000 +0200 +++ new/eventlet-0.25.1/eventlet/green/os.py 2019-08-20 23:12:55.000000000 +0200 @@ -103,6 +103,15 @@ This behaves identically, but collaborates with the hub's notify_opened protocol. """ + # pathlib workaround #534 pathlib._NormalAccessor wraps `open` in + # `staticmethod` for py < 3.7 but not 3.7. That means we get here with + # `file` being a pathlib._NormalAccessor object, and the other arguments + # shifted. Fortunately pathlib doesn't use the `dir_fd` argument, so we + # have space in the parameter list. We use some heuristics to detect this + # and adjust the parameters (without importing pathlib) + if type(file).__name__ == '_NormalAccessor': + file, flags, mode, dir_fd = flags, mode, dir_fd, None + if dir_fd is not None: fd = __original_open__(file, flags, mode, dir_fd=dir_fd) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/eventlet.egg-info/PKG-INFO new/eventlet-0.25.1/eventlet.egg-info/PKG-INFO --- old/eventlet-0.25.0/eventlet.egg-info/PKG-INFO 2019-05-24 11:03:25.000000000 +0200 +++ new/eventlet-0.25.1/eventlet.egg-info/PKG-INFO 2019-08-21 23:35:04.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: eventlet -Version: 0.25.0 +Version: 0.25.1 Summary: Highly concurrent networking library Home-page: http://eventlet.net Author: Linden Lab diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/eventlet.egg-info/SOURCES.txt new/eventlet-0.25.1/eventlet.egg-info/SOURCES.txt --- old/eventlet-0.25.0/eventlet.egg-info/SOURCES.txt 2019-05-24 11:03:25.000000000 +0200 +++ new/eventlet-0.25.1/eventlet.egg-info/SOURCES.txt 2019-08-21 23:35:05.000000000 +0200 @@ -173,6 +173,7 @@ tests/mysqldb_test.py tests/nosewrapper.py tests/openssl_test.py +tests/os_test.py tests/parse_results.py tests/patcher_psycopg_test.py tests/patcher_test.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/tests/os_test.py new/eventlet-0.25.1/tests/os_test.py --- old/eventlet-0.25.0/tests/os_test.py 1970-01-01 01:00:00.000000000 +0100 +++ new/eventlet-0.25.1/tests/os_test.py 2019-08-20 23:12:55.000000000 +0200 @@ -0,0 +1,11 @@ +import eventlet +import six + + +if six.PY3: + def test_pathlib_open_issue_534(): + pathlib = eventlet.import_patched('pathlib') + path = pathlib.Path(__file__) + with path.open(): + # should not raise + pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eventlet-0.25.0/tests/wsgi_test.py new/eventlet-0.25.1/tests/wsgi_test.py --- old/eventlet-0.25.0/tests/wsgi_test.py 2019-05-24 11:00:38.000000000 +0200 +++ new/eventlet-0.25.1/tests/wsgi_test.py 2019-08-20 23:12:55.000000000 +0200 @@ -22,6 +22,7 @@ from eventlet.green import ssl from eventlet.support import bytes_to_str import six +from six.moves.urllib import parse import tests @@ -318,7 +319,7 @@ # define a new handler that does a get_arg as well as a read_body def new_app(env, start_response): body = bytes_to_str(env['wsgi.input'].read()) - a = cgi.parse_qs(body).get('a', [1])[0] + a = parse.parse_qs(body).get('a', [1])[0] start_response('200 OK', [('Content-type', 'text/plain')]) return [six.b('a is %s, body is %s' % (a, body))]