commit python-amqp for openSUSE:Factory
Hello community, here is the log from the commit of package python-amqp for openSUSE:Factory checked in at 2014-09-17 17:25:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-05-17 21:44:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-amqp.new/python-amqp.changes 2014-09-17 17:25:34.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Sep 15 07:50:41 UTC 2014 - tbechtold@suse.com + +- update to 1.4.6: + * Now keeps buffer when socket times out. + * Adds ``Connection.Transport`` attribute that can be used to specify + a different transport implementation. + +------------------------------------------------------------------- Old: ---- amqp-1.4.5.tar.gz New: ---- amqp-1.4.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-amqp.spec ++++++ --- /var/tmp/diff_new_pack.78y0mk/_old 2014-09-17 17:25:35.000000000 +0200 +++ /var/tmp/diff_new_pack.78y0mk/_new 2014-09-17 17:25:35.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-amqp -Version: 1.4.5 +Version: 1.4.6 Release: 0 Summary: Low-level AMQP client for Python (fork of amqplib) License: LGPL-2.1 ++++++ amqp-1.4.5.tar.gz -> amqp-1.4.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.5/Changelog new/amqp-1.4.6/Changelog --- old/amqp-1.4.5/Changelog 2014-04-15 23:06:37.000000000 +0200 +++ new/amqp-1.4.6/Changelog 2014-08-11 19:00:17.000000000 +0200 @@ -5,6 +5,22 @@ The previous amqplib changelog is here: http://code.google.com/p/py-amqplib/source/browse/CHANGES +.. _version-1.4.6: + +1.4.6 +===== +:release-date: 2014-08-11 06:00 P.M UTC +:release-by: Ask Solem + +- Now keeps buffer when socket times out. + + Fix contributed by Artyom Koval. + +- Adds ``Connection.Transport`` attribute that can be used to specify + a different transport implementation. + + Contributed by Yury Selivanov. + .. _version-1.4.5: 1.4.5 @@ -232,7 +248,7 @@ 1.1.0 ===== -:release-date: 2012-11-08 10:36 P.M UTC +:release-date: 2013-11-08 10:36 P.M UTC :release-by: Ask Solem - No longer supports Python 2.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.5/PKG-INFO new/amqp-1.4.6/PKG-INFO --- old/amqp-1.4.5/PKG-INFO 2014-04-15 23:08:15.000000000 +0200 +++ new/amqp-1.4.6/PKG-INFO 2014-08-11 19:02:54.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: amqp -Version: 1.4.5 +Version: 1.4.6 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.5 + :Version: 1.4.6 :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.5/README.rst new/amqp-1.4.6/README.rst --- old/amqp-1.4.5/README.rst 2014-04-15 23:06:37.000000000 +0200 +++ new/amqp-1.4.6/README.rst 2014-08-11 19:00:36.000000000 +0200 @@ -2,7 +2,7 @@ Python AMQP 0.9.1 client library ===================================================================== -:Version: 1.4.5 +:Version: 1.4.6 :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.5/amqp/__init__.py new/amqp-1.4.6/amqp/__init__.py --- old/amqp-1.4.5/amqp/__init__.py 2014-04-15 23:06:37.000000000 +0200 +++ new/amqp-1.4.6/amqp/__init__.py 2014-08-11 19:00:30.000000000 +0200 @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 from __future__ import absolute_import -VERSION = (1, 4, 5) +VERSION = (1, 4, 6) __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.5/amqp/connection.py new/amqp-1.4.6/amqp/connection.py --- old/amqp-1.4.5/amqp/connection.py 2014-02-09 15:59:03.000000000 +0100 +++ new/amqp-1.4.6/amqp/connection.py 2014-08-11 18:56:50.000000000 +0200 @@ -162,7 +162,7 @@ # Let the transport.py module setup the actual # socket connection to the broker. # - self.transport = create_transport(host, connect_timeout, ssl) + self.transport = self.Transport(host, connect_timeout, ssl) self.method_reader = MethodReader(self.transport) self.method_writer = MethodWriter(self.transport, self.frame_max) @@ -182,6 +182,9 @@ return self._x_open(virtual_host) + def Transport(self, host, connect_timeout, ssl=False): + return create_transport(host, connect_timeout, ssl) + @property def connected(self): return self.transport and self.transport.connected diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.5/amqp/transport.py new/amqp-1.4.6/amqp/transport.py --- old/amqp-1.4.5/amqp/transport.py 2014-04-15 23:06:29.000000000 +0200 +++ new/amqp-1.4.6/amqp/transport.py 2014-08-11 18:56:50.000000000 +0200 @@ -149,11 +149,16 @@ def read_frame(self, unpack=unpack): read = self._read + read_frame_buffer = EMPTY_BUFFER try: - frame_type, channel, size = unpack('>BHI', read(7, True)) + frame_header = read(7, True) + read_frame_buffer += frame_header + frame_type, channel, size = unpack('>BHI', frame_header) payload = read(size) + read_frame_buffer += payload ch = ord(read(1)) except socket.timeout: + self._read_buffer = read_frame_buffer + self._read_buffer raise except (OSError, IOError, socket.error) as exc: # Don't disconnect for ssl read time outs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amqp-1.4.5/amqp.egg-info/PKG-INFO new/amqp-1.4.6/amqp.egg-info/PKG-INFO --- old/amqp-1.4.5/amqp.egg-info/PKG-INFO 2014-04-15 23:08:12.000000000 +0200 +++ new/amqp-1.4.6/amqp.egg-info/PKG-INFO 2014-08-11 19:02:37.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: amqp -Version: 1.4.5 +Version: 1.4.6 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.5 + :Version: 1.4.6 :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.5/docs/changelog.rst new/amqp-1.4.6/docs/changelog.rst --- old/amqp-1.4.5/docs/changelog.rst 2014-04-15 23:06:37.000000000 +0200 +++ new/amqp-1.4.6/docs/changelog.rst 2014-08-11 19:00:17.000000000 +0200 @@ -5,6 +5,22 @@ The previous amqplib changelog is here: http://code.google.com/p/py-amqplib/source/browse/CHANGES +.. _version-1.4.6: + +1.4.6 +===== +:release-date: 2014-08-11 06:00 P.M UTC +:release-by: Ask Solem + +- Now keeps buffer when socket times out. + + Fix contributed by Artyom Koval. + +- Adds ``Connection.Transport`` attribute that can be used to specify + a different transport implementation. + + Contributed by Yury Selivanov. + .. _version-1.4.5: 1.4.5 @@ -232,7 +248,7 @@ 1.1.0 ===== -:release-date: 2012-11-08 10:36 P.M UTC +:release-date: 2013-11-08 10:36 P.M UTC :release-by: Ask Solem - No longer supports Python 2.5 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de