Hello community, here is the log from the commit of package python-amqp for openSUSE:Factory checked in at 2017-04-12 17:31:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-amqp (Old) and /work/SRC/openSUSE:Factory/.python-amqp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-amqp" Wed Apr 12 17:31:29 2017 rev:21 rq:480635 version:2.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-amqp/python-amqp.changes 2016-01-26 10:14:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-amqp.new/python-amqp.changes 2017-04-12 18:19:21.311325142 +0200 @@ -1,0 +2,49 @@ +Wed Mar 15 09:15:18 UTC 2017 - tbecht...@suse.com + +- update to 2.1.4: + - Removes byte string comparison warnings when running under ``python -b``. + - Linux version parsing broke when the version included a '+' character + (Issue #119). + - Now sets default TCP settings for platforms that support them (e.g. Linux). + - Fixes compatibility with Python 2.7.5 and below (Issue #107). + - Linux: Now sets the :data:`~socket.TCP_USER_TIMEOUT` flag if available + for better failed connection detection. + - Python compatibility: Fixed compatibility when using the python ``-b`` flag. + - Frame writer: Account for overhead when calculating frame size. + - Frame writer: Account for overhead when calculating frame size. + - Datetimes in method frame arguments are now handled properly. + - Fixed compatibility with Python <= 2.7.6 + - Frame_writer is no longer a generator, which should solve + a rare "generator already executing" error (Issue #103). + - SSLTransport: Fixed crash "no attribute sslopts" when ``ssl=True`` + (Issue #100). + - Fixed incompatible argument spec for ``Connection.Close`` (Issue #45). + This caused the RabbitMQ server to raise an exception (INTERNAL ERROR). + - Transport: No longer implements `__del__` to make sure gc can collect + connections. + - Python 3: Installation requirements ended up being a generator + and crashed setup.py. + - Python <= 2.7.7: struct.pack arguments cannot be unicode + - Python 3.4: Fixed use of `bytes % int`. + - Connection/Transport: Fixed handling of default port. + - Adds backward compatibility layer for the 1.4 API. + - Fixes kombu 3.0/celery 3.1 compatibility (Issue #88). + - Fixed compatibility with Python 2.7.3 (Issue #85) + - Fixed bug where calling drain_events() with a timeout of 0 would actually + block until a frame is received. + - Documentation moved to http://amqp.readthedocs.io (Issue #89). + - No longer supports Python 2.6 + - You must now call Connection.connect() to establish the connection. + - Library rewritten to anticipate async changes. + - Connection now exposes underlying socket options. + - Additional logging for heartbeats. + - SSL: Fixes issue with remote connection hanging + - SSL: ``ssl`` dict argument now supports the ``check_hostname`` key + (Issue #63). +- Drop tune-keepalive-intervals.diff . Similar solution applied upstream +- Drop amqp-drop-sphinxcontrib-issuetracker-dependency.patch. No longer + needed +- Switch to singlespec approach +- Drop doc build + +------------------------------------------------------------------- Old: ---- amqp-1.4.9.tar.gz amqp-drop-sphinxcontrib-issuetracker-dependency.patch tune-keepalive-intervals.diff New: ---- amqp-2.1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-amqp.spec ++++++ --- /var/tmp/diff_new_pack.PMmgyA/_old 2017-04-12 18:19:21.831251622 +0200 +++ /var/tmp/diff_new_pack.PMmgyA/_new 2017-04-12 18:19:21.835251056 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-amqp # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,64 +16,48 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-amqp -Version: 1.4.9 +Version: 2.1.4 Release: 0 Summary: Low-level AMQP client for Python (fork of amqplib) License: LGPL-2.1+ Group: Development/Languages/Python Url: http://github.com/celery/py-amqp -Source: https://pypi.python.org/packages/source/a/amqp/amqp-%{version}.tar.gz +Source: https://pypi.io/packages/source/a/amqp/amqp-%{version}.tar.gz Source99: %{name}.changes -# PATCH-FIX-OPENSUSE speili...@suse.com -- Avoid excessive doc dependencies -Patch0: amqp-drop-sphinxcontrib-issuetracker-dependency.patch -Patch1: tune-keepalive-intervals.diff -BuildRequires: python-devel -BuildRequires: python-setuptools -# Documentation requirements: -BuildRequires: python-Sphinx -# Test requirements: -BuildRequires: python-mock -BuildRequires: python-nose -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -BuildRequires: python-unittest2 -%endif +BuildRequires: %{python_module case} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module vine} +BuildRequires: python-rpm-macros +Requires: python-vine >= 1.1.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description This is a fork of amqplib_ which was originally written by Barry Pederson. It is maintained by the Celery_ project, and used by kombu as a pure python alternative when librabbitmq is not available. - This library should be API compatible with librabbitmq. %prep %setup -q -n amqp-%{version} -%patch0 -p1 -%patch1 -p0 - -# hack, or sphinx will put today's date into the HTML files -DOCDATE="`date +"%B %e, %Y" -r %{S:99}`" -echo "today = '$DOCDATE'" >> docs/conf.py %build -python setup.py build -python setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %check -nosetests +%python_exec %{_bindir}/py.test -%files +%files %python_files %defattr(-,root,root,-) -%doc Changelog LICENSE README.rst demo build/sphinx/html +%doc LICENSE %{python_sitelib}/* %changelog ++++++ amqp-1.4.9.tar.gz -> amqp-2.1.4.tar.gz ++++++ ++++ 13687 lines of diff (skipped)