From 3afec9997e3866be531ced402969eb360995196a6f011f69ac8830143c346b6d Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Thu, 7 Feb 2013 19:38:37 +0000 Subject: [PATCH 1/3] - 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. - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=70 --- kombu-2.5.4.tar.gz | 3 --- kombu-2.5.5.tar.gz | 3 +++ python-kombu.changes | 24 ++++++++++++++++++++++++ python-kombu.spec | 2 +- python3-kombu.changes | 24 ++++++++++++++++++++++++ python3-kombu.spec | 2 +- 6 files changed, 53 insertions(+), 5 deletions(-) delete mode 100644 kombu-2.5.4.tar.gz create mode 100644 kombu-2.5.5.tar.gz 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.5.tar.gz b/kombu-2.5.5.tar.gz new file mode 100644 index 0000000..24c2020 --- /dev/null +++ b/kombu-2.5.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5365135df8f2c82e2b7215a2c3dd80d058ff7ab6126027b982f00833aaceb01 +size 301488 diff --git a/python-kombu.changes b/python-kombu.changes index 4013281..46c2fa9 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +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..9344ea6 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -16,7 +16,7 @@ # Name: python-kombu -Version: 2.5.4 +Version: 2.5.5 Release: 0 License: BSD-3-Clause Summary: AMQP Messaging Framework for Python 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..10206fc 100644 --- a/python3-kombu.spec +++ b/python3-kombu.spec @@ -16,7 +16,7 @@ # Name: python3-kombu -Version: 2.5.4 +Version: 2.5.5 Release: 0 License: BSD-2-Clause Summary: AMQP Messaging Framework for Python From 51549c3d51a92c027485c9f3e75727f2236c35e301f3db2e35359a0e4fa666b9 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Fri, 8 Feb 2013 20:17:02 +0000 Subject: [PATCH 2/3] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=71 --- kombu-2.5.5.tar.gz | 3 --- kombu-2.5.6.tar.gz | 3 +++ python-kombu.changes | 7 +++++++ python-kombu.spec | 4 ++-- python3-kombu.spec | 4 ++-- 5 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 kombu-2.5.5.tar.gz create mode 100644 kombu-2.5.6.tar.gz diff --git a/kombu-2.5.5.tar.gz b/kombu-2.5.5.tar.gz deleted file mode 100644 index 24c2020..0000000 --- a/kombu-2.5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5365135df8f2c82e2b7215a2c3dd80d058ff7ab6126027b982f00833aaceb01 -size 301488 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 46c2fa9..07968fd 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/python-kombu.spec b/python-kombu.spec index 9344ea6..a8bffce 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -16,7 +16,7 @@ # Name: python-kombu -Version: 2.5.5 +Version: 2.5.6 Release: 0 License: BSD-3-Clause Summary: AMQP Messaging Framework for Python @@ -33,7 +33,7 @@ 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 diff --git a/python3-kombu.spec b/python3-kombu.spec index 10206fc..53b485e 100644 --- a/python3-kombu.spec +++ b/python3-kombu.spec @@ -16,7 +16,7 @@ # Name: python3-kombu -Version: 2.5.5 +Version: 2.5.6 Release: 0 License: BSD-2-Clause Summary: AMQP Messaging Framework for Python @@ -34,7 +34,7 @@ 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 From 364656dd22d67f4065e3c72ec631ac023cad4c7b439bfa802d4872c81a511e8c Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Tue, 12 Feb 2013 21:32:22 +0000 Subject: [PATCH 3/3] Accepting request 155216 from Cloud:OpenStack:Master - Add accept-newer-amqp-versions.diff: * Also accept amqp versions >= 1.1.0 OBS-URL: https://build.opensuse.org/request/show/155216 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=72 --- accept-newer-amqp-versions.diff | 24 ++++++++++++++++++++++++ python-kombu.changes | 6 ++++++ python-kombu.spec | 15 +++++++++------ python3-kombu.spec | 15 +++++++++------ 4 files changed, 48 insertions(+), 12 deletions(-) create mode 100644 accept-newer-amqp-versions.diff 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/python-kombu.changes b/python-kombu.changes index 07968fd..b9324db 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/python-kombu.spec b/python-kombu.spec index a8bffce..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,28 +11,30 @@ # 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.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.8 Requires: python-anyjson >= 0.3.3 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -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.spec b/python3-kombu.spec index 53b485e..f3015dc 100644 --- a/python3-kombu.spec +++ b/python3-kombu.spec @@ -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: python3-kombu 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 >= 1.0.8 Requires: python3-anyjson Suggests: couchdb @@ -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