commit python3-kombu for openSUSE:Factory
Hello community, here is the log from the commit of package python3-kombu for openSUSE:Factory checked in at 2016-11-28 15:10:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-kombu (Old) and /work/SRC/openSUSE:Factory/.python3-kombu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-kombu" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-kombu/python3-kombu.changes 2016-06-19 10:49:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-kombu.new/python3-kombu.changes 2016-11-28 15:10:32.000000000 +0100 @@ -1,0 +2,101 @@ +Sat Nov 26 18:26:16 UTC 2016 - arun@gmx.de + +- specfile: + * updated sed, rm commands (path to files changed) + +- update to version 4.0.0: + * Now depends on :mod:`amqp` 2.0. + * No longer depends on :mod:`anyjson`. + * Removed transports that are no longer supported in this version: + + Django ORM transport + + SQLAlchemy ORM transport + + Beanstalk transport + + ZeroMQ transport + + amqplib transport (use pyamqp). + * API Changes + + Signature of :class:`kombu.Message` now takes body as first + argment. + * New SQS transport + + "kombu[sqs]" now depends on :pypi:`pycurl`. + * New Consul transport. + * New etcd transport. + * New Qpid transport. + * Redis: Priority 0 is now lowest, 9 is highest. (**backward + incompatible**) + * Redis: Support for Sentinel + * RabbitMQ Queue Extensions + + "Queue(expires=20.0)" + + "Queue(message_ttl=30.0)" + + "Queue(max_length=1000)" + + "Queue(max_length_bytes=1000)" + + "Queue(max_priority=10)" + * RabbitMQ: "Message.ack" now supports the "multiple" argument. + * "amqps://" can now be specified to require SSL (Issue #610). + * "Consumer.cancel_by_queue" is now constant time. + * "Connection.ensure*" now raises + :exc:`kombu.exceptions.OperationalError`. + * Redis: Fixed SSL support. + * New "Queue.consumer_arguments" can be used for the ability to set + consumer priority via "x-priority". + * Queue/Exchange: "no_declare" option added (also enabled for + internal amq. exchanges) (Issue #565). + * JSON serializer now calls "obj.__json__" for unsupported types. + * JSON serializer now handles datetimes, Django promise, UUID and + Decimal. + * Beanstalk: Priority 0 is now lowest, 9 is highest. (**backward + incompatible**) + * Redis: now supports SSL using the "ssl" argument to + :class:`~kombu.Connection`. + * Redis: Fanout exchanges are no longer visible between vhosts, and + fanout messages can be filtered by patterns. (**backward + incompatible**) + * Pidbox: Mailbox new arguments: TTL and expiry. + * Exchange.delivery_mode now defaults to :const:`None`, and the + default is instead set by "Producer.publish". + * :class:`~kombu.Consumer` now supports a new "prefetch_count" + argument, which if provided will force the consumer to set an + initial prefetch count just before starting. + * Virtual transports now stores "priority" as a property, not in + "delivery_info", to be compatible with AMQP. + * "reply_to" argument to "Producer.publish" can now be + :class:`~kombu.Queue` instance. + * Connection: There's now a new method + "Connection.supports_exchange_type(type)" that can be used to + check if the current transport supports a specific exchange type. + * SQS: Consumers can now read json messages not sent by Kombu. + * SQS: Will now log the access key used when authentication fails. + * Added new :class:`kombu.mixins.ConsumerProducerMixin` for + consumers that will also publish messages on a separate + connection. + * Messages: Now have a more descriptive "repr". + * Async: HTTP client based on curl. + * Async: Now uses `poll` instead of `select` where available. + * MongoDB: Now supports priorities + * Virtual transports now supports multiple queue bindings. + * Virtual transports now supports the anon exchange. + * Zookeeper: Transport now uses the built-in suport in kazoo to + handle failover when using a list of server names. + * ConsumerMixin.run now passes keyword arguments to .consume. + * Deprecations and removals + + The deprecated method "Consumer.add_queue_from_dict" has been + removed. + + The deprecated function "kombu.serialization.encode" has been + removed. + + The deprecated function "kombu.serialization.decode" has been + removed. + + Removed module "kombu.syn" + +- changes from version 3.0.37: + * Connection: Return value of ".info()" was no longer JSON + serializable, leading to "itertools.cycle object not JSON + serializable" errors (Issue #635). + +- changes from version 3.0.36: + * Connection: Fixed bug when cloning connection with alternate urls. + * Redis: Fixed problem with unix socket connections. + * Redis: Fixed compatibility with older redis-py versions (Issue + #576). + * Broadcast now retains queue name when being copied/pickled (Issue + #578). + +------------------------------------------------------------------- @@ -12 +112,0 @@ - Old: ---- kombu-3.0.35.tar.gz New: ---- kombu-4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-kombu.spec ++++++ --- /var/tmp/diff_new_pack.1kEmWj/_old 2016-11-28 15:10:33.000000000 +0100 +++ /var/tmp/diff_new_pack.1kEmWj/_new 2016-11-28 15:10:33.000000000 +0100 @@ -17,25 +17,32 @@ Name: python3-kombu -Version: 3.0.35 +Version: 4.0.0 Release: 0 Summary: AMQP Messaging Framework for Python License: BSD-3-Clause Group: Development/Languages/Python Url: http://github.com/celery/kombu/ Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz +BuildRequires: python3-amqp >= 2.0 +BuildRequires: python3-amqplib BuildRequires: python3-devel +BuildRequires: python3-pycurl BuildRequires: python3-setuptools -BuildRequires: python3-amqp >= 1.0.13 -BuildRequires: python3-amqplib # Test requirements: +# tested for 4.0.0 +#BuildRequires: python3-case +#BuildRequires: python3-pytest +#BuildRequires: python3-pytz +# older test requirements # BuildRequires: python3-PyYAML # BuildRequires: python3-anyjson >= 0.3.3 # BuildRequires: python3-mock # BuildRequires: python3-nose-cover3 # BuildRequires: python3-unittest2 >= 0.5.0 Requires: python3-amqp >= 1.0.13 -Requires: python3-anyjson >= 0.3.3 +Requires: python3-pycurl +Requires: python3-simplejson Recommends: couchdb Recommends: mongodb Recommends: rabbitmq-server @@ -57,9 +64,9 @@ %prep %setup -q -n kombu-%{version} # For rpmlint warning: remove shebang from python library: -sed -i '/^#!/d' ./kombu/tests/test_serialization.py +sed -i '/^#!/d' ./t/unit/test_serialization.py # TODO(saschpe): Stop dropping this test once upstream finalized Py3K support: -rm kombu/tests/transport/test_filesystem.py kombu/tests/utils/test_encoding.py +rm t/unit/transport/test_filesystem.py t/unit/utils/test_encoding.py 2to3 -wvn . %build @@ -69,8 +76,8 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} # Tests are currently incompatible with latest amqp. Check in next release. -# %check -# python3 setup.py test +#%check +#python3 setup.py test %files %defattr(-,root,root,-) ++++++ kombu-3.0.35.tar.gz -> kombu-4.0.0.tar.gz ++++++ ++++ 53702 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de