From ac1275845c0d87469ed2d5c2a5e9398ef64e838ff43fbe7370a197b3994cbed8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Oct 2019 10:36:22 +0000 Subject: [PATCH 1/2] Accepting request 734534 from home:mcepl:branches:devel:languages:python - Skip test_xmlrunner_non_ascii failing with Python 3.8 OBS-URL: https://build.opensuse.org/request/show/734534 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=21 --- python-unittest-xml-reporting.changes | 5 +++++ python-unittest-xml-reporting.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-unittest-xml-reporting.changes b/python-unittest-xml-reporting.changes index 71be6d5..1f74f87 100644 --- a/python-unittest-xml-reporting.changes +++ b/python-unittest-xml-reporting.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 2 09:11:10 UTC 2019 - Matej Cepl + +- Skip test_xmlrunner_non_ascii failing with Python 3.8 + ------------------------------------------------------------------- Fri Apr 12 09:06:13 UTC 2019 - Marketa Calabkova diff --git a/python-unittest-xml-reporting.spec b/python-unittest-xml-reporting.spec index 332d229..aeb982f 100644 --- a/python-unittest-xml-reporting.spec +++ b/python-unittest-xml-reporting.spec @@ -23,12 +23,15 @@ Release: 0 Summary: PyUnit-based test runner with JUnit like XML reporting License: LGPL-3.0-or-later Group: Development/Languages/Python -URL: http://github.com/danielfm/unittest-xml-reporting/tree/master/ +URL: http://github.com/danielfm/unittest-xml-reporting Source: https://github.com/xmlrunner/unittest-xml-reporting/archive/%{version}.tar.gz BuildRequires: %{python_module lxml} -BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.4.0} +%ifpython2 +BuildRequires: python2-mock +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.4.0 @@ -52,7 +55,7 @@ systems, IDEs and continuous integration servers. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand $python -m unittest discover +%pytest -k 'not test_xmlrunner_non_ascii' %files %{python_files} %doc README.md From dded510650a64d144321218f2a2e112bf54df490ced8c3ed8de9d2d1e8d695ce Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Oct 2019 12:35:17 +0000 Subject: [PATCH 2/2] Accepting request 734600 from home:mcepl:branches:devel:languages:python Skip test_xmlrunner_non_ascii failing with Python 3.8 gh#xmlrunner/unittest-xml-reporting#205 OBS-URL: https://build.opensuse.org/request/show/734600 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=22 --- python-unittest-xml-reporting.changes | 1 + python-unittest-xml-reporting.spec | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/python-unittest-xml-reporting.changes b/python-unittest-xml-reporting.changes index 1f74f87..427e6db 100644 --- a/python-unittest-xml-reporting.changes +++ b/python-unittest-xml-reporting.changes @@ -2,6 +2,7 @@ Wed Oct 2 09:11:10 UTC 2019 - Matej Cepl - Skip test_xmlrunner_non_ascii failing with Python 3.8 + gh#xmlrunner/unittest-xml-reporting#205 ------------------------------------------------------------------- Fri Apr 12 09:06:13 UTC 2019 - Marketa Calabkova diff --git a/python-unittest-xml-reporting.spec b/python-unittest-xml-reporting.spec index aeb982f..c322187 100644 --- a/python-unittest-xml-reporting.spec +++ b/python-unittest-xml-reporting.spec @@ -22,21 +22,20 @@ Version: 2.5.1 Release: 0 Summary: PyUnit-based test runner with JUnit like XML reporting License: LGPL-3.0-or-later -Group: Development/Languages/Python -URL: http://github.com/danielfm/unittest-xml-reporting +URL: https://github.com/danielfm/unittest-xml-reporting Source: https://github.com/xmlrunner/unittest-xml-reporting/archive/%{version}.tar.gz BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.4.0} -%ifpython2 -BuildRequires: python2-mock -%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.4.0 Provides: python-xmlrunner = %{version} BuildArch: noarch +%ifpython2 +BuildRequires: python2-mock +%endif %python_subpackages %description @@ -55,6 +54,7 @@ systems, IDEs and continuous integration servers. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# gh#xmlrunner/unittest-xml-reporting#205 %pytest -k 'not test_xmlrunner_non_ascii' %files %{python_files}