f67d88a7bd
Accepting request 1248475 from devel:languages:python
...
- update to 2.2.2:
* Bugfix where it was impossible to use a signal as an
`ok_code` #699
* Bugfix where `async` and `return_cmd` does not raise
exceptions #746
* `return_cmd` with `await` now works correctly #743
* Formal support for Python 3.12
OBS-URL: https://build.opensuse.org/request/show/1248475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=19
2025-02-26 16:14:07 +00:00
ae93c9c3e7
- update to 2.2.2:
...
* Bugfix where it was impossible to use a signal as an
`ok_code` #699
* Bugfix where `async` and `return_cmd` does not raise
exceptions #746
* `return_cmd` with `await` now works correctly #743
* Formal support for Python 3.12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=46
2025-02-25 20:23:47 +00:00
f8838026bf
Accepting request 1218888 from devel:languages:python
...
- update to 2.1.0:
* Add contrib command `sh.contrib.bash` #736
OBS-URL: https://build.opensuse.org/request/show/1218888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=18
2024-10-30 16:29:47 +00:00
4f1ffe632c
- update to 2.1.0:
...
* Add contrib command `sh.contrib.bash` #736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=44
2024-10-28 22:49:43 +00:00
47b232b431
Accepting request 1179661 from devel:languages:python
...
- update to 2.0.7:
* Fix `sh.glob` arguments #708
* Misc modernizations
OBS-URL: https://build.opensuse.org/request/show/1179661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=17
2024-06-11 16:27:14 +00:00
6a58db6d42
- update to 2.0.7:
...
* Fix `sh.glob` arguments #708
* Misc modernizations
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=42
2024-06-10 09:09:32 +00:00
7645159103
Accepting request 1118203 from devel:languages:python
...
- Use pytest for running tests
OBS-URL: https://build.opensuse.org/request/show/1118203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=16
2023-10-17 18:22:35 +00:00
59e437de85
- Use pytest for running tests
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=40
2023-10-17 06:45:35 +00:00
5a92380481
Accepting request 1109519 from devel:languages:python
...
- 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
module
* fix documentation link
Python3.4+ issues #536
OBS-URL: https://build.opensuse.org/request/show/1109519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=15
2023-09-08 19:15:02 +00:00
27ad0f3f92
- 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
module
* fix documentation link
Python3.4+ issues #536
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=38
2023-09-07 11:16:42 +00:00
9aa5e857c1
Accepting request 1088461 from devel:languages:python
...
- update to 2.0.4:
* Allow `ok_code` to be used with `fg` #655
* Make sure `new_group` never creates a new session #675
OBS-URL: https://build.opensuse.org/request/show/1088461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=14
2023-05-24 18:21:34 +00:00
3613ab741b
- update to 2.0.4:
...
* Allow `ok_code` to be used with `fg` #655
* Make sure `new_group` never creates a new session #675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=36
2023-05-22 21:08:29 +00:00
c3cfbddcc3
Accepting request 1085255 from devel:languages:python
...
- Upgrade to 2.0.3:
List of changes is too long to enlist here, CHANGELOG.md is
packaged.
OBS-URL: https://build.opensuse.org/request/show/1085255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=13
2023-05-09 11:07:07 +00:00
6ce2a1e804
- Upgrade to 2.0.3:
...
List of changes is too long to enlist here, CHANGELOG.md is
packaged.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=34
2023-05-06 21:02:11 +00:00
fbd281de34
Accepting request 1082122 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1082122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=12
2023-04-23 20:43:40 +00:00
96d6365e7a
Accepting request 1081621 from home:dirkmueller:acdc:as_python3_module
...
SR for python stack proposal
OBS-URL: https://build.opensuse.org/request/show/1081621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=32
2023-04-21 18:27:22 +00:00
fe4d35a222
Accepting request 990863 from devel:languages:python
...
- update to 1.14.3:
* bugfix where `Command` was not aware of default call args when wrapping the
module
OBS-URL: https://build.opensuse.org/request/show/990863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=11
2022-07-26 17:42:04 +00:00
43946f7083
- update to 1.14.3:
...
* bugfix where `Command` was not aware of default call args when wrapping the
module
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=30
2022-07-24 07:56:54 +00:00
0cffb56dfe
Accepting request 897829 from devel:languages:python
...
- update to 1.14.2:
* fix documentation link
OBS-URL: https://build.opensuse.org/request/show/897829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=10
2021-06-11 20:30:10 +00:00
9cd4b6ec86
- update to 1.14.2:
...
* fix documentation link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=28
2021-06-06 11:42:45 +00:00
1db7b61d6e
Accepting request 854162 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/854162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=9
2020-12-12 19:29:17 +00:00
c276b07908
Accepting request 854149 from home:bnavigator:branches:devel:languages:python
...
- Update to 1.14.1:
* bugfix where setting _ok_code to not include 0, but 0 was the
exit code #545
- Changes for 1.14.0
* _env now more lenient in accepting dictionary-like objects #527
* 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
- Drop all patches: they are no longer applicable
* fix-sleep-path-in-test.patch
* fix-test_general_signal.diff
* fix-test_signal_group.diff
* no-coverage.patch
OBS-URL: https://build.opensuse.org/request/show/854149
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=26
2020-12-08 23:57:39 +00:00
d650f33502
Accepting request 815418 from devel:languages:python
...
- Update to 1.13.1:
* regression fix if `_fg=False` [#520 ](https://github.com/amoffat/sh/issues/520 )
* minor Travis CI fixes [#492 ](https://github.com/amoffat/sh/pull/492 )
* bugfix for boolean long options not respecting `_long_prefix` [#488 ](https://github.com/amoffat/sh/pull/488 )
* fix deprecation warning on Python 3.6 regexes [#482 ](https://github.com/amoffat/sh/pull/482 )
* `_pass_fds` and `_close_fds` special kwargs for controlling file descriptor inheritance in child.
* more efficiently closing inherited fds [#406 ](https://github.com/amoffat/sh/issues/406 )
* bugfix where passing invalid dictionary to `_env` will cause a mysterious child 255 exit code. [#497 ](https://github.com/amoffat/sh/pull/497 )
* bugfix where `_in` using 0 or `sys.stdin` wasn't behaving like a TTY, if it was in fact a TTY. [#514 ](https://github.com/amoffat/sh/issues/514 )
* bugfix where `help(sh)` raised an exception [#455 ](https://github.com/amoffat/sh/issues/455 )
* bugfix fixing broken interactive ssh tutorial from docs
* change to automatic tty merging into a single pty if `_tty_in=True` and `_tty_out=True`
* introducing `_unify_ttys`, default False, which allows explicit tty merging into single pty
* contrib command for `ssh` connections requiring passwords
* performance fix for polling output too fast when using `_iter` [#462 ](https://github.com/amoffat/sh/issues/462 )
* execution contexts can now be used in python shell [#466 ](https://github.com/amoffat/sh/pull/466 )
* bugfix `ErrorReturnCode` instances can now be pickled
* bugfix passing empty string or `None` for `_in` hanged [#427 ](https://github.com/amoffat/sh/pull/427 )
* bugfix where passing a filename or file-like object to `_out` wasn't using os.dup2 [#449 ](https://github.com/amoffat/sh/issues/449 )
* regression make `_fg` work with `_cwd` again [#330 ](https://github.com/amoffat/sh/issues/330 )
* an invalid `_cwd` now raises a `ForkException` not an `OSError`.
* AIX support [#477 ](https://github.com/amoffat/sh/issues/477 )
* added a `timeout=None` param to `RunningCommand.wait()` [#515 ](https://github.com/amoffat/sh/issues/515 )
- Re-enable tests.
- Refresh no-coverage.patch, fix-test_general_signal.diff and
fix-test_signal_group.diff
- Add fix-sleep-path-in-test.patch to fix a test failure.
- Drop no longer required patches,
0001-Fix-tests-for-the-drop-the-unversion-python.patch,
always-use-fully-versioned-python-command-in-tests.patch and
pep-0538-test-fix.patch
OBS-URL: https://build.opensuse.org/request/show/815418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=8
2020-06-17 12:56:40 +00:00
40fb86af2c
- Update to 1.13.1:
...
* regression fix if `_fg=False` [#520 ](https://github.com/amoffat/sh/issues/520 )
* minor Travis CI fixes [#492 ](https://github.com/amoffat/sh/pull/492 )
* bugfix for boolean long options not respecting `_long_prefix` [#488 ](https://github.com/amoffat/sh/pull/488 )
* fix deprecation warning on Python 3.6 regexes [#482 ](https://github.com/amoffat/sh/pull/482 )
* `_pass_fds` and `_close_fds` special kwargs for controlling file descriptor inheritance in child.
* more efficiently closing inherited fds [#406 ](https://github.com/amoffat/sh/issues/406 )
* bugfix where passing invalid dictionary to `_env` will cause a mysterious child 255 exit code. [#497 ](https://github.com/amoffat/sh/pull/497 )
* bugfix where `_in` using 0 or `sys.stdin` wasn't behaving like a TTY, if it was in fact a TTY. [#514 ](https://github.com/amoffat/sh/issues/514 )
* bugfix where `help(sh)` raised an exception [#455 ](https://github.com/amoffat/sh/issues/455 )
* bugfix fixing broken interactive ssh tutorial from docs
* change to automatic tty merging into a single pty if `_tty_in=True` and `_tty_out=True`
* introducing `_unify_ttys`, default False, which allows explicit tty merging into single pty
* contrib command for `ssh` connections requiring passwords
* performance fix for polling output too fast when using `_iter` [#462 ](https://github.com/amoffat/sh/issues/462 )
* execution contexts can now be used in python shell [#466 ](https://github.com/amoffat/sh/pull/466 )
* bugfix `ErrorReturnCode` instances can now be pickled
* bugfix passing empty string or `None` for `_in` hanged [#427 ](https://github.com/amoffat/sh/pull/427 )
* bugfix where passing a filename or file-like object to `_out` wasn't using os.dup2 [#449 ](https://github.com/amoffat/sh/issues/449 )
* regression make `_fg` work with `_cwd` again [#330 ](https://github.com/amoffat/sh/issues/330 )
* an invalid `_cwd` now raises a `ForkException` not an `OSError`.
* AIX support [#477 ](https://github.com/amoffat/sh/issues/477 )
* added a `timeout=None` param to `RunningCommand.wait()` [#515 ](https://github.com/amoffat/sh/issues/515 )
- Re-enable tests.
- Refresh no-coverage.patch, fix-test_general_signal.diff and
fix-test_signal_group.diff
- Add fix-sleep-path-in-test.patch to fix a test failure.
- Drop no longer required patches,
0001-Fix-tests-for-the-drop-the-unversion-python.patch,
always-use-fully-versioned-python-command-in-tests.patch and
pep-0538-test-fix.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=24
2020-06-17 08:47:54 +00:00
67b126d33f
Accepting request 795884 from devel:languages:python
...
- Switch off tests, upstream is dead
OBS-URL: https://build.opensuse.org/request/show/795884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=7
2020-04-21 11:12:23 +00:00
9f8e0ef0b1
- Switch off tests, upstream is dead
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=22
2020-04-20 17:28:00 +00:00
47630df019
Accepting request 705683 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/705683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=6
2019-05-28 07:43:24 +00:00
Tomáš Chvátal
acf53801db
Accepting request 705674 from home:aplanas:branches:devel:languages:python
...
- Add patches to fix some tests:
* fix-test_signal_group.diff
* fix-test_general_signal.diff (bsc#1120329)
OBS-URL: https://build.opensuse.org/request/show/705674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=20
2019-05-27 13:39:01 +00:00
Stephan Kulow
ecf06ebe0e
Accepting request 670583 from devel:languages:python
...
- Add patches from Fedora:
* always-use-fully-versioned-python-command-in-tests.patch
* no-coverage.patch
* 0001-Fix-tests-for-the-drop-the-unversion-python.patch
* pep-0538-test-fix.patch
OBS-URL: https://build.opensuse.org/request/show/670583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=5
2019-02-02 20:50:07 +00:00
Tomáš Chvátal
d71abe1c8f
- Add patches from Fedora:
...
* always-use-fully-versioned-python-command-in-tests.patch
* no-coverage.patch
* 0001-Fix-tests-for-the-drop-the-unversion-python.patch
* pep-0538-test-fix.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=18
2019-02-01 13:32:19 +00:00
d9272143a9
Accepting request 659671 from devel:languages:python
...
Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/request/show/659671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=4
2018-12-24 10:43:53 +00:00
2c917d330a
Clean up the SPEC file
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=16
2018-12-04 17:22:30 +00:00
8da64838b2
Remove superfluous devel dependency for noarch package
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=15
2018-12-04 14:03:27 +00:00
b4c404fb11
Accepting request 510319 from devel:languages:python
...
- Implement single-spec version.
- Update 1.12.14
OBS-URL: https://build.opensuse.org/request/show/510319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=3
2017-07-17 07:12:11 +00:00
Todd R
7e7f9adc49
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=13
2017-07-14 14:05:04 +00:00
Todd R
0f9ec357ef
Accepting request 510123 from home:TheBlackCat:branches:devel:languages:python
...
Implement single-spec version
OBS-URL: https://build.opensuse.org/request/show/510123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=12
2017-07-13 15:45:59 +00:00
56f3a34747
Accepting request 503216 from home:aplanas:branches:devel:languages:python
...
- Remove test-huge-piped-data-fix.patch
- Remove test-coding-fix.patch
- Remove test-multiple-pipes-fix.patch
- Update 1.12.14
* bugfix for poor sleep performance
[#378 ](https://github.com/amoffat/sh/issues/378 )
* allow passing raw integer file descriptors for `_out` and `_err`
handlers
* bugfix for when `_tee` and `_out` are used, and the `_out` is a
tty or pipe [#384 ](https://github.com/amoffat/sh/issues/384 )
* bugfix where python 3.3+ detected different arg counts for bound
method output callbacks
[#380 ](https://github.com/amoffat/sh/issues/380 )
- Update 1.12.12, 1.12.13
* pypi readme doc bugfix
[PR#377](https://github.com/amoffat/sh/pull/377 )
- Update 1.12.11
* bugfix for relative paths to `sh.Command` not expanding to
absolute paths [#372 ](https://github.com/amoffat/sh/issues/372 )
* updated for python 3.6
* bugfix for SIGPIPE not being handled correctly on pipelined
processes [#373 ](https://github.com/amoffat/sh/issues/373 )
- Update 1.12.10
* bugfix for file descriptors over 1024
[#356 ](https://github.com/amoffat/sh/issues/356 )
* bugfix when `_err_to_out` is True and `_out` is pipe or tty
[#365 ](https://github.com/amoffat/sh/issues/365 )
- Update 1.12.9
* added `_bg_exc` for silencing exceptions in background threads
[#350 ](https://github.com/amoffat/sh/pull/350 )
OBS-URL: https://build.opensuse.org/request/show/503216
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=11
2017-06-18 21:39:01 +00:00
47f345e3cf
Accepting request 295696 from devel:languages:python
...
1
OBS-URL: https://build.opensuse.org/request/show/295696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=2
2015-04-13 18:31:42 +00:00
Denisart Benjamin
e265169ee4
Accepting request 295298 from home:aplanas:branches:devel:languages:python
...
- PATCH test-huge-piped-data-fix.patch
Partially disable test case
OBS-URL: https://build.opensuse.org/request/show/295298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=9
2015-04-13 13:35:20 +00:00
0c1d1531db
Accepting request 283861 from devel:languages:python
...
New package, see http://lists.opensuse.org/opensuse-factory/2015-01/msg00532.html
OBS-URL: https://build.opensuse.org/request/show/283861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=1
2015-02-05 09:59:47 +00:00
ce32c1f1f8
Accepting request 283469 from home:aplanas:branches:devel:languages:python
...
- Fix %defattr, fixing SLE11SP3 building
OBS-URL: https://build.opensuse.org/request/show/283469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=7
2015-01-30 14:29:06 +00:00
Jan Matejek
bee0b7fa64
Accepting request 267035 from home:aplanas:branches:devel:languages:python
...
- Fix source URL
- Fix setup directory name
- PATCH test-coding-fix.patch
Use utf-8 enconding in the header
- PATCH test-multiple-pipes-fix.patch
Partially disable test case
- Remove BuildRequires python-devel
- Update to 1.11
* partially applied functions with functools.partial have been fixed for _out and _err callbacks #160
* _out or _err being callables no longer puts the running command in the background. to achieve the previous behavior, pass _bg=True to your command.
* deprecated _with contexts #195
* _timeout_signal allows you to specify your own signal to kill a timed-out process with. use a constant from the signal stdlib module. #171
* signal exceptions can now be caught by number or name. SignalException_9 == SignalException_SIGKILL
* child processes that timeout via _timeout raise sh.TimeoutException instead of sh.SignalExeception_9 #172
* fixed help(sh) from the python shell and pydoc sh from the command line. #173
* program names can no longer be shadowed by names that sh.py defines internally. removed the requirement of trailing underscores for programs that could have their names shadowed, like id.
* memory optimization when a child process's stdin is a newline-delimted string and our bufsize is newlines
* feature, _done special keyword argument that accepts a callback to be called when the command completes successfully #185
* bugfix for being unable to print a baked command in python3+ #176
* bugfix for cwd not existing and causing the child process to continue running parent process code #202
* child process is now guaranteed to exit on exception between fork and exec.
* fix python2 deprecation warning when running with -3 PR #165
* bugfix where sh.py was attempting to execute directories #196 , PR #189
* only backgrounded processes will ignore SIGHUP
* allowed ok_code to take a range object. #PR 210
* added sh.args with context which allows overriding of all command defaults for the duration of that context.
* added sh.pushd with context which takes a directory name and changes to that directory for the duration of that with context. PR #206
* tests now include python 3.4 if available. tests also stop on the first python that suite that fails.
* 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.
OBS-URL: https://build.opensuse.org/request/show/267035
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=6
2015-01-02 15:18:59 +00:00
Tomáš Chvátal
006455e302
Accepting request 239250 from home:tokoyami:branches:devel:languages:python
...
Update to version 1.09.
OBS-URL: https://build.opensuse.org/request/show/239250
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=5
2014-07-07 13:35:29 +00:00
Denisart Benjamin
0765cbe8d9
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=4
2014-01-30 15:37:48 +00:00
Denisart Benjamin
2b044b0112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=3
2014-01-30 15:30:35 +00:00
Denisart Benjamin
25b8d25610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=2
2014-01-30 15:30:22 +00:00
Denisart Benjamin
36f0167ee5
Accepting request 220377 from home:mvyskocil
...
OBS-URL: https://build.opensuse.org/request/show/220377
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=1
2014-01-30 15:03:37 +00:00