diff --git a/accept-newer-amqp-versions.diff b/accept-newer-amqp-versions.diff new file mode 100644 index 0000000..02a50cb --- /dev/null +++ b/accept-newer-amqp-versions.diff @@ -0,0 +1,24 @@ +--- kombu.egg-info/requires.txt ++++ kombu.egg-info/requires.txt +@@ -1,2 +1,2 @@ + anyjson>=0.3.3 +-amqp>=1.0.8,<1.1.0 +\ Kein Zeilenumbruch am Dateiende. ++amqp>=1.0.8 +--- requirements/default.txt ++++ requirements/default.txt +@@ -1,2 +1,2 @@ + anyjson>=0.3.3 +-amqp>=1.0.8,<1.1.0 ++amqp>=1.0.8 +--- setup.cfg ++++ setup.cfg +@@ -28,7 +28,7 @@ + + [bdist_rpm] + requires = anyjson >= 0.3.3 +- amqp < 1.1.0 ++ amqp >= 1.0.8 + importlib + ordereddict + diff --git a/kombu-2.5.4.tar.gz b/kombu-2.5.4.tar.gz deleted file mode 100644 index 4b8dcfd..0000000 --- a/kombu-2.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92cfb82af1d3e8753258d660003769461b75abe0f1a03d720709a211042f358b -size 300506 diff --git a/kombu-2.5.6.tar.gz b/kombu-2.5.6.tar.gz new file mode 100644 index 0000000..bc127cd --- /dev/null +++ b/kombu-2.5.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01c0ba72782535df913b519d6509835f8210b4dbfde652d3a1c6f545d737beb9 +size 301670 diff --git a/python-kombu.changes b/python-kombu.changes index 4013281..b9324db 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Tue Feb 12 13:27:34 UTC 2013 - dmueller@suse.com + +- Add accept-newer-amqp-versions.diff: + * Also accept amqp versions >= 1.1.0 + +------------------------------------------------------------------- +Fri Feb 8 20:12:27 UTC 2013 - alexandre@exatati.com.br + +- Update to 2.5.6: + - Now depends on amqp 1.0.8 which works around a bug found on some + Python 2.5 installations where 2**32 overflows to 0. + +------------------------------------------------------------------- +Thu Feb 7 19:34:15 UTC 2013 - alexandre@exatati.com.br + +- Update to 2.5.5: + SQS: Now supports long polling (Issue #176). + The polling interval default has been changed to 0 and a new + transport option (wait_time_seconds) has been added. + This parameter specifies how long to wait for a message from + SQS, and defaults to 20 seconds, which is the maximum + value currently allowed by Amazon SQS. + Contributed by James Saryerwinnie. + - SQS: Now removes unpickleable fields before restoring messages. + - Consumer.__exit__ now ignores exceptions occurring while + cancelling the consumer. + - Virtual: Routing keys can now consist of characters also used + in regular expressions (e.g. parens) (Issue #194). + - Virtual: Fixed compression header when restoring messages. + Fix contributed by Alex Koshelev. + - Virtual: ack/reject/requeue now works while using basic_get. + - Virtual: Message.reject is now supported by virtual transports + (requeue depends on individual transport support). + - Fixed typo in hack used for static analyzers. + Fix contributed by Basil Mironenko. + ------------------------------------------------------------------- Thu Jan 17 01:43:41 UTC 2013 - alexandre@exatati.com.br diff --git a/python-kombu.spec b/python-kombu.spec index b1fe3eb..9d06c39 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -1,7 +1,7 @@ # # spec file for package python-kombu # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,29 +11,31 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-kombu -Version: 2.5.4 +Version: 2.5.6 Release: 0 -License: BSD-3-Clause Summary: AMQP Messaging Framework for Python -Url: http://github.com/ask/kombu/ +License: BSD-3-Clause Group: Development/Languages/Python +Url: http://github.com/ask/kombu/ Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz -BuildRequires: python-devel +Patch0: accept-newer-amqp-versions.diff +BuildRequires: python-PyYAML BuildRequires: python-amqplib BuildRequires: python-anyjson +BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-mock BuildRequires: python-msgpack-python BuildRequires: python-nose-cover3 BuildRequires: python-simplejson BuildRequires: python-unittest2 >= 0.5.0 -BuildRequires: python-PyYAML -Requires: python-amqp >= 1.0.5 +Requires: python-amqp >= 1.0.8 Requires: python-anyjson >= 0.3.3 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-importlib @@ -63,6 +65,7 @@ provide proven and tested solutions to common messaging problems. %prep %setup -q -n kombu-%{version} +%patch0 # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' ./kombu/tests/test_serialization.py # NOTE(saschpe): We have a newer python-amqp, but this shouldn't be an issue: diff --git a/python3-kombu.changes b/python3-kombu.changes index 73390d6..5144ae0 100644 --- a/python3-kombu.changes +++ b/python3-kombu.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Feb 7 19:34:46 UTC 2013 - alexandre@exatati.com.br + +- Update to 2.5.5: + SQS: Now supports long polling (Issue #176). + The polling interval default has been changed to 0 and a new + transport option (wait_time_seconds) has been added. + This parameter specifies how long to wait for a message from + SQS, and defaults to 20 seconds, which is the maximum + value currently allowed by Amazon SQS. + Contributed by James Saryerwinnie. + - SQS: Now removes unpickleable fields before restoring messages. + - Consumer.__exit__ now ignores exceptions occurring while + cancelling the consumer. + - Virtual: Routing keys can now consist of characters also used + in regular expressions (e.g. parens) (Issue #194). + - Virtual: Fixed compression header when restoring messages. + Fix contributed by Alex Koshelev. + - Virtual: ack/reject/requeue now works while using basic_get. + - Virtual: Message.reject is now supported by virtual transports + (requeue depends on individual transport support). + - Fixed typo in hack used for static analyzers. + Fix contributed by Basil Mironenko. + ------------------------------------------------------------------- Thu Jan 17 01:43:41 UTC 2013 - alexandre@exatati.com.br diff --git a/python3-kombu.spec b/python3-kombu.spec index a6013c1..f3015dc 100644 --- a/python3-kombu.spec +++ b/python3-kombu.spec @@ -11,30 +11,32 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python3-kombu -Version: 2.5.4 +Version: 2.5.6 Release: 0 -License: BSD-2-Clause Summary: AMQP Messaging Framework for Python -Url: http://github.com/ask/kombu/ +License: BSD-2-Clause Group: Development/Languages/Python +Url: http://github.com/ask/kombu/ Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz +Patch0: accept-newer-amqp-versions.diff BuildRequires: python3 -BuildRequires: python3-devel -BuildRequires: python3-distribute +BuildRequires: python3-PyYAML BuildRequires: python3-amqplib BuildRequires: python3-anyjson +BuildRequires: python3-devel +BuildRequires: python3-distribute BuildRequires: python3-mock BuildRequires: python3-msgpack-python BuildRequires: python3-nose-cover3 BuildRequires: python3-simplejson BuildRequires: python3-unittest2 -BuildRequires: python3-PyYAML -Requires: python3-amqp +Requires: python3-amqp >= 1.0.8 Requires: python3-anyjson Suggests: couchdb Suggests: mongodb @@ -56,6 +58,7 @@ provide proven and tested solutions to common messaging problems. %prep %setup -q -n kombu-%{version} +%patch0 # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' ./kombu/tests/test_serialization.py