diff --git a/pika-0.9.12.tar.gz b/pika-0.9.12.tar.gz deleted file mode 100644 index be63c8d..0000000 --- a/pika-0.9.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:670787ee6ade47cadd1ec8220876b9b7ae4df7bc4b9dd1d808261a6b47e9ce5d -size 61825 diff --git a/pika-0.9.13.tar.gz b/pika-0.9.13.tar.gz new file mode 100644 index 0000000..5a1b98a --- /dev/null +++ b/pika-0.9.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5c0e3e22e56f1767afdd1ca936711ff4a98a684711a5fb20147debc010f1aa0 +size 63479 diff --git a/python-pika.changes b/python-pika.changes index 59d18f3..2b5a863 100644 --- a/python-pika.changes +++ b/python-pika.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Dec 4 20:39:50 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.9.13 + + IPv6 Support + + Officially remove support for <= Python 2.5 even though it was + broken already + + Drop pika.simplebuffer.SimpleBuffer in favor of the Python stdlib + collections.deque object + + New default object for receiving content is a “bytes” object which + is a str wrapper in Python 2, but paves way for Python 3 support + + New “Raw” mode for frame decoding content frames (#334) addresses + issues #331, #229 + + Connection and Disconnection logic refactored, allowing for cleaner + separation of protocol logic and socket handling logic as well as + connection state management + + New “on_open_error_callback” argument in creating connection + objects and new Connection.add_on_open_error_callback method + + New Connection.connect method to cleanly allow for reconnection code + + Support for all AMQP field types, using protocol specified + signed/unsigned unpacking + + Method signature for creating connection objects has new argument + “on_open_error_callback” which is positionally before “on_close_callback” + + Internal callback variable names in connection.Connection have been + renamed and constants used. If you relied on any of these callbacks + outside of their internal use, make sure to check out the new constants. + + Connection._connect method, which was an internal only method is now + deprecated and will raise a DeprecationWarning. If you relied on + this method, your code needs to change. + + pika.simplebuffer has been removed + + BlockingConnection consumer generator does not free buffer + when exited (#328) + + Unicode body payloads in the blocking adapter raises exception (#333) + + Support “b” short-short-int AMQP data type (#318) + + Docstring type fix in adapters/select_connection (#316) + + IPv6 not supported (#309) + + Stop the HeartbeatChecker when connection is closed (#307) + + Unittest fix for SelectConnection (#336) + + Handle condition where no connection or socket exists but + SelectConnection needs a timeout for retrying a connection (#322) + + TwistedAdapter lagging behind BaseConnection changes (#321) + + Refactored documentation + + Added Twisted Adapter example (#314) +- Remove CFLAGS definition +- Remove redundant %clean section + ------------------------------------------------------------------- Thu Mar 21 09:45:07 UTC 2013 - matwey.kornilov@gmail.com diff --git a/python-pika.spec b/python-pika.spec index ecf8c3e..6bf091f 100644 --- a/python-pika.spec +++ b/python-pika.spec @@ -1,7 +1,7 @@ # # spec file for package python-pika # -# Copyright (c) 2011 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 @@ -15,14 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - %define mod_name pika Name: python-%{mod_name} -Version: 0.9.12 +Version: 0.9.13 Release: 0 Url: http://pika.github.com/ Summary: Pika Python AMQP Client Library @@ -32,13 +28,13 @@ Source0: %{mod_name}-%{version}.tar.gz # README.md file is from Git, but is not distributed by tarball Source1: README.md BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel python-setuptools -%if 0%{?suse_version} -%py_requires -%if %{?suse_version: %{suse_version} > 1110} +BuildRequires: python-devel +BuildRequires: python-setuptools +%if 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%else BuildArch: noarch %endif -%endif %description Pika is a pure-Python implementation of the AMQP 0-9-1 protocol that @@ -51,15 +47,11 @@ should also work with other AMQP 0-9-1 brokers. cp %{S:1} . %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root,-) %doc README.md