diff --git a/python-sh.changes b/python-sh.changes index ed9d931..b9605b3 100644 --- a/python-sh.changes +++ b/python-sh.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Jun 10 09:09:25 UTC 2024 - Dirk Müller + +- update to 2.0.7: + * Fix `sh.glob` arguments #708 + * Misc modernizations + +------------------------------------------------------------------- +Tue Oct 17 06:31:32 UTC 2023 - Daniel Garcia Moreno + +- Use pytest for running tests + +------------------------------------------------------------------- +Thu Sep 7 11:16:26 UTC 2023 - Dirk Müller + +- update to 2.0.6: + * Add back appropriate sdist files comment + * Allow nested `with` contexts #690 + * Call correct asyncio function for getting event loop #683 + +------------------------------------------------------------------- +Mon May 22 21:07:07 UTC 2023 - Dirk Müller + +- update to 2.0.4: + * Allow `ok_code` to be used with `fg` #655 + * Make sure `new_group` never creates a new session #675 + ------------------------------------------------------------------- Sat May 6 20:58:14 UTC 2023 - Matej Cepl @@ -25,13 +52,13 @@ Sun Jul 24 07:52:44 UTC 2022 - Dirk Müller - update to 1.14.3: * bugfix where `Command` was not aware of default call args when wrapping the - module + module ------------------------------------------------------------------- Sun Jun 6 11:40:10 UTC 2021 - Dirk Müller - update to 1.14.2: - * fix documentation link + * fix documentation link ------------------------------------------------------------------- Tue Dec 8 21:25:24 UTC 2020 - Benjamin Greiner @@ -44,7 +71,7 @@ Tue Dec 8 21:25:24 UTC 2020 - Benjamin Greiner * None and False arguments now do not pass through to underlying command #525 * Implemented find_spec on the fancy importer, which fixes some - Python3.4+ issues #536 + Python3.4+ issues #536 - Drop all patches: they are no longer applicable * fix-sleep-path-in-test.patch * fix-test_general_signal.diff @@ -300,7 +327,7 @@ Fri Jan 2 10:58:53 UTC 2015 - aplanas@suse.com * SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGPIPE, SIGSYS have been added to the list of signals that throw an exception PR #201 * "callable" builtin has been faked for python3.1, which lacks it. * "direct" option added to _piped special keyword argument, which allows sh to hand off a process's stdout fd directly to another process, instead of buffering its stdout internally, then handing it off. #119 - + ------------------------------------------------------------------- Fri May 2 12:37:53 UTC 2014 - multyrealm@gmail.com diff --git a/python-sh.spec b/python-sh.spec index 0f4d06a..a6e88b2 100644 --- a/python-sh.spec +++ b/python-sh.spec @@ -1,7 +1,7 @@ # # spec file for package python-sh # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-sh -Version: 2.0.3 +Version: 2.0.7 Release: 0 Summary: Python subprocess interface License: MIT @@ -26,7 +26,7 @@ URL: https://github.com/amoffat/sh 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 @@ sh is not a collection of system commands implemented in Python. %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 diff --git a/sh-2.0.3.tar.gz b/sh-2.0.3.tar.gz deleted file mode 100644 index ca0c99e..0000000 --- a/sh-2.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:800efeda403b63879b0a5625f65a0021fd1ea61ed181954da0346372a7b2a341 -size 345365 diff --git a/sh-2.0.7.tar.gz b/sh-2.0.7.tar.gz new file mode 100644 index 0000000..8c8f70c --- /dev/null +++ b/sh-2.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:029d45198902bfb967391eccfd13a88d92f7cebd200411e93f99ebacc6afbb35 +size 345477