From 58b18493fa61fbfaa9fa704f751a96df486b7ed96dfaf802ec9b740e1c5b0b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 2 Nov 2018 08:17:24 +0000 Subject: [PATCH] Accepting request 645953 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/645953 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=21 --- prompt_toolkit-2.0.6.tar.gz | 3 --- prompt_toolkit-2.0.7.tar.gz | 3 +++ python-prompt_toolkit.changes | 25 +++++++++++++++++++++++++ python-prompt_toolkit.spec | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) delete mode 100644 prompt_toolkit-2.0.6.tar.gz create mode 100644 prompt_toolkit-2.0.7.tar.gz diff --git a/prompt_toolkit-2.0.6.tar.gz b/prompt_toolkit-2.0.6.tar.gz deleted file mode 100644 index 556cc99..0000000 --- a/prompt_toolkit-2.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82766ffd7397e6661465e20bd1390db0781ca4fbbab4cf6c2578cacdd8b09754 -size 339714 diff --git a/prompt_toolkit-2.0.7.tar.gz b/prompt_toolkit-2.0.7.tar.gz new file mode 100644 index 0000000..9408c61 --- /dev/null +++ b/prompt_toolkit-2.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd17048d8335c1e6d5ee403c3569953ba3eb8555d710bfc548faf0712666ea39 +size 343267 diff --git a/python-prompt_toolkit.changes b/python-prompt_toolkit.changes index fb9a272..105775e 100644 --- a/python-prompt_toolkit.changes +++ b/python-prompt_toolkit.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Nov 1 22:41:46 UTC 2018 - Arun Persaud + +- update to version 2.0.7: + * Bug fixes: + + Fixed assertion in PromptSession: the style_transformation check + was wrong. + + Removed 'default' attribute in PromptSession. Only ask for it in + the `prompt()` method. This fixes the issue that passing + `default` once, will store it for all consequent calls in the + `PromptSession`. + + Ensure that `__pt_formatted_text__` always returns a + `FormattedText` instance. This fixes an issue with + `print_formatted_text`. + * New features: + + Improved handling of situations where stdin or stdout are not a + terminal. (Print warning instead of failing with an assertion.) + + Added `print_container` utility. + + Sound bell when attempting to edit read-only buffer. + + Handle page-down and page-up keys in RadioList. + + Accept any `collections.abc.Sequence` for HSplit/VSplit children + (instead of lists only). + + Improved Vi key bindings: return to navigation mode when Insert + is pressed. + ------------------------------------------------------------------- Sat Oct 13 16:03:06 UTC 2018 - Arun Persaud diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec index 477dcd0..8dfe57f 100644 --- a/python-prompt_toolkit.spec +++ b/python-prompt_toolkit.spec @@ -20,7 +20,7 @@ %define oldpython python %bcond_without test Name: python-prompt_toolkit -Version: 2.0.6 +Version: 2.0.7 Release: 0 Summary: Library for building interactive command lines in Python License: BSD-3-Clause