14
0

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
This commit is contained in:
2022-11-11 09:20:42 +00:00
committed by Git OBS Bridge
parent c88ea58595
commit d1a7e2c1a1
4 changed files with 20 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ada952c9d1787f52ff6d5f3484d0b4df8952787c087edf6a1f7c2cb1ea88148
size 418926

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7f2129cba4ff3b3656bbdda0e74ee00d2f874a8bcdb9dd16f5fec7b3e173cae
size 419599

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Nov 9 16:32:15 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <yarunachalam@suse.com>

View File

@@ -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