* AsyncioConnection, TornadoConnection and TwistedProtocolConnection
are no longer auto-imported
* BlockingConnection.consume now returns (None, None, None) when inactivity
timeout is reached
* Python 3.7 support
* all_channels parameter of the Channel.basic_qos method renamed to global_qos
* global_ parameter of the Basic.Qos spec class renamed to global_qos
* NOTE: heartbeat_interval is removed, use heartbeat instead.
* NOTE: The backpressure_detection option of ConnectionParameters
and URLParameters property is REMOVED in favor of Connection.Blocked
and Connection.Unblocked. See Connection.add_on_connection_blocked_callback
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=28
- update to 0.10.0:
* LibevConnection: Fixed dict chgd size during iteration
* SelectConnection: Fixed KeyError exceptions in IOLoop timeout executions
* BlockingConnection: Add support to make BlockingConnection a Context Manager
* f72b58f - Fixed failure to purge _ConsumerCancellationEvt from
BlockingChannel._pending_events during basic_cancel.
* Change to 3-Clause BSD License
* Python 3.x support
* Over 150 commits from 19 contributors
* Refactoring of SelectConnection ioloop
* This major release contains certain non-backward-compatible API changes as
well as significant performance improvements in the BlockingConnection
adapter.
* Non-backward-compatible changes in Channel.add_on_return_callback
callback’s signature.
* The AsynchoreConnection adapter was retired
* see also https://pika.readthedocs.org/en/0.10.0/version_history.html
- Add and update LICENSE. It's now BSD-3-Clause
- Remove README.md . It's shipped as README.rst in the upstream tarball
OBS-URL: https://build.opensuse.org/request/show/373683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=9
- 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
OBS-URL: https://build.opensuse.org/request/show/209552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=5