Hello community,
here is the log from the commit of package python-pika for openSUSE:Factory checked in at 2018-10-01 08:17:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pika (Old)
and /work/SRC/openSUSE:Factory/.python-pika.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pika"
Mon Oct 1 08:17:01 2018 rev:9 rq:638342 version:0.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pika/python-pika.changes 2017-10-26 18:43:58.537095105 +0200
+++ /work/SRC/openSUSE:Factory/.python-pika.new/python-pika.changes 2018-10-01 08:17:06.825979539 +0200
@@ -1,0 +2,30 @@
+Sat Sep 22 14:27:35 UTC 2018 - Matěj Cepl
+
+- Add 1119-increase_timeouts.patch to increase timeouts and hopefully
+ make tests more resilient.
+
+-------------------------------------------------------------------
+Fri Sep 21 12:08:33 CEST 2018 - mcepl@suse.com
+
+- Fix %files section double inclduing egg files.
+
+-------------------------------------------------------------------
+Wed Sep 19 10:57:35 UTC 2018 - Tomáš Chvátal
+
+- Switch to github tarball in order to get tests
+- Run the tests
+
+-------------------------------------------------------------------
+Wed Sep 19 10:56:13 UTC 2018 - Tomáš Chvátal
+
+- Version update to 0.12.0:
+ * BlockingConnection now supports the add_callback_threadsafe method which
+ allows a function to be executed correctly on the IO loop thread.
+
+-------------------------------------------------------------------
+Wed Sep 19 09:57:08 UTC 2018 - Dominik Heidler
+
+- Added Dep: Pika requires ssl python module provided by python
+- Fix license macro
+
+-------------------------------------------------------------------
Old:
----
pika-0.11.0.tar.gz
New:
----
0.12.0.tar.gz
1119-increase_timeouts.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pika.spec ++++++
--- /var/tmp/diff_new_pack.ScLGcF/_old 2018-10-01 08:17:07.333979214 +0200
+++ /var/tmp/diff_new_pack.ScLGcF/_new 2018-10-01 08:17:07.337979211 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pika
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,28 +12,32 @@
# 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/
#
%define mod_name pika
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{mod_name}
-Version: 0.11.0
+Version: 0.12.0
Release: 0
-Url: http://pika.github.com/
Summary: Pika Python AMQP Client Library
License: BSD-3-Clause
Group: Development/Languages/Python
-Source: https://files.pythonhosted.org/packages/source/p/pika/pika-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{python_module devel}
+URL: https://github.com/pika/pika
+Source: https://github.com/pika/pika/archive/%{version}.tar.gz
+Patch: 1119-increase_timeouts.patch
+BuildRequires: %{python_module Twisted}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module tornado}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python
+Recommends: python-Twisted
+Recommends: python-tornado
BuildArch: noarch
-
%python_subpackages
%description
@@ -44,6 +48,10 @@
%prep
%setup -q -n %{mod_name}-%{version}
+%patch -p1
+# acceptance needs running configured server
+rm -rf tests/acceptance/
+sed -i -e 's:,tests/acceptance::' setup.cfg
%build
%python_build
@@ -53,11 +61,15 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{mod_name}
%python_expand %fdupes %{buildroot}%{$python_sitelib}/*.egg-info
+%check
+for i in $(seq 5) ; do
+%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}"% nosetests-%{$python_bin_suffix} tests/
+done
+
%files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst LICENSE
+%doc README.rst CHANGELOG.rst
+%license LICENSE
# You may have to add additional files here (documentation and binaries mostly)
-%python_sitelib/%{mod_name}*
-%python_sitelib/*.egg-info
+%{python_sitelib}/%{mod_name}*
%changelog
++++++ pika-0.11.0.tar.gz -> 0.12.0.tar.gz ++++++
++++ 21437 lines of diff (skipped)
++++++ 1119-increase_timeouts.patch ++++++
diff --git a/tests/unit/select_connection_ioloop_tests.py b/tests/unit/select_connection_ioloop_tests.py
index d5c9cf1..a9a49de 100644
--- a/tests/unit/select_connection_ioloop_tests.py
+++ b/tests/unit/select_connection_ioloop_tests.py
@@ -33,7 +33,7 @@ KQUEUE_SUPPORTED = hasattr(select, 'kqueue')
class IOLoopBaseTest(unittest.TestCase):
SELECT_POLLER = None
- TIMEOUT = 1.0
+ TIMEOUT = 1.5
def setUp(self):
select_type_patch = mock.patch.multiple(
@@ -182,7 +182,7 @@ class IOLoopTimerTestSelect(IOLoopBaseTest):
"""
NUM_TIMERS = 5
- TIMER_INTERVAL = 0.02
+ TIMER_INTERVAL = 0.25
SELECT_POLLER = 'select'
def set_timers(self):