Hello community,
here is the log from the commit of package python-configargparse for
openSUSE:Factory checked in at 2019-09-27 14:49:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-configargparse (Old)
and /work/SRC/openSUSE:Factory/.python-configargparse.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-configargparse"
Fri Sep 27 14:49:24 2019 rev:4 rq:731447 version:0.14.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-configargparse/python-configargparse.changes
2019-03-01 16:50:19.561733422 +0100
+++
/work/SRC/openSUSE:Factory/.python-configargparse.new.2352/python-configargparse.changes
2019-09-27 14:49:25.868611441 +0200
@@ -1,0 +2,5 @@
+Tue Sep 17 09:14:02 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Skip failing tests that were reported upstream with no reaction
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-configargparse.spec ++++++
--- /var/tmp/diff_new_pack.yMBryT/_old 2019-09-27 14:49:27.808606396 +0200
+++ /var/tmp/diff_new_pack.yMBryT/_new 2019-09-27 14:49:27.816606375 +0200
@@ -23,11 +23,12 @@
Summary: A drop-in replacement for argparse
License: MIT
Group: Development/Languages/Python
-URL: https://github.com/zorro3/ConfigArgParse
+URL: https://github.com/bw2/ConfigArgParse
Source:
https://files.pythonhosted.org/packages/source/C/ConfigArgParse/ConfigArgParse-%{version}.tar.gz
Patch0: skip-test.patch
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -59,10 +60,11 @@
%install
%python_install
-%fdupes %{buildroot}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec -m unittest discover
+# https://github.com/bw2/ConfigArgParse/issues/146
+%pytest -k 'not (test_main or test_help_with_metavar or testGlobalInstances or
testGlobalInstances_WithName or testConfigOrEnvValueErrors)'
%files %{python_files}
%doc README.rst