Hello community, here is the log from the commit of package python-testresources for openSUSE:Factory checked in at 2018-08-07 13:44:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-testresources (Old) and /work/SRC/openSUSE:Factory/.python-testresources.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-testresources" Tue Aug 7 13:44:54 2018 rev:9 rq:627850 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-testresources/python-testresources.changes 2017-09-22 21:34:24.456484747 +0200 +++ /work/SRC/openSUSE:Factory/.python-testresources.new/python-testresources.changes 2018-08-07 13:44:58.685289751 +0200 @@ -1,0 +2,13 @@ +Tue Aug 7 10:33:15 UTC 2018 - tchvatal@suse.com + +- Add patch testresources-flaky-tests.patch to disable flaky test +- Drop PR-8.patch as it is obsolete by the above patch + +------------------------------------------------------------------- +Tue Aug 7 10:17:11 UTC 2018 - tchvatal@suse.com + +- Cleanup with spec-cleaner +- Simplify the tests execution +- Install license files + +------------------------------------------------------------------- Old: ---- PR-8.patch New: ---- testresources-flaky-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-testresources.spec ++++++ --- /var/tmp/diff_new_pack.lm8qJe/_old 2018-08-07 13:44:59.377290579 +0200 +++ /var/tmp/diff_new_pack.lm8qJe/_new 2018-08-07 13:44:59.381290584 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-testresources # -# 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 @@ -21,22 +21,18 @@ Version: 2.0.1 Release: 0 Summary: Testresources, a pyunit extension for managing expensive test resources -License: (Apache-2.0 or BSD-3-Clause) and GPL-2.0+ +License: (Apache-2.0 OR BSD-3-Clause) AND GPL-2.0-or-later Group: Development/Languages/Python -Url: https://launchpad.net/testresources +URL: https://github.com/testing-cabal/testresources Source: https://files.pythonhosted.org/packages/source/t/testresources/testresources-%{version}.tar.gz -# PATCH-FEATURE-UPSTREAM PR-8.patch -- https://github.com/testing-cabal/testresources/pull/8.patch -Patch1: PR-8.patch -BuildRequires: %{python_module devel} +Patch0: testresources-flaky-tests.patch BuildRequires: %{python_module fixtures} BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: %{python_module testtools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pbr -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -46,7 +42,7 @@ %prep %setup -q -n testresources-%{version} -%patch1 -p1 +%patch0 -p1 %build %python_build @@ -56,10 +52,10 @@ %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -%python_expand LANG=en_US.UTF-8 PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m testtools.run discover +%python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) +%license BSD Apache-2.0 COPYING %doc README.rst %{python_sitelib}/testresources %{python_sitelib}/testresources-%{version}-py%{python_version}.egg-info ++++++ testresources-flaky-tests.patch ++++++ Index: testresources-2.0.1/testresources/tests/test_optimising_test_suite.py =================================================================== --- testresources-2.0.1.orig/testresources/tests/test_optimising_test_suite.py +++ testresources-2.0.1/testresources/tests/test_optimising_test_suite.py @@ -498,6 +498,7 @@ class TestGraphStuff(testtools.TestCase) permutations.append([case4, case1, case3, case2]) return permutations + @unittest.skip("too flaky") def testBasicSortTests(self): # Test every permutation of inputs, with legacy tests. # Cannot use equal costs because of the use of