Hello community, here is the log from the commit of package python-amqp for openSUSE:Factory checked in at 2019-02-17 12:21:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-amqp (Old) and /work/SRC/openSUSE:Factory/.python-amqp.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-amqp" Sun Feb 17 12:21:11 2019 rev:26 rq:676524 version:2.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-amqp/python-amqp.changes 2018-07-02 23:33:09.125271449 +0200 +++ /work/SRC/openSUSE:Factory/.python-amqp.new.28833/python-amqp.changes 2019-02-17 12:21:11.416203048 +0100 @@ -1,0 +2,60 @@ +Fri Feb 15 11:55:34 UTC 2019 - Matej Cepl <mc...@suse.com> + +- Better call of py.test + +------------------------------------------------------------------- +Fri Feb 15 09:32:49 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Add versions to dependencies +- Remove python-sasl from build dependencies +- Update to version 2.4.1 + * To avoid breaking the API basic_consume() now returns the consumer tag + instead of a tuple when nowait is True. + * Fix crash in basic_publish when broker does not support connection.blocked + capability. + * read_frame() is now Python 3 compatible for large payloads. + * Support float read_timeout/write_timeout. + * Always treat SSLError timeouts as socket timeouts. + * Treat EWOULDBLOCK as timeout. +- from 2.4.0 + * Fix inconsistent frame_handler return value. + The function returned by frame_handler is meant to return True + once the complete message is received and the callback is called, + False otherwise. + This fixes the return value for messages with a body split across + multiple frames, and heartbeat frames. + * Don't default content_encoding to utf-8 for bytes. + This is not an acceptable default as the content may not be + valid utf-8, and even if it is, the producer likely does not + expect the message to be decoded by the consumer. + * Fix encoding of messages with multibyte characters. + Body length was previously calculated using string length, + which may be less than the length of the encoded body when + it contains multibyte sequences. This caused the body of + the frame to be truncated. + * Respect content_encoding when encoding messages. + Previously the content_encoding was ignored and messages + were always encoded as utf-8. This caused messages to be + incorrectly decoded if content_encoding is properly respected + when decoding. + * Fix AMQP protocol header for AMQP 0-9-1. + Previously it was set to a different value for unknown reasons. + * Add support for Python 3.7. + Change direct SSLSocket instantiation with wrap_socket. + * Add support for field type "x" (byte array). + * If there is an exception raised on Connection.connect or + Connection.close, ensure that the underlying transport socket + is closed. Adjust exception message on connection errors as well. + * TCP_USER_TIMEOUT has to be excluded from KNOWN_TCP_OPTS in BSD platforms. + * Handle negative acknowledgments. + * Added integration tests. + * Fix basic_consume() with no consumer_tag provided. + * Improved empty AMQPError string representation. + * Drain events before publish. + This is needed to capture out of memory messages for clients that only + publish. Otherwise on_blocked is never called. + * Don't revive channel when connection is closing. + When connection is closing don't raise error when Channel.Close + method is received. + +------------------------------------------------------------------- Old: ---- amqp-2.3.2.tar.gz New: ---- amqp-2.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-amqp.spec ++++++ --- /var/tmp/diff_new_pack.YSfz5i/_old 2019-02-17 12:21:11.848202929 +0100 +++ /var/tmp/diff_new_pack.YSfz5i/_new 2019-02-17 12:21:11.848202929 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-amqp # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-amqp -Version: 2.3.2 +Version: 2.4.1 Release: 0 Summary: Low-level AMQP client for Python (fork of amqplib) License: LGPL-2.1-or-later Group: Development/Languages/Python URL: http://github.com/celery/py-amqp Source: https://files.pythonhosted.org/packages/source/a/amqp/amqp-%{version}.tar.gz -Source99: %{name}.changes -BuildRequires: %{python_module case} -BuildRequires: %{python_module pytest-sugar} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module sasl} +BuildRequires: %{python_module case >= 1.3.1} +BuildRequires: %{python_module pytest >= 3.0} +BuildRequires: %{python_module pytest-sugar >= 0.9.1} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module vine} +BuildRequires: %{python_module vine >= 1.1.3} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-vine >= 1.1.3 @@ -56,7 +54,7 @@ %if 0%{?suse_version} > 1320 %check -%python_exec %{_bindir}/py.test +%python_expand py.test-%{$python_bin_suffix} -v %endif %files %{python_files} ++++++ amqp-2.3.2.tar.gz -> amqp-2.4.1.tar.gz ++++++ ++++ 2863 lines of diff (skipped)