- Revert _lookup api and correct redis implemetnation.
- Major overhaul of redis test cases by adding more full featured fakeredis module.
- Add more test cases to boost coverage of kombu redis transport.
- Refactor the producer consumer test cases to be based on original mocks and be passing
- Fix lingering line length issue in test.
- Sanitise url when include_password is false
- Pinned pycurl to 7.43.0.2 as it is the latest build with wheels provided
- Bump py-amqp to 2.5.2
- Rebase python38.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=147
- Use importlib-metadata instead of pkg_resources for better performance
- Allow users to switch URLs while omitting the resource identifier (#1032)
- Don't stop receiving tasks on 503 SQS error. (#1064)
- Fix maybe declare (#1066)
- Revert "Revert "Use SIMEMBERS instead of SMEMBERS to check for queue (Redis Broker)
- Fix MongoDB backend to work properly with TTL (#1076)
- Make sure that max_retries=0 is treated differently than None (#1080)
- Bump py-amqp to 2.5.1
- Add patch to fix build with py 3.8:
* python38.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=145
- version update to 4.4.0
* Restore bz2 import checks in compression module.
* Fix regression that occurred in 4.3.0
when parsing Redis Sentinel master URI containing password.
* Handle the case when only one Redis Sentinel node is provided.
* Support SSL URL parameters correctly for `rediss://`` URIs.
* Revert `celery/kombu#954 <https://github.com/celery/kombu/pull/954>`_.
Instead bump the required redis-py dependency to 3.2.0
to include this fix `andymccurdy/redis-py@4e1e748
* Added support for broadcasting using a regular expression pattern
or a glob pattern to multiple Pidboxes.
OBS-URL: https://build.opensuse.org/request/show/689320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=135
- Now depends on :mod:`amqp` 2.0.
The new py-amqp version have been refactored for better performance,
using modern Python socket conventions, and API consistency.
- No longer depends on :mod:`anyjson`.
Kombu will now only choose between :pypi:`simplejson` and the built-in
:mod:`json`.
- Removed transports that are no longer supported in this version:
- Django ORM transport
- SQLAlchemy ORM transport
- Beanstalk transport
- ZeroMQ transport
- amqplib transport (use pyamqp).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=116
- update to version 3.0.24:
- The `Qpid <http://qpid.apache.org/>`_ broker is supported for Python 2.x
environments. The Qpid transport includes full SSL support within Kombu. See
the :mod:`kombu.transport.qpid` docs for more info.
- Dependencies: extra[librabbitmq] now requires librabbitmq 1.6.0
- Docstrings for :class:`~kombu.utils.limit.TokenBucket` did not match
implementation.
- :func:`~kombu.common.oid_from` accidentally called ``uuid.getnode()`` but
did not use the return value.
- Redis: Now ignores errors when cosing the underlying connection.
- Redis: Restoring messages will now use a single connection.
- ``kombu.five.monotonic``: Can now be imported even if ctypes is not
available for some reason (e.g. App Engine)
- Documentation: Improved example to use the ``declare`` argument to
``Producer`` (Issue #423).
- Django: Fixed ``app_label`` for older Django versions (``< 1.7``).
(Issue #414).
- fixed python-amqp BuildRequire
OBS-URL: https://build.opensuse.org/request/show/262477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=103
- update to 3.0.16:
- ``kombu[librabbitmq]`` now depends on librabbitmq 1.5.1.
- Tests: Some unit tests accidentally required the `redis-py` library.
- librabbitmq: Would crash when using an older version of :mod:`librabbitmq`,
now emits warning instead.
- remove kombu-fix-redis-tests.patch: Fixed differently upstream
- add kombu-fix-redis-tests.patch
* Add skip_if_no_module decorator
- update to 3.0.15:
* Now depends on :mod:`amqp` 1.4.5.
* RabbitMQ 3.3 changes QoS semantics (Issue #339).
* Users of :mod:`librabbitmq` is encouraged to upgrade to librabbitmq 1.5.0.
* Pools: Now takes transport options into account when comparing connections
(Issue #333).
* MongoDB: Fixes Python 3 compatibility.
* Async: select: Ignore socket errors when attempting to unregister handles
from the loop.
* Pidbox: Can now be configured to use a serializer other than json,
but specifying a serializer argument to :class:`~kombu.pidbox.Mailbox`.
* Message decompression now works with Python 3.
- update to 3.0.14:
* **MongoDB**: Now endures a connection failover (Issue #123).
* **MongoDB**: Fixed ``KeyError`` when a replica set member is removed.
* **MongoDB**: Fixed MongoDB broadcast cursor re-initialization bug.
* **Async**: Fixed bug in lax semaphore implementation where in
some usage patterns the limit was not honored correctly.
* **Redis**: Fixed problem with fanout when using Python 3 (Issue #324).
* **Redis**: Fixed ``AttributeError`` from attempting to close a non-existing
OBS-URL: https://build.opensuse.org/request/show/235453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=97
- update to 3.0.10:
* Now depends on amqp 1.4.1.
* maybe_declare now raises a “recoverable connection error”
if the channel is disconnected
* Redis: Consumer.cancel() is now thread safe.
* Fixed “unhashable type” error on Python 3
* Do not attempt to unregister operations on an already closed
poller instance
- update to 3.0.9:
- Now depends on :mod:`amqp` 1.4.0.
- Redis: Basic cancel for fanout based queues now sends a corresponding
``UNSUBSCRIBE`` command to the server.
- MongoDB: Improved connection string and options handling
(Issue #266 + Issue #120).
- SQS: Limit the number of messages when receiving in batch to 10.
- ConsumerMixin: ``consume`` now checks heartbeat every time the
socket times out.
- Retry Policy: A max retries of 0 did not retry forever.
- Simple: If passing a Queue object the simple utils will now take
default routing key from that queue.
- Redis: The map of Redis error classes are now exposed at the module level
using the :func:`kombu.transport.redis.get_redis_error_classes` function.
- Async: ``Hub.close`` now sets ``.poller`` to None.
OBS-URL: https://build.opensuse.org/request/show/214588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=93
- update to 3.0.8:
- Redis: Would attempt to read from the wrong connection if a select/epoll/kqueue
exception event happened.
- Redis: Disabling ack emulation now works properly.
- Redis: :exc:`IOError` and :exc:`OSError` are now treated as recoverable
connection errors.
- SQS: Improved performance by reading messages in bulk.
- Connection Pool: Attempting to acquire from a closed pool will now
- Changes from 3.0.7:
- Fixes Python 2.6 compatibility.
- Redis: Fixes 'bad file descriptor' issue.
OBS-URL: https://build.opensuse.org/request/show/213834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=92
- Don't require python-msgpack-python for testing until issues are fixed.
It's an optional feature anyway
- Expanded test coverage
- Don't require python-msgpack-python for testing until issues are fixed.
It's an optional feature anyway
- Drop link to python3-kombu, it's not really support Py3K ATM
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=84
Kombu 3 consumers will no longer accept pickle/yaml or msgpack
by default, and you will have to explicitly enable untrusted deserializers
either globally using kombu.enable_insecure_serializers, or
using the accept argument to kombu.Consumer.
- New utility function to disable/enable untrusted serializers.
- kombu.disable_insecure_serializers
- kombu.enable_insecure_serializers
- Consumer: `accept` can now be used to specify a whitelist
of content types to accept.
If the accept whitelist is set and a message is received
with a content type that is not in the whitelist then a
:exc:`~kombu.exceptions.ContentDisallowed` exception
is raised. Note that this error can be handled by the already
existing `on_decode_error` callback
Examples:
Consumer(accept=['application/json'])
Consumer(accept=['pickle', 'json'])
- Now depends on amqp 1.0.11
- pidbox: Mailbox now supports the `accept` argument.
- Redis: More friendly error for when keys are missing.
- Connection URLs: The parser did not work well when there were
multiple '+' tokens.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=76
- Pidbox: Now warns if there are multiple nodes consuming from
the same pidbox.
- Adds Queue.on_declared <kombu.Queue.on_declared>
A callback to be called when the queue is declared,
with signature (name, messages, consumers).
- Now uses fuzzy matching to suggest alternatives to typos in transport
names.
- SQS: Adds new transport option queue_prefix.
Contributed by j0hnsmith.
- pyamqp: No longer overrides verify_connection.
- SQS: Now specifies the driver_type and driver_name
attributes.
Fix contributed by Mher Movsisyan.
- Fixed bug with kombu.utils.retry_over_time when no errback
specified.
- Update to 2.5.9:
- Pidbox: Now warns if there are multiple nodes consuming from
the same pidbox.
- Adds Queue.on_declared <kombu.Queue.on_declared>
A callback to be called when the queue is declared,
with signature (name, messages, consumers).
- Now uses fuzzy matching to suggest alternatives to typos in transport
names.
- SQS: Adds new transport option queue_prefix.
Contributed by j0hnsmith.
- pyamqp: No longer overrides verify_connection.
- SQS: Now specifies the driver_type and driver_name
attributes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=75
- Now depends on amqp 1.0.10 which fixes a Python 3 compatibility
error.
- Redis: Fixed a possible race condition (Issue #171).
- Redis: Ack emulation/visibility_timeout can now be disabled
using a transport option.
Ack emulation adds quite a lot of overhead to ensure data is safe
even in the event of an unclean shutdown. If data loss do not worry
you there is now an `ack_emulation` transport option you can use
to disable it:
Connection('redis://', transport_options={'ack_emulation': False})
- SQS: Fixed boto v2.7 compatibility (Issue #207).
- Exchange: Should not try to re-declare default exchange ("")
(Issue #209).
- SQS: Long polling is now disabled by default as it was not
implemented correctly, resulting in long delays between receiving
messages (Issue #202).
- Fixed Python 2.6 incompatibility depending on exc.errno
being available.
Fix contributed by Ephemera.
- Update to 2.5.8:
- Now depends on amqp 1.0.10 which fixes a Python 3 compatibility
error.
- Redis: Fixed a possible race condition (Issue #171).
- Redis: Ack emulation/visibility_timeout can now be disabled
using a transport option.
Ack emulation adds quite a lot of overhead to ensure data is safe
even in the event of an unclean shutdown. If data loss do not worry
you there is now an `ack_emulation` transport option you can use
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=74
- Now depends on amqp 1.0.9
- Redis: A regression in 2.5.6 caused the redis transport to
ignore options set in transport_options.
- Redis: New socket_timeout transport option.
- Redis: InconsistencyError is now regarded as a recoverable error.
- Resource pools: Will no longer attempt to release resource
that was never acquired.
- MongoDB: Now supports the ssl option.
Contributed by Sebastian Pawlus.
- Update to 2.5.7:
- Now depends on amqp 1.0.9
- Redis: A regression in 2.5.6 caused the redis transport to
ignore options set in transport_options.
- Redis: New socket_timeout transport option.
- Redis: InconsistencyError is now regarded as a recoverable error.
- Resource pools: Will no longer attempt to release resource
that was never acquired.
- MongoDB: Now supports the ssl option.
Contributed by Sebastian Pawlus.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=73