Sync from SUSE:SLFO:Main python-sh revision a0a531e7f72344e8341d890f86ce68af
This commit is contained in:
parent
7539025be0
commit
427c4faa83
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 10 09:09:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.0.7:
|
||||||
|
* Fix `sh.glob` arguments #708
|
||||||
|
* Misc modernizations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 06:31:32 UTC 2023 - Daniel Garcia Moreno <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Use pytest for running tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 7 11:16:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <mcepl@suse.com>
|
Sat May 6 20:58:14 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
@ -25,13 +52,13 @@ Sun Jul 24 07:52:44 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|||||||
|
|
||||||
- update to 1.14.3:
|
- update to 1.14.3:
|
||||||
* bugfix where `Command` was not aware of default call args when wrapping the
|
* 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 <dmueller@suse.com>
|
Sun Jun 6 11:40:10 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update to 1.14.2:
|
- update to 1.14.2:
|
||||||
* fix documentation link
|
* fix documentation link
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 8 21:25:24 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Tue Dec 8 21:25:24 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
@ -44,7 +71,7 @@ Tue Dec 8 21:25:24 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
|||||||
* None and False arguments now do not pass through to underlying
|
* None and False arguments now do not pass through to underlying
|
||||||
command #525
|
command #525
|
||||||
* Implemented find_spec on the fancy importer, which fixes some
|
* 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
|
- Drop all patches: they are no longer applicable
|
||||||
* fix-sleep-path-in-test.patch
|
* fix-sleep-path-in-test.patch
|
||||||
* fix-test_general_signal.diff
|
* 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
|
* 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.
|
* "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
|
* "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
|
Fri May 2 12:37:53 UTC 2014 - multyrealm@gmail.com
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sh
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-sh
|
Name: python-sh
|
||||||
Version: 2.0.3
|
Version: 2.0.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python subprocess interface
|
Summary: Python subprocess interface
|
||||||
License: MIT
|
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
|
Source: https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: %{python_module testsuite}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
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}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
BIN
sh-2.0.3.tar.gz
(Stored with Git LFS)
BIN
sh-2.0.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
sh-2.0.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
sh-2.0.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user