From 277b9515dda069f6c8cfcd1229e12211d7399844cde00f6bc20fda25f8f44335 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Dec 2016 14:49:24 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20update=20to=201.1.2:=20=20=20*=20Python?= =?UTF-8?q?=202:=20``sendall``=20on=20a=20non-blocking=20socket=20could=20?= =?UTF-8?q?spuriously=20fail=20=20=20=20=20with=20a=20timeout.=20=20=20*?= =?UTF-8?q?=20If=20``sys.stderr``=20has=20been=20monkey-patched=20(not=20r?= =?UTF-8?q?ecommended),=20=20=20=20=20exceptions=20that=20the=20hub=20repo?= =?UTF-8?q?rts=20aren't=20lost=20and=20can=20still=20be=20caught.=20=20=20?= =?UTF-8?q?=20=20Reported=20in=20:issue:`825`=20by=20Jelle=20Smet.=20=20?= =?UTF-8?q?=20*=20:class:`selectors.SelectSelector`=20is=20properly=20monk?= =?UTF-8?q?ey-patched=20=20=20=20=20regardless=20of=20the=20order=20of=20i?= =?UTF-8?q?mports.=20Reported=20in=20:issue:`835`=20by=20=20=20=20=20Przem?= =?UTF-8?q?ys=C5=82aw=20W=C4=99grzyn.=20=20=20*=20Python=202:=20``reload(s?= =?UTF-8?q?ite)``=20no=20longer=20fails=20with=20a=20``TypeError``=20if=20?= =?UTF-8?q?=20=20=20=20gevent=20has=20been=20imported.=20Reported=20in=20:?= =?UTF-8?q?issue:`805`=20by=20Jake=20Hilton.=20=20=20*=20Nested=20callback?= =?UTF-8?q?s=20that=20set=20and=20clear=20an=20Event=20no=20longer=20cause?= =?UTF-8?q?=20=20=20=20=20``wait``=20to=20return=20prematurely.=20Reported?= =?UTF-8?q?=20in=20:issue:`771`=20by=20Sergey=20=20=20=20=20Vasilyev.=20?= =?UTF-8?q?=20=20*=20Fix=20build=20on=20Solaris=2010.=20Reported=20in=20:i?= =?UTF-8?q?ssue:`777`=20by=20wiggin15.=20=20=20*=20The=20``ref``=20paramet?= =?UTF-8?q?er=20to=20:func:`gevent.os.fork=5Fand=5Fwatch`=20was=20being=20?= =?UTF-8?q?ignored.=20=20=20*=20Python=203:=20:class:`gevent.queue.Channel?= =?UTF-8?q?`=20is=20now=20correctly=20iterable,=20instead=20of=20=20=20=20?= =?UTF-8?q?=20raising=20a=20:exc:`TypeError`.=20=20=20*=20Python=203:=20Ad?= =?UTF-8?q?d=20support=20for=20:meth:`socket.socket.sendmsg`,=20=20=20=20?= =?UTF-8?q?=20:meth:`socket.socket.recvmsg`=20and=20:meth:`socket.socket.r?= =?UTF-8?q?ecvmsg=5Finto`=20=20=20=20=20on=20platforms=20where=20they=20ar?= =?UTF-8?q?e=20defined.=20Initial=20:pr:`773`=20by=20Jakub=20=20=20=20=20K?= =?UTF-8?q?lama.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=23 --- gevent-1.1.0.tar.gz | 3 --- gevent-1.1.2.tar.gz | 3 +++ python-gevent.changes | 26 ++++++++++++++++++++++++++ python-gevent.spec | 2 +- 4 files changed, 30 insertions(+), 4 deletions(-) delete mode 100644 gevent-1.1.0.tar.gz create mode 100644 gevent-1.1.2.tar.gz diff --git a/gevent-1.1.0.tar.gz b/gevent-1.1.0.tar.gz deleted file mode 100644 index 45855eb..0000000 --- a/gevent-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34f7a5eca1326affe149eaa5467220d89002facd338028d2340868015407ae75 -size 1968902 diff --git a/gevent-1.1.2.tar.gz b/gevent-1.1.2.tar.gz new file mode 100644 index 0000000..35d59f3 --- /dev/null +++ b/gevent-1.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb15cf73d69a2eeefed330858f09634e2c50bf46da9f9e7635730fcfb872c02c +size 2007938 diff --git a/python-gevent.changes b/python-gevent.changes index 76e40db..2d2fe9c 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Tue Dec 13 14:46:50 UTC 2016 - dmueller@suse.com + +- update to 1.1.2: + * Python 2: ``sendall`` on a non-blocking socket could spuriously fail + with a timeout. + * If ``sys.stderr`` has been monkey-patched (not recommended), + exceptions that the hub reports aren't lost and can still be caught. + Reported in :issue:`825` by Jelle Smet. + * :class:`selectors.SelectSelector` is properly monkey-patched + regardless of the order of imports. Reported in :issue:`835` by + Przemysław Węgrzyn. + * Python 2: ``reload(site)`` no longer fails with a ``TypeError`` if + gevent has been imported. Reported in :issue:`805` by Jake Hilton. + * Nested callbacks that set and clear an Event no longer cause + ``wait`` to return prematurely. Reported in :issue:`771` by Sergey + Vasilyev. + * Fix build on Solaris 10. Reported in :issue:`777` by wiggin15. + * The ``ref`` parameter to :func:`gevent.os.fork_and_watch` was being ignored. + * Python 3: :class:`gevent.queue.Channel` is now correctly iterable, instead of + raising a :exc:`TypeError`. + * Python 3: Add support for :meth:`socket.socket.sendmsg`, + :meth:`socket.socket.recvmsg` and :meth:`socket.socket.recvmsg_into` + on platforms where they are defined. Initial :pr:`773` by Jakub + Klama. + ------------------------------------------------------------------- Thu Mar 10 20:20:38 UTC 2016 - toddrme2178@gmail.com diff --git a/python-gevent.spec b/python-gevent.spec index 232a302..fdf01b0 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -20,7 +20,7 @@ %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif Name: python-gevent -Version: 1.1.0 +Version: 1.1.2 Release: 0 Summary: Python network library that uses greenlet and libevent License: MIT From 30005d87dcc951a44320b99a00681a95b31c3f1696f911528248a3d9a29dff07 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Dec 2016 14:50:19 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=24 --- python-gevent.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index fdf01b0..826b486 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -26,7 +26,7 @@ Summary: Python network library that uses greenlet and libevent License: MIT Group: Development/Languages/Python Url: http://www.gevent.org/ -Source: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz +Source: https://pypi.io/packages/source/g/gevent/gevent-%{version}.tar.gz BuildRequires: libcares-devel BuildRequires: libev-devel #BuildRequires: python-Sphinx