Commit Graph

113 Commits

Author SHA256 Message Date
Ismail Dönmez
d9d38031b9 Accepting request 148681 from home:babelworx:ldig:branches:devel:languages:python
license update: BSD-3-Clause
See the LICENSE file in the package

OBS-URL: https://build.opensuse.org/request/show/148681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=68
2013-01-16 12:21:05 +00:00
Alexandre Rogoski
5342c50475 Accepting request 148608 from Cloud:OpenStack:Master
- fix python-amqp requirement so that openstack unit tests pass

OBS-URL: https://build.opensuse.org/request/show/148608
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=67
2013-01-15 16:22:23 +00:00
Sascha Peilicke
08405b4e75 - Remove the upper bound on the python-amqp requirement. We have a
never one and this shouldn't be a real issue

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=66
2013-01-15 13:07:35 +00:00
Alexandre Rogoski
4877ed8757 Accepting request 148108 from home:posophe:branches:devel:languages:python
Add python3 support and fix shebang

OBS-URL: https://build.opensuse.org/request/show/148108
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=64
2013-01-11 18:13:07 +00:00
Alexandre Rogoski
e24c6aed03 - Update to 2.5.4:
- Fixed problem with connection clone and multiple URLs (Issue #182).
    Fix contributed by Dane Guempel.
- zeromq: Now compatible with libzmq 3.2.x.
    Fix contributed by Andrey Antukh.
- Fixed Python 3 installation problem (Issue #187).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=63
2012-12-10 17:36:49 +00:00
Sascha Peilicke
633d52244b - Add requirements on Python-2.6 compat modules Python-2.6 for SLES:
+ python-importlib and python-ordereddict

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=61
2012-12-06 12:52:36 +00:00
Alexandre Rogoski
0b033a1673 - Update to 2.5.3:
- Pidbox: Fixed compatibility with Python 2.6
- Aditional changes from 2.5.2:
  - [Redis] Fixed connection leak and added a new 'max_connections'
    transport option.
- Aditional changes from 2.5.1
  - Fixed bug where return value of Queue.as_dict could not be
    serialized with JSON (Issue #177).
- Aditional changes from 2.5.0
  - py-amqp is now the new default transport, replacing amqplib.
    The new py-amqp library is a fork of amqplib started with the
    following goals:
        - Uses AMQP 0.9.1 instead of 0.8
        - Support for heartbeats (Issue #79 + Issue #131)
        - Automatically revives channels on channel errors.
        - Support for all RabbitMQ extensions
            - Consumer Cancel Notifications (Issue #131)
            - Publisher Confirms (Issue #131).
            - Exchange-to-exchange bindings: exchange_bind /
              exchange_unbind.
        - API compatible with librabbitmq so that it can be used
          as a pure-python replacement in environments where rabbitmq-c
          cannot be compiled. librabbitmq will be updated to support
          all the same features as py-amqp.
  - Support for using multiple connection URL's for failover.
    The first argument to kombu.Connection can now be a list of connection
    URLs:
        Connection(['amqp://foo', 'amqp://bar'])
    or it can be a single string argument with several URLs separated by
    semicolon:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=60
2012-12-05 05:07:13 +00:00
Todd R
548315a1cb Accepting request 143779 from home:TheBlackCat:branches:devel:languages:python
- Only require python-importlib for SLE.  It is not needed for any distro running python >= 2.7, and is not being built for those distros.

OBS-URL: https://build.opensuse.org/request/show/143779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=59
2012-12-01 22:00:34 +00:00
Sascha Peilicke
c6664d79dc Accepting request 143536 from home:iartarisi:branches:devel:languages:python
add new Requires for python-importlib

OBS-URL: https://build.opensuse.org/request/show/143536
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=58
2012-11-29 11:21:03 +00:00
Alexandre Rogoski
1b7ac7ec33 - Update to 2.4.10:
- Redis: Fixed race condition that could occur while trying to
    restore messages (Issue #171).
    Fix contributed by Ollie Walsh.
  - Redis: Each channel is now using a specific connection pool
    instance, which is disconnected on connection failure.
  - ProducerPool: Fixed possible dead-lock in the acquire method.
  - ProducerPool: force_close_all no longer tries to call the
    non-existent Producer._close.
  - librabbitmq: Now implements transport.verify_connection so
    that connection pools will not give back connections that are
    no longer working.
  - New and better repr() for Queue and Exchange objects.
  - Python3: Fixed problem with running the unit test suite.
  - Python3: Fixed problem with JSON codec.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=57
2012-11-25 11:32:40 +00:00
Alexandre Rogoski
9904760537 - Update to 2.4.8:
- Redis: Fair queue cyle implementation improved (Issue #166).
    Contributed by Kevin McCarthy.
  - Redis: Number of messages to restore in one iteration is now
    unlimited, but can be configured using the unacked_restore_limit
    transport option.
  - Redis: A Redis based mutex is now used while restoring messages.
  - LamportClock.adjust now returns the new clock value.
  - Heartbeats can now be specified in URLs.
    Fix contributed by Mher Movsisyan.
  - Kombu can now be used with PyDev, PyCharm and other static
    analysis tools.
  - Fixes problem with msgpack on Python 3 (Issue #162).
    Fix contributed by Jasper Bryant-Greene

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=56
2012-11-03 03:00:31 +00:00
Alexandre Rogoski
7403713438 - Update to 2.4.7:
- Virtual: Unknown exchanges now default to 'direct' when sending
    a message.
  - MongoDB: Fixed memory leak when merging keys stored in the db
    (Issue #159)
    Fix contributed by Michael Korbakov.
  - MongoDB: Better index for MongoDB transport (Issue #158).
    This improvement will create a new compund index for queue and
    _id in order to be able to use both indexed fields for getting
    a new message (using queue field) and sorting by _id. It'll be
    necessary to manually delete the old index from the collection.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=55
2012-09-19 01:56:53 +00:00
Alexandre Rogoski
532acb011c - Update to 2.4.6:
- Adds additional compatibility dependencies:
    - Python <= 2.6:
        - importlib
        - ordereddict
    - Python <= 2.5
        - simplejson

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=54
2012-09-12 17:12:34 +00:00
Alexandre Rogoski
b9af9d1e2e - Update to 2.4.5:
- Last version broke installtion on PyPy and Jython due to test
    requirements clean-up.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=53
2012-08-30 17:05:23 +00:00
Alexandre Rogoski
7a3b4f3ebd - Update to 2.4.4:
- amqplib: Fixed a bug with asynchronously reading large messages.
  - pyamqp: Now requires amqp 0.9.3
  - Cleaned up test requirements.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=52
2012-08-29 18:09:16 +00:00
Alexandre Rogoski
251e840d67 - Update to 2.4.3:
- Fixed problem with amqp transport alias (Issue #154).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=51
2012-08-27 14:28:08 +00:00
Alexandre Rogoski
f34966a9c7 - Removed tests as qe do not have python-amqp (only python-amqplib).
- Update to 2.4.2:
  - Having an empty transport name broke in 2.4.1.
- Aditional changes from 2.4.1:
  - Redis: Fixed race condition that could cause the consumer to
    crash (Issue #151)
    Often leading to the error message "could not convert string to
    float"
  - Connection retry could cause an inifite loop (Issue #145).
  - The amqp alias is now resolved at runtime, so that eventlet
    detection works even if patching was done later.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=50
2012-08-24 19:56:58 +00:00
Alexandre Rogoski
e5dd14f468 - Update to 2.4.0:
- New experimental ZeroMQ transport.
    Contributed by John Watson.
  - Redis: Ack timed-out messages were not restored when using the eventloop.
  - Now uses pickle protocol 2 by default to be cross-compatible with Python 3.
    The protocol can also now be changed using the PICKLE_PROTOCOL
    environment variable.
  - Adds Transport.supports_ev attribute.
  - Pika: Queue purge was not working properly.
    Fix contributed by Steeve Morin.
  - Pika backend was no longer working since Kombu 2.3
    Fix contributed by Steeve Morin.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=49
2012-08-17 20:36:07 +00:00
Alexandre Rogoski
980de3e33f - Update to 2.3.2:
- Fixes problem with deserialization in Python 3.
- Aditional changes from 2.3.1:
  - librabbitmq: Can now handle messages that does not have a
    content_encoding/content_type set (Issue #149).
    Fix contributed by C Anthony Risinger.
  - Beanstalk: Now uses localhost by default if the URL does not
    contain a host.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=48
2012-08-01 19:05:36 +00:00
Alexandre Rogoski
865d1c7c99 - Update to 2.3.0:
- New pyamqp:// transport!
    The new py-amqp library is a fork of amqplib started with the
    following goals:
        - Uses AMQP 0.9.1 instead of 0.8
        - Should support all RabbitMQ extensions
        - API compatible with librabbitmq so that it can be used
          as a pure-python replacement in environments where rabbitmq-c cannot
          be compiled.
    py-amqp: http://amqp.readthedocs.org/
    If you start using use py-amqp instead of amqplib you can enjoy many
    advantages including:
        - Heartbeat support (Issue #79 + Issue #131)
        - Consumer Cancel Notifications (Issue #131)
        - Publisher Confirms
    amqplib has not been updated in a long while, so maintaining our own fork
    ensures that we can quickly roll out new features and fixes without
    resorting to monkey patching.
    To use the py-amqp transport you must install the amqp library:
        $ pip install amqp
    and change the connection URL to use the correct transport:
        >>> conn = Connection('pyamqp://guest:guest@localhost//')
    The pyamqp:// transport will be the default fallback transport
    in Kombu version 3.0, when librabbitmq is not installed,
    and librabbitmq will also be updated to support the same features.
  - Connection now supports heartbeat argument.
    If enabled you must make sure to manually maintain heartbeats
    by calling the Connection.heartbeat_check at twice the rate
    of the specified heartbeat interval.
    E.g. if you have Connection(heartbeat=10),

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=47
2012-07-26 00:07:12 +00:00
Sascha Peilicke
523b46757d - Update to version 2.2.6:
+ Adds messaging.entry_to_queue for compat with previous versions.
  + Changes from version 2.2.5:
  + Pidbox: Now sets queue expire at 10 seconds for reply queues.
  + EventIO: Now ignores ValueError raised by epoll unregister.
  + MongoDB: Fixes Issue #142
- Changes from version 2.2.4:
  + Support for msgpack-python 0.2.0 (Issue #143)
  + kombu.common.maybe_declare no longer caches entities with the
    auto_delete flag set.
  + New experimental filesystem transport.
  + Virtual Transports: Now support anonymous queues and exchanges.
  - retry argument to Producer.publish now works properly,
    and only later bound using .revive(channel).
  * ProducerPool now takes Producer argument.
  * We now patch amqplib's __del__ method to skip trying to close the socket
  * The Connection.ensure methods now accepts a max_retries value
    A value of 0 now means *do not retry*, which is distinct from :const:None
  * SQS Transport: Now has a lowercase sqs alias, so that it can be
    This can be disabled by setting the supports_fanout transport option:
  * SQS: Can now set the Amazon AWS region, by using the region
  * amqplib: Now uses localhost as default hostname instead of raising an
  * amqplib transport: Now supports login_method for SSL auth.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=46
2012-07-11 12:58:41 +00:00
Alexandre Rogoski
15db74aead - Update to 2.2.6:
- Adds ``messaging.entry_to_queue`` for compat with previous versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=45
2012-07-10 22:42:54 +00:00
Alexandre Rogoski
d048eb114c - Update to 2.2.5:
- Pidbox: Now sets queue expire at 10 seconds for reply queues.
  - EventIO: Now ignores ``ValueError`` raised by epoll unregister.
  - MongoDB: Fixes Issue #142
    Fix by Flavio Percoco Premoli

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=44
2012-07-10 16:37:51 +00:00
Alexandre Rogoski
c0acd0ee26 - Update to 2.2.4:
- Support for msgpack-python 0.2.0 (Issue #143)
    The latest msgpack version no longer supports Python 2.5, so if you're
    still using that you need to depend on an earlier msgpack-python version.
    Fix contributed by Sebastian Insua
  - kombu.common.maybe_declare no longer caches entities with the
    auto_delete flag set.
  - New experimental filesystem transport.
    Contributed by Bobby Beever.
  - Virtual Transports: Now support anonymous queues and exchanges.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=43
2012-07-05 16:34:18 +00:00
Alexandre Rogoski
65270b90ef - Update to 2.2.3:
- BrokerConnection now renamed to Connection.
    The name Connection has been an alias for a very long time,
    but now the rename is official in the documentation as well.
    The Connection alias has been available since version 1.1.3,
    and BrokerConnection will still work and is not deprecated.
  - Connection.clone() now works for the sqlalchemy transport.
  - kombu.common.eventloop, kombu.utils.uuid,
    and kombu.utils.url.parse_url can now be
    imported from the kombu module directly.
  - Pidbox transport callback after_reply_message_received now happens
    in a finally block.
  - Trying to use the librabbitmq:// transport will now show the right
    name in the ImportError if librabbitmq is not installed.
    The librabbitmq falls back to the older pylibrabbitmq name for
    compatibility reasons and would therefore show No module named
    pylibrabbitmq instead of librabbitmq.

- Update to 2.2.2:
  - Now depends on anyjson 0.3.3
  - Json serializer: Now passes buffer objects directly,
    since this is supported in the latest anyjson version.
  - Fixes blocking epoll call if timeout was set to 0.
    Fix contributed by John Watson.
  - setup.py now takes requirements from the requirements/ directory.
  - The distribution directory contrib/ is now renamed to extra/

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=42
2012-06-25 12:22:49 +00:00
Alexandre Rogoski
e1990d2200 - Update to 2.2.1:
- SQS: Default visibility timeout is now 30 minutes.
    Since we have ack emulation the visibility timeout is
    only in effect if the consumer is abrubtly terminated.
  - retry argument to ``Producer.publish`` now works properly,
    when the declare argument is specified.
  - Json serializer: didn't handle buffer objects (Issue #135).
    Fix contributed by Jens Hoffrichter.
  - Virtual: Now supports passive argument to exchange_declare.
  - Exchange & Queue can now be bound to connections (which will use
    the default channel):
    >>> exchange = Exchange("name")
    >>> bound_exchange = exchange(connection)
    >>> bound_exchange.declare()
  - SimpleQueue & SimpleBuffer can now be bound to connections (which
    will use the default channel).
  - Connection.manager.get_bindings now works for librabbitmq and pika.
  - Adds new transport info attributes:
    - Transport.driver_type
        Type of underlying driver, e.g. "amqp", "redis", "sql".
    - Transport.driver_name
        Name of library used e.g. "amqplib", "redis", "pymongo".
    - Transport.driver_version()
        Version of underlying library.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=41
2012-06-21 15:00:10 +00:00
Alexandre Rogoski
2b82c71c37 - Update to 2.2.0:
- Please read descriptive changelog here:
    http://kombu.readthedocs.org/en/latest/changelog.html#version-2-2-0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=40
2012-06-08 13:10:17 +00:00
Alexandre Rogoski
8edf8e476d - Update to 2.1.8:
* Bound Exchange/Queue's are now pickleable.
  * Consumer/Producer can now be instantiated without a channel,
    and only later bound using ``.revive(channel)``.
  * ProducerPool now takes ``Producer`` argument.
  * kombu.utils.fxrange now counts forever if the
    stop argument is set to None.
    (fxrange is like xrange but for decimals).
  * Auto delete support for virtual transports were incomplete
    and could lead to problems so it was removed.
  * Cached declarations (kombu.common.maybe_declare)
    are now bound to the underlying connection, so that
    entities are redeclared if the connection is lost.
    This also means that previously uncacheable entities
    (e.g. non-durable) can now be cached.
  * compat ConsumerSet: can now specify channel.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=39
2012-05-07 20:52:34 +00:00
Alexandre Rogoski
66a7dbe042 - Update to 2.1.7:
* compat consumerset now accepts optional channel argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=38
2012-04-27 19:00:57 +00:00
Alexandre Rogoski
5623928e6c - Update to 2.1.6:
* SQLAlchemy transport was not working correctly after URL parser change.
  * maybe_declare now stores cached declarations per underlying connection
    instead of globally, in the rare case that data disappears from the
    broker after connection loss.
  * Django: Added South migrations.
    Contributed by Joseph Crosland.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=37
2012-04-23 14:43:37 +00:00
Alexandre Rogoski
88c90dee03 - Update to 2.1.5:
* The url parser removed more than the first leading slash (Issue #121).
  * SQLAlchemy: Can now specify url using + separator
    Example::
        BrokerConnection("sqla+mysql://localhost/db")
  * Better support for anonymous queues (Issue #116).
    Contributed by Michael Barrett.
  * Connection.as_uri now quotes url parts (Issue #117).
  * Beanstalk: Can now set message TTR as a message property.
    Contributed by Andrii Kostenko

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=36
2012-04-13 17:39:47 +00:00
Alexandre Rogoski
a30ab228f7 - Update to 2.1.4:
* MongoDB:  URL parsing are now delegated to the pymongo library
    (Fixes Issue #103 and Issue #87).
    Fix contributed by Flavio Percoco Premoli and James Sullivan
  * SQS:  A bug caused SimpleDB to be used even if sdb persistence
    was not enabled (Issue #108).
    Fix contributed by Anand Kumria.
  * Django:  Transaction was committed in the wrong place, causing
    data cleanup to fail (Issue #115).
    Fix contributed by Daisuke Fujiwara.
  * MongoDB: Now supports replica set URLs.
    Contributed by Flavio Percoco Premoli.
  * Redis: Now raises a channel error if a queue key that is currently
    being consumed from disappears.
    Fix contributed by Stephan Jaekel.
  * All transport 'channel_errors' lists now includes
    kombu.exception.StdChannelError.
  * All kombu exceptions now inherit from a common
    kombu.exceptions.KombuError.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=35
2012-04-10 16:20:15 +00:00
Sascha Peilicke
17271b8000 - Change rabbitmq-server recommends to suggests, OpenStack doesn't like that
- Simplified macro usage
- Use upstream tarball

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=34
2012-03-27 08:40:08 +00:00
Alexandre Rogoski
c4537bdb56 - Update to 2.1.3:
* Fixes Jython compatibility issues.
  * Fixes Python 2.5 compatibility issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=32
2012-03-20 17:45:33 +00:00
Alexandre Rogoski
74c87c3c52 - Add BuildRequires python-unittest2 to fix SLE builds.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=31
2012-03-14 14:00:19 +00:00
Alexandre Rogoski
13685e99de - License tag fixed to BSD-3-Clause.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=30
2012-03-14 13:26:56 +00:00
Sascha Peilicke
e01c181fad - Require rabbitmq-server, suggest mongodb or couchdb
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=29
2012-03-10 17:49:54 +00:00
Sascha Peilicke
8700ecce4a - Update to version 2.1.1:
* Connection URLs now supports encoded characters.
  * Fixed a case where connection pool could not recover from connection loss.
  * We now patch amqplib's ``__del__`` method to skip trying to close the socket
    if it is not connected, as this resulted in an annoying warning.
  * Compression can now be used with binary message payloads.
- Don't install INSTALL
- Run testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=28
2012-03-10 17:07:06 +00:00
Alexandre Rogoski
83882cee05 - Update to 2.1.0:
* MongoDB: Now supports fanout (broadcast) (Issue #98).
    Contributed by Scott Lyons.
  * pika transport: Now works with pika 0.9.5 and 0.9.6dev.
    The old pika transport (supporting 0.5.x) is now available
    as alias oldpika.
    (Note terribly latency has been experienced with the new pika
    versions, so this is still an experimental transport).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=27
2012-02-04 18:05:55 +00:00
Alexandre Rogoski
d54965ec0f - Update to 2.0.0:
Important Notes
  - No longer supports Python 2.4.
  New Transports
  - django-kombu is now part of Kombu core.
  - kombu-sqlalchemy is now part of Kombu core.
  News
  - kombu.mixins.ConsumerMixin is a mixin class that lets you
    easily write consumer programs and threads.
  - SQS Transport: Added support for SQS queue prefixes (Issue #84).
  - Producer.publish now supports automatic retry.
  - Producer.publish now supports a declare keyword argument.
  Fixes
  - Redis transport: Timeout was multiplied by 1000 seconds when 
    using select for event I/O (Issue #86).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=26
2012-01-17 01:18:47 +00:00
Alexandre Rogoski
ccec8e0c0a - Update to 1.5.1:
* Fixes issue with kombu.compat introduced in 1.5.0 (Issue #83).
  * Adds the ability to disable content_types in the serializer registry.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=25
2011-11-30 14:56:34 +00:00
Alexandre Rogoski
b40d3c271a - Update to 1.5.0:
* kombu.pools: Fixed a bug resulting in resources not being properly released.
    This was caused by the use of __hash__ to distinguish them.
  * Virtual transports: Dead-letter queue is now disabled by default.
    The dead-letter queue was enabled by default to help application
    authors, but now that Kombu is stable it should be removed.
    There are after all many cases where messages should just be dropped
    when there are no queues to buffer them, and keeping them without
    supporting automatic cleanup is rather considered a resource leak
    than a feature.
    If wanted the dead-letter queue can still be enabled, by using
    the deadletter_queue transport option:
        >>> x = BrokerConnection("redis://",
        ...       transport_options={"deadletter_queue": "ae.undeliver"})
    In addition, an UndeliverableWarning is now emitted when
    the dead-letter queue is enabled and a message ends up there.
  * MongoDB transport now supports Replicasets (Issue #81).
  * The Connection.ensure`` methods now accepts a max_retries value
    of 0.
    A value of 0 now means *do not retry*, which is distinct from :const:`None`
    which means *retry indefinitely*.
  * SQS Transport: Now has a lowercase `sqs alias, so that it can be
    used with broker URLs (Issue #82).
  * SQS Transport: Fixes KeyError on message acknowledgements (Issue #73).
    The SQS transport now uses UUID's for delivery tags, rather than
    a counter.
  * SQS Transport: Unicode related fixes (Issue #82).
  * Redis version check could crash because of improper handling of types
    (Issue #63).
  * Fixed error with Resource.force_close_all, when resources

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=24
2011-11-28 02:28:28 +00:00
Sascha Peilicke
c99e61b73c - Set license to SPDX style (BSD-2-Clause)
- Removed outdated %clean section

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=23
2011-11-24 11:39:42 +00:00
Alexandre Rogoski
f985f88490 - Update to 1.4.3:
-  Fixes bug in ProducerPool where too many resources would be acquired.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=22
2011-10-27 22:33:54 +00:00
Alexandre Rogoski
f89e389f98 - Update to 1.4.2:
- Eventio: Polling should ignore errno.EINTR
  - SQS: str.encode did only start accepting kwargs after Py2.7.
  - simple_task_queue example didn’t run correctly (Issue #72).
  - Empty messages would not raise an exception not able to be
    handled by on_decode_error (Issue #72)
  - CouchDB: Properly authenticate if user/password set (Issue #70)
  - BrokerConnection.Consumer had the wrong signature.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=21
2011-10-26 18:18:43 +00:00
Alexandre Rogoski
e16065ad07 - Update to 1.4.1:
- 1.4.0 broke the producer pool, resulting in new connections being
    established for every acquire.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=20
2011-09-26 18:48:26 +00:00
Alexandre Rogoski
ad43ea6e20 - Update to 1.4.0:
- Adds module kombu.mixins.
  - New example: Task Queue Example
  - MongoDB transport did not work with MongoDB >= 2.0 (Issue #66)
  - Redis-py version check did not account for beta identifiers in
    version string.
  - Producer and Consumer now accepts a connection instance as the
    first argument.
  - BrokerConnection has aquired a connected attribute that can be
    used to check if the connection instance has established a
    connection.
  - ConnectionPool.acquire_channel now returns the connections
    default channel rather than establising a new channel that must be manually handled.
  - Added kombu.common.maybe_declare
  - kombu.compat.entry_to_queue() has been moved to kombu.common
  - New module kombu.clocks now contains an implementation of
    Lamports logical clock.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=19
2011-09-22 17:05:09 +00:00
Alexandre Rogoski
24f4238120 - Update to 1.3.5:
* Python 3: AMQP_PROTOCOL_HEADER must be bytes, not str.
- Changes from 1.3.4:
  * Fixes syntax error in pools.reset

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=18
2011-09-19 18:47:11 +00:00
Alexandre Rogoski
28bbecb9b2 - Update to 1.3.3:
* pools.reset did not support after forker arguments.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=17
2011-09-15 16:59:43 +00:00
Alexandre Rogoski
39e0dc9196 - Update to 1.3.2:
* Broke Python 2.5 compatibility by importing parse_qsl from urlparse
  * Connection.default_channel is now closed when connection is revived
    after connection failures.
  * Pika: Channel now supports the connection.client attribute
    as required by the simple interface.
  * pools.set_limit now raises an exception if the limit is lower
    than the previous limit.
  * pools.set_limit no longer resets the pools.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=16
2011-09-11 01:22:41 +00:00
Alexandre Rogoski
02135d8d29 - Update to 1.3.1:
* Last release broke after fork for pool reinitialization.
  * Producer/Consumer now has a connection attribute,
    giving access to the BrokerConnection of the
    instance.
  * Pika: Channels now have access to the underlying
    BrokerConnection instance using channel.connection.client.
    This was previously required by the Simple classes and is now
    also required by Consumer and Producer.
  * Connection.default_channel is now closed at object revival.
  * Adds kombu.clocks.LamportClock.
  * compat.entry_to_queue has been moved to new module kombu.common.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=15
2011-09-08 01:42:08 +00:00
Alexandre Rogoski
5f6c3ebce4 - Update to 1.3.0:
* Broker connection info can be now be specified using URLs
  * Now comes with default global connection and producer pools
  * SQS Transport: Persistence using SimpleDB is now disabled by
    default, after reports of unstable SimpleDB connections leading
    to errors
  * Producer can now be used as a context manager
  * Producer.__exit__ now properly calls release instead of close
  * Now silences all exceptions from import ctypes to match behaviour
    of the standard Python uuid module, and avoid passing on
    MemoryError exceptions on SELinux-enabled systems (Issue #52 +
    Issue #53)
  * amqp is now an alias to the amqplib transport
  * kombu.syn.detect_environment now returns ‘default’, ‘eventlet’,
    or ‘gevent’ depending on what monkey patches have been installed
  * Serialization registry has new attribute type_to_name so it is
    possible to lookup serializater name by content type
  * Exchange argument to Producer.publish can now be an Exchange
    instance
  * compat.Publisher now supports the channel keyword argument
  * Acking a message on some transports could lead to KeyError being
    raised (Issue #57)
  * Connection pool: Connections are no long instantiated when the
    pool is created, but instantiated as needed instead
  * Tests now pass on PyPy
  * Connection.as_uri now includes the password if the keyword
    argument include_password is set
  * Virtual transports now comes with a default
    default_connection_params attribute

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=14
2011-09-05 22:56:33 +00:00
Alexandre Rogoski
95c4bae812 - Update to 1.2.1:
* Now depends on amqplib >= 1.0.0.
  * Redis: Now automatically deletes auto_delete queues at basic_cancel.
  * serialization.unregister added so it is possible to remove unwanted
    seralizers.
  * Fixes MemoryError while importing ctypes on SELinux (Issue #52).
  * BrokerConnection.autoretry is a version of ensure that works
    with arbitrary functions (i.e. it does not need an associated object
    that implements the revive method.
  * ConnectionPool.acquire no longer force establishes the connection.
     The connection will be established as needed.
  * BrokerConnection.ensure now supports an on_revive callback
    that is applied whenever the connection is re-established.
  * Consumer.consuming_from(queue) returns True if the Consumer is
    consuming from queue.
  * Consumer.cancel_by_queue did not remove the queue from queues.
  * compat.ConsumerSet.add_queue_from_dict now automatically declared
    the queue if auto_declare set.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=13
2011-07-29 12:46:53 +00:00
Alexandre Rogoski
7a2590bfcd - Update to 1.2.0:
* Virtual: Fixes cyclic reference in Channel.close (Issue #49).
  * Producer.publish: Can now set additional properties using keyword
    arguments (Issue #48).
  * Adds Queue.no_ack option to control the no_ack option for individual queues.
  * Recent versions broke pylibrabbitmq support.
  * SimpleQueue and SimpleBuffer can now be used as contexts.
  * Test requirements specifies PyYAML==3.09 as 3.10 dropped Python 2.4 support
  * Now properly reports default values in Connection.info/.as_uri

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=12
2011-07-15 12:53:33 +00:00
Alexandre Rogoski
f674b3f66d - Update to 1.1.6:
* Redis: Fixes issue introduced in 1.1.4, where a redis connection
    failure could leave consumer hanging forever.
  * SQS: Now supports fanout messaging by using SimpleDB to store routing
    tables.
    This can be disabled by setting the `supports_fanout` transport option:
        >>> BrokerConnection(transport="SQS",
        ...                  transport_options={"supports_fanout": False})
  * SQS: Now properly deletes a message when a message is acked.
  * SQS: Can now set the Amazon AWS region, by using the ``region``
    transport option.
  * amqplib: Now uses `localhost` as default hostname instead of raising an
    error.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=11
2011-06-13 22:53:01 +00:00
Alexandre Rogoski
89880ec3e1 - Update to 1.1.5:
* Fixes compatibility with redis-py 2.4.4.
- Aditional changes from:
  * Redis transport: Now requires redis-py version 2.4.4 or later.
  * New Amazon SQS transport added.
  * librabbitmq transport: Fixes default credentials support.
  * amqplib transport: Now supports `login_method` for SSL auth.
    Default login_method is AMQPLAIN.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=10
2011-06-07 23:00:47 +00:00
Alexandre Rogoski
23a97cf779 - Update to 1.1.3:
* Redis: Consuming from multiple connections now works with
    Eventlet.
  * Redis: Can now perform channel operations while the channel
    is in BRPOP/LISTEN mode (Issue #35).
      Also the async BRPOP now times out after 1 second, this
      means that cancelling consuming from a queue/starting
      consuming from additional queues has a latency of up to
      one second (BRPOP does not support subsecond timeouts).
  * Virtual: Allow channel objects to be closed multiple times
    without error.
  * amqplib: AttributeError has been added to the list of known
    connection related errors (Connection.connection_errors).
  * amqplib: Now converts SSLError timeout errors to
    socket.timeout (http://bugs.python.org/issue10272)
  * Ensures cyclic references are destroyed when the connection
    is closed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=9
2011-04-21 18:09:41 +00:00
Alexandre Rogoski
01db333348 - Update to 1.1.2:
* Redis: Fixes serious issue where messages could be lost.
    The issue could happen if the message exceeded a certain number
    of kilobytes in size.
    It is recommended that all users of the Redis transport should
    upgrade to this version, even if not currently experiencing any
    issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=6
2011-04-06 17:55:56 +00:00
Alexandre Rogoski
71f1ac549d - Update to 1.1.1:
* Virtual transports: Message body is now base64 encoded by
    default (Issue #27).
    This should solve problems sending binary data with virtual
    transports.
    Message compatibility is handled by adding a body_encoding
    property, so messages sent by older versions is compatible
    with this release. However – If you are accessing the
    messages directly not using Kombu, then you have to respect
    the body_encoding property.
    For transport authors:
      You don’t have to change anything in your custom
      transports, as this is handled automatically by the base
      class.
      If you want to use a different encoder you can do so by
      adding a key to Channel.codecs. Default encoding is
      specified by the Channel.body_encoding attribute.
      A new codec must provide two methods: encode(data) and
      decode(data).
  * ConnectionPool/ChannelPool/Resource: Setting limit=None
    (or 0) now disables pool semantics, and will establish and
    close the resource whenever acquired or released.
  * ConnectionPool/ChannelPool/Resource: Is now using a LIFO
    queue instead of the previous FIFO behavior.
  * BrokerConnection: Cloned connections did not inherit
    transport_options (__copy__).
  * contrib/requirements is now located in the top directory of
    the distribution.
  * MongoDB: Now supports authentication using the userid and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=5
2011-04-06 01:27:26 +00:00
Alexandre Rogoski
f379f33d21 - Update to 1.0.7:
* Now depends on anyjson 0.3.1
    cjson is no longer a recommended json implementation, and anyjson
    will now emit a deprecation warning if used.
  * Please note that the Pika backend only works with version 0.5.2.
    The latest version (0.9.x) drastically changed API, and it is not
    compatible yet.
  * on_decode_error is now called for exceptions in message_to_python
    (Issue #24).
  * Redis: did not respect QoS settings.
  * Redis: Creating a connection now ensures the connection is established.
    This means BrokerConnection.ensure_connection works properly with
    Redis.
  * consumer_tag argument to Queue.consume can't be None
    (Issue #21).
    A None value is now automatically converted to empty string.
    An empty string will make the server generate a unique tag.
  * BrokerConnection now supports a transport_options argument.
    This can be used to pass additional arguments to transports.
  * Pika: drain_events raised socket.timeout even if no timeout
    set (Issue #8).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=4
2011-03-29 04:25:18 +00:00
Alexandre Rogoski
898e1e373d - Update to 1.0.6:
- The delivery_mode aliases (persistent/transient) were not
    automatically converted to integer, and would cause a crash if
    using the amqplib transport.
  - Redis: The redis-py InvalidData exception suddenly changed
    name to DataError.
  - The KOMBU_LOG_DEBUG environment variable can now be set to log
    all channel method calls.
  - Support for the following environment variables have been added:
    - KOMBU_LOG_CHANNEL will wrap channels in an object that logs
      every method call.
    - KOMBU_LOG_DEBUG both enables channel logging and configures
      the root logger to emit messages to standard error.
- Aditional changes from 1.0.5:
  - Fixed memory leak when creating virtual channels. All virtual
    transports affected (redis, mongodb, memory, django, sqlalchemy,
    couchdb, beanstalk).
  - Virtual Transports: Fixed potential race condition when acking
    messages.
  - If you have been affected by this, the error would show itself
    as an exception raised by the OrderedDict implementation.
    (object no longer exists).
  - MongoDB transport requires the findandmodify command only
    available in MongoDB 1.3+, so now raises an exception if
    connected to an incompatible server version.
  - Virtual Transports: basic.cancel should not try to remove
    unknown consumer tag.
- Added AUTHORS Changelog FAQ INSTALL README THANKS TODO files
  as documentation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=3
2011-03-22 17:15:26 +00:00
Alexandre Rogoski
5a9998cefb - Update to 1.0.4:
* Added Transport.polling_interval
    Used by django-kombu to increase the time to sleep between SELECTs when
    there are no messages in the queue.
    Users of django-kombu should upgrade to django-kombu v0.9.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=2
2011-03-01 03:46:30 +00:00
Sascha Peilicke
fb1b7c6522 Accepting request 60656 from home:aledr
OBS-URL: https://build.opensuse.org/request/show/60656
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=1
2011-02-14 16:14:53 +00:00