Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sh for openSUSE:Factory 
checked in at 2023-10-17 20:22:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sh (Old)
 and      /work/SRC/openSUSE:Factory/.python-sh.new.20540 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sh"

Tue Oct 17 20:22:35 2023 rev:16 rq:1118203 version:2.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sh/python-sh.changes      2023-09-08 
21:15:18.425968948 +0200
+++ /work/SRC/openSUSE:Factory/.python-sh.new.20540/python-sh.changes   
2023-10-17 20:22:41.454435446 +0200
@@ -1,0 +2,5 @@
+Tue Oct 17 06:31:32 UTC 2023 - Daniel Garcia Moreno <[email protected]>
+
+- Use pytest for running tests
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sh.spec ++++++
--- /var/tmp/diff_new_pack.LH4Imt/_old  2023-10-17 20:22:42.042456030 +0200
+++ /var/tmp/diff_new_pack.LH4Imt/_new  2023-10-17 20:22:42.042456030 +0200
@@ -26,7 +26,7 @@
 Source:         
https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module poetry-core}
-BuildRequires:  %{python_module testsuite}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -55,7 +55,17 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pyunittest -v test
+export SH_TESTS_RUNNING=1
+export SH_TESTS_USE_SELECT=0
+export LANG=C
+# disable broken tests in obs environment
+donttest="test_stringio_output"
+donttest+=" or test_environment"
+donttest+=" or test_no_interfere1"
+donttest+=" or test_set_in_parent_function"
+donttest+=" or test_basic"
+donttest+=" or test_multiline_defaults"
+%pytest -k "not ($donttest)"
 
 %files %{python_files}
 %license LICENSE.txt

Reply via email to