Ana Guerrero
97abbc805b
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
702d453548
- 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
Ana Guerrero
e41335fd72
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
3a281ff7a1
- 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
Ana Guerrero
a703a26663
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
55a517b3b8
- 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
Dominique Leuenberger
e4097054b5
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
0a8f2b81f3
- 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
Dominique Leuenberger
f21f9cddc9
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
a70ad0e71d
- 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
Dominique Leuenberger
757e0e5b76
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
ec06138702
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
Richard Brown
df3a059060
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
10592ef63f
- 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
Dominique Leuenberger
cd0395d7db
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
41ac697ffb
- 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
Dominique Leuenberger
d66952d092
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
9733c45539
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
Dominique Leuenberger
10b205e74c
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
Steve Kowalik
5efd7542fe
- 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
Dominique Leuenberger
938334ce86
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
20854a4d21
- 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
Dominique Leuenberger
2011cb1e8b
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
8c4d2a3b8f
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
83e56e35d0
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
e5b6917c11
- 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
Dominique Leuenberger
9073346bb3
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
2291862aeb
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
0aa07d9e2a
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
Dominique Leuenberger
fadf488b94
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
7c36489491
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
3a5e0f8173
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
eaac42122b
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
Dominique Leuenberger
81e7bcb032
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
61ad0c368a
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
Dominique Leuenberger
8dcf6d8da0
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
4f721e2d8a
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
aa66e97ec0
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
5cdc12f80f
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
10a8007887
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
209bb9659d
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
aa6356a3f7
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
fa1f16b5a3
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