Hello community, here is the log from the commit of package python-amqp for openSUSE:Factory checked in at 2014-02-21 20:54:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-amqp (Old) and /work/SRC/openSUSE:Factory/.python-amqp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-amqp" Changes: -------- --- /work/SRC/openSUSE:Factory/python-amqp/python-amqp.changes 2014-01-23 15:53:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-amqp.new/python-amqp.changes 2014-02-21 20:54:23.000000000 +0100 @@ -1,0 +2,9 @@ +Thu Feb 20 18:31:59 UTC 2014 - [email protected] + +- update to 1.4.3: + - Fixed bug where more data was requested from the socket + than was actually needed. + - Heartbeat negotiation would use heartbeat value from server even + if heartbeat disabled (Issue #31). + +------------------------------------------------------------------- Old: ---- amqp-1.4.1.tar.gz New: ---- amqp-1.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-amqp.spec ++++++ --- /var/tmp/diff_new_pack.W9lwEf/_old 2014-02-21 20:54:24.000000000 +0100 +++ /var/tmp/diff_new_pack.W9lwEf/_new 2014-02-21 20:54:24.000000000 +0100 @@ -17,13 +17,13 @@ Name: python-amqp -Version: 1.4.1 +Version: 1.4.3 Release: 0 Summary: Low-level AMQP client for Python (fork of amqplib) License: LGPL-2.1 Group: Development/Languages/Python Url: http://github.com/celery/py-amqp -Source: http://pypi.python.org/packages/source/a/amqp/amqp-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/a/amqp/amqp-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools # Documentation requirements: ++++++ amqp-1.4.1.tar.gz -> amqp-1.4.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/Changelog new/amqp-1.4.3/Changelog --- old/amqp-1.4.1/Changelog 2014-01-14 22:33:22.000000000 +0100 +++ new/amqp-1.4.3/Changelog 2014-02-09 15:59:03.000000000 +0100 @@ -5,6 +5,26 @@ The previous amqplib changelog is here: http://code.google.com/p/py-amqplib/source/browse/CHANGES +.. _version-1.4.3: + +1.4.3 +===== +:release-date: 2014-02-09 03:00 P.M UTC + +- Fixed bug where more data was requested from the socket + than was actually needed. + + Contributed by Ionel Cristian Mărieș. + +.. _version-1.4.2: + +1.4.2 +===== +:release-date: 2014-01-23 05:00 P.M UTC + +- Heartbeat negotiation would use heartbeat value from server even + if heartbeat disabled (Issue #31). + .. _version-1.4.1: 1.4.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/PKG-INFO new/amqp-1.4.3/PKG-INFO --- old/amqp-1.4.1/PKG-INFO 2014-01-14 22:34:58.000000000 +0100 +++ new/amqp-1.4.3/PKG-INFO 2014-02-09 15:59:44.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: amqp -Version: 1.4.1 +Version: 1.4.3 Summary: Low-level AMQP client for Python (fork of amqplib) Home-page: http://github.com/celery/py-amqp Author: Ask Solem @@ -10,7 +10,7 @@ Python AMQP 0.9.1 client library ===================================================================== - :Version: 1.4.1 + :Version: 1.4.3 :Web: http://amqp.readthedocs.org/ :Download: http://pypi.python.org/pypi/amqp/ :Source: http://github.com/celery/py-amqp/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/README.rst new/amqp-1.4.3/README.rst --- old/amqp-1.4.1/README.rst 2014-01-14 22:33:31.000000000 +0100 +++ new/amqp-1.4.3/README.rst 2014-02-09 15:59:03.000000000 +0100 @@ -2,7 +2,7 @@ Python AMQP 0.9.1 client library ===================================================================== -:Version: 1.4.1 +:Version: 1.4.3 :Web: http://amqp.readthedocs.org/ :Download: http://pypi.python.org/pypi/amqp/ :Source: http://github.com/celery/py-amqp/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/amqp/__init__.py new/amqp-1.4.3/amqp/__init__.py --- old/amqp-1.4.1/amqp/__init__.py 2014-01-14 22:33:27.000000000 +0100 +++ new/amqp-1.4.3/amqp/__init__.py 2014-02-09 15:59:03.000000000 +0100 @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 from __future__ import absolute_import -VERSION = (1, 4, 1) +VERSION = (1, 4, 3) __version__ = '.'.join(map(str, VERSION[0:3])) + ''.join(VERSION[3:]) __author__ = 'Barry Pederson' __maintainer__ = 'Ask Solem' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/amqp/connection.py new/amqp-1.4.3/amqp/connection.py --- old/amqp-1.4.1/amqp/connection.py 2014-01-14 22:24:27.000000000 +0100 +++ new/amqp-1.4.3/amqp/connection.py 2014-02-09 15:59:03.000000000 +0100 @@ -870,6 +870,10 @@ else: self.heartbeat = min(self.server_heartbeat, client_heartbeat) + # Ignore server heartbeat if client_heartbeat is disabled + if not self.client_heartbeat: + self.heartbeat = 0 + self._x_tune_ok(self.channel_max, self.frame_max, self.heartbeat) def send_heartbeat(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/amqp/transport.py new/amqp-1.4.3/amqp/transport.py --- old/amqp-1.4.1/amqp/transport.py 2014-01-13 15:34:57.000000000 +0100 +++ new/amqp-1.4.3/amqp/transport.py 2014-02-09 15:59:03.000000000 +0100 @@ -207,7 +207,7 @@ try: while len(rbuf) < n: try: - s = recv(131072) # see note above + s = recv(n - len(rbuf)) # see note above except socket.error as exc: # ssl.sock.read may cause ENOENT if the # operation couldn't be performed (Issue celery#1414). @@ -232,7 +232,6 @@ raise IOError('Socket closed') s = s[n:] - class TCPTransport(_AbstractTransport): """Transport that deals directly with TCP socket.""" @@ -250,7 +249,7 @@ try: while len(rbuf) < n: try: - s = recv(131072) + s = recv(n - len(rbuf)) except socket.error as exc: if not initial and exc.errno in _errnos: continue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/amqp.egg-info/PKG-INFO new/amqp-1.4.3/amqp.egg-info/PKG-INFO --- old/amqp-1.4.1/amqp.egg-info/PKG-INFO 2014-01-14 22:34:54.000000000 +0100 +++ new/amqp-1.4.3/amqp.egg-info/PKG-INFO 2014-02-09 15:59:36.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: amqp -Version: 1.4.1 +Version: 1.4.3 Summary: Low-level AMQP client for Python (fork of amqplib) Home-page: http://github.com/celery/py-amqp Author: Ask Solem @@ -10,7 +10,7 @@ Python AMQP 0.9.1 client library ===================================================================== - :Version: 1.4.1 + :Version: 1.4.3 :Web: http://amqp.readthedocs.org/ :Download: http://pypi.python.org/pypi/amqp/ :Source: http://github.com/celery/py-amqp/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/docs/changelog.rst new/amqp-1.4.3/docs/changelog.rst --- old/amqp-1.4.1/docs/changelog.rst 2014-01-14 22:33:22.000000000 +0100 +++ new/amqp-1.4.3/docs/changelog.rst 2014-02-09 15:59:03.000000000 +0100 @@ -5,6 +5,26 @@ The previous amqplib changelog is here: http://code.google.com/p/py-amqplib/source/browse/CHANGES +.. _version-1.4.3: + +1.4.3 +===== +:release-date: 2014-02-09 03:00 P.M UTC + +- Fixed bug where more data was requested from the socket + than was actually needed. + + Contributed by Ionel Cristian Mărieș. + +.. _version-1.4.2: + +1.4.2 +===== +:release-date: 2014-01-23 05:00 P.M UTC + +- Heartbeat negotiation would use heartbeat value from server even + if heartbeat disabled (Issue #31). + .. _version-1.4.1: 1.4.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.1/docs/includes/intro.txt new/amqp-1.4.3/docs/includes/intro.txt --- old/amqp-1.4.1/docs/includes/intro.txt 2013-11-14 15:10:52.000000000 +0100 +++ new/amqp-1.4.3/docs/includes/intro.txt 2014-02-09 15:59:03.000000000 +0100 @@ -1,4 +1,4 @@ -:Version: 1.2.0 +:Version: 1.4.2 :Web: http://amqp.readthedocs.org/ :Download: http://pypi.python.org/pypi/amqp/ :Source: http://github.com/celery/py-amqp/ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
