Hello community,

here is the log from the commit of package python-selectors2 for 
openSUSE:Factory checked in at 2019-03-29 20:43:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-selectors2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-selectors2.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-selectors2"

Fri Mar 29 20:43:31 2019 rev:2 rq:689790 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-selectors2/python-selectors2.changes      
2019-03-20 13:22:46.289292740 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-selectors2.new.25356/python-selectors2.changes
   2019-03-29 20:43:34.006679708 +0100
@@ -1,0 +2,6 @@
+Fri Mar 29 10:19:20 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add patch selectors-skip-tests.patch to skip benchmark tests
+  that are flaky
+
+-------------------------------------------------------------------

New:
----
  selectors-skip-tests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-selectors2.spec ++++++
--- /var/tmp/diff_new_pack.dvBiRe/_old  2019-03-29 20:43:34.774679864 +0100
+++ /var/tmp/diff_new_pack.dvBiRe/_new  2019-03-29 20:43:34.778679864 +0100
@@ -25,9 +25,10 @@
 Group:          Development/Languages/Python
 Url:            https://www.github.com/SethMichaelLarson/selectors2
 Source:         
https://files.pythonhosted.org/packages/source/s/selectors2/selectors2-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+Patch0:         selectors-skip-tests.patch
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module psutil}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -40,6 +41,7 @@
 
 %prep
 %setup -q -n selectors2-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -49,7 +51,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %doc CHANGELOG.rst README.rst

++++++ selectors-skip-tests.patch ++++++
Index: selectors2-2.0.1/tests/test_selectors2.py
===================================================================
--- selectors2-2.0.1.orig/tests/test_selectors2.py
+++ selectors2-2.0.1/tests/test_selectors2.py
@@ -447,7 +447,7 @@ class _AllSelectorsTestCase(_BaseSelecto
 
     # Test ensures that _syscall_wrapper properly raises the
     # exception that is raised from an interrupt handler.
-    @skipUnlessHasAlarm
+    @unittest.skip
     def test_select_interrupt_exception(self):
         s = self.make_selector()
         rd, wr = self.make_socketpair()

Reply via email to