From d1a7e2c1a12c3788eee11c8ad9145afc293edf70325ccab45d523ce2b1a544ba Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 11 Nov 2022 09:20:42 +0000 Subject: [PATCH] Accepting request 1034892 from home:yarunachalam:branches:devel:languages:python - Update to version 3.0.32: Bug fixes: - Use `DummyInput` by default in `create_input()` if `sys.stdin` does not have a valid file descriptor. This fixes errors when `sys.stdin` is patched in certain situations. - Fix control-c key binding for `ProgressBar` when the progress bar was not created from the main thread. The current code would try to kill the main thread when control-c was pressed. New features: - Accept a `cancel_callback` in `ProgressBar` to specify the cancellation behavior for when `control-c` is pressed. - Small performance improvement in the renderer. OBS-URL: https://build.opensuse.org/request/show/1034892 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=40 --- prompt_toolkit-3.0.31.tar.gz | 3 --- prompt_toolkit-3.0.32.tar.gz | 3 +++ python-prompt_toolkit.changes | 16 ++++++++++++++++ python-prompt_toolkit.spec | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 prompt_toolkit-3.0.31.tar.gz create mode 100644 prompt_toolkit-3.0.32.tar.gz diff --git a/prompt_toolkit-3.0.31.tar.gz b/prompt_toolkit-3.0.31.tar.gz deleted file mode 100644 index 36a2dff..0000000 --- a/prompt_toolkit-3.0.31.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ada952c9d1787f52ff6d5f3484d0b4df8952787c087edf6a1f7c2cb1ea88148 -size 418926 diff --git a/prompt_toolkit-3.0.32.tar.gz b/prompt_toolkit-3.0.32.tar.gz new file mode 100644 index 0000000..2bbe910 --- /dev/null +++ b/prompt_toolkit-3.0.32.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7f2129cba4ff3b3656bbdda0e74ee00d2f874a8bcdb9dd16f5fec7b3e173cae +size 419599 diff --git a/python-prompt_toolkit.changes b/python-prompt_toolkit.changes index 25293ea..4e7fe0e 100644 --- a/python-prompt_toolkit.changes +++ b/python-prompt_toolkit.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Nov 9 16:32:15 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 3.0.32: + Bug fixes: + - Use `DummyInput` by default in `create_input()` if `sys.stdin` does not have + a valid file descriptor. This fixes errors when `sys.stdin` is patched in + certain situations. + - Fix control-c key binding for `ProgressBar` when the progress bar was not + created from the main thread. The current code would try to kill the main + thread when control-c was pressed. + New features: + - Accept a `cancel_callback` in `ProgressBar` to specify the cancellation + behavior for when `control-c` is pressed. + - Small performance improvement in the renderer. + ------------------------------------------------------------------- Tue Oct 4 23:17:53 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec index 0fedb8e..3ab2b93 100644 --- a/python-prompt_toolkit.spec +++ b/python-prompt_toolkit.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-prompt_toolkit -Version: 3.0.31 +Version: 3.0.32 Release: 0 Summary: Library for building interactive command lines in Python License: BSD-3-Clause