From b4fa44bc50885b8444336db33208fcb3297689fe3f10542659e58bde9d10b38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 11:58:15 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-prompt_toolkit revision 57cee3a64fd3ab09d9bdfad1732b45cc --- prompt_toolkit-3.0.38.tar.gz | 3 -- prompt_toolkit-3.0.48.tar.gz | 3 ++ python-prompt_toolkit.changes | 80 +++++++++++++++++++++++++++++++++-- python-prompt_toolkit.spec | 5 +-- 4 files changed, 82 insertions(+), 9 deletions(-) delete mode 100644 prompt_toolkit-3.0.38.tar.gz create mode 100644 prompt_toolkit-3.0.48.tar.gz diff --git a/prompt_toolkit-3.0.38.tar.gz b/prompt_toolkit-3.0.38.tar.gz deleted file mode 100644 index 17450e1..0000000 --- a/prompt_toolkit-3.0.38.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23ac5d50538a9a38c8bde05fecb47d0b403ecd0662857a86f886f798563d5b9b -size 422834 diff --git a/prompt_toolkit-3.0.48.tar.gz b/prompt_toolkit-3.0.48.tar.gz new file mode 100644 index 0000000..06b8ab2 --- /dev/null +++ b/prompt_toolkit-3.0.48.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6623ab0477a80df74e646bdbc93621143f5caf104206aa29294d53de1a03d90 +size 424684 diff --git a/python-prompt_toolkit.changes b/python-prompt_toolkit.changes index 606cb81..9d46bde 100644 --- a/python-prompt_toolkit.changes +++ b/python-prompt_toolkit.changes @@ -1,3 +1,77 @@ +------------------------------------------------------------------- +Fri Oct 18 10:46:34 UTC 2024 - Dirk Müller + +- update to 3.0.48: + * Typing improvements: + * Add `@overload` to + `contrib.regular_languages.compiler.Variables.get`. + * Use `Sequence` instead of `list` for `words` argument in + completers. + * Improve `ModalCursorShapeConfig`: + * Display an "underscore" cursor in Vi's "replace single" mode, + like "replace" mode. + * Display an "beam" cursor in Emacs (insert) mode. + +------------------------------------------------------------------- +Sun Aug 18 17:21:48 UTC 2024 - Dirk Müller + +- update to 3.0.47: + * Allow passing exception classes for `KeyboardInterrupt` and + `EOFError` in `PromptSession`. + * Compute padding parameters for `Box` widget lazily. + +------------------------------------------------------------------- +Thu Jun 6 20:01:57 UTC 2024 - Dirk Müller + +- update to 3.0.46: + * Fix pytest capsys fixture compatibility. + * Improve performance of `GrammarCompleter` (faster + deduplication of completions). + * Accept `os.PathLike` in `FileHistory` (typing fix). + * Fix memory leak in filters. + * Improve performance of progress bar formatters. + * Fix compatibility when a SIGINT handler is installed by non- + Python (Rust, C). + * Limit number of completions in buffer to 10k by default (for + performance). + +------------------------------------------------------------------- +Sat Dec 30 17:31:47 UTC 2023 - Dirk Müller + +- update to 3.0.43: + * Fix regression on Pypy: Don't use `ctypes.pythonapi` to + restore SIGINT if not available. + * Make `formatted_text.split_lines()` accept an iterable + instead of lists only. + * Disable the IPython workaround (from 3.0.41) for IPython >= + 8.18. + * Restore signal.SIGINT handler between prompts. + +------------------------------------------------------------------- +Tue Dec 5 13:27:22 UTC 2023 - Daniel Garcia + +- Update to 3.0.41 (bsc#1217693): + - Fix regression regarding IPython input hook (%gui) integration. +- 3.0.40 + * Fixes: + - Improved Python 3.12 support (fixes event loop `DeprecationWarning`). + * New features: + - Vi key bindings: `control-t` and `control-d` for indent/unindent + in insert mode. + - Insert partial suggestion when `control+right` is pressed, + similar to Fish. + - Use sphinx-nefertiti theme for the docs. +- 3.0.39 + * Fixes: + - Fix `RuntimeError` when `__breakpointhook__` is called from + another thread. + - Fix memory leak in filters usage. + - Ensure that key bindings are handled in the right context (when + using contextvars). + * New features: + - Accept `in_thread` keyword in `prompt_toolkit.shortcuts.prompt()`. + - Support the `NO_COLOR` environment variable. + ------------------------------------------------------------------- Fri Apr 21 12:29:53 UTC 2023 - Dirk Müller @@ -32,7 +106,7 @@ Tue Apr 4 20:16:51 UTC 2023 - Ben Greiner ------------------------------------------------------------------- Tue Dec 13 16:16:08 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 3.0.36 +- Update to version 3.0.36 * Fixes: - Another Python 3.6 fix for a bug that was introduced in 3.0.34. @@ -53,7 +127,7 @@ Tue Dec 13 16:16:08 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Tue Dec 6 04:28:29 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 3.0.33: +- Update to version 3.0.33: Fixes: - Improve termination of `Application`. Don't suppress `CancelledError`. This fixes a race condition when an `Application` gets cancelled while we're @@ -64,7 +138,7 @@ Tue Dec 6 04:28:29 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Wed Nov 9 16:32:15 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 3.0.32: +- 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 diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec index 2a70b7a..ff074d3 100644 --- a/python-prompt_toolkit.spec +++ b/python-prompt_toolkit.spec @@ -1,7 +1,7 @@ # # spec file for package python-prompt_toolkit # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,9 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-prompt_toolkit -Version: 3.0.38 +Version: 3.0.48 Release: 0 Summary: Library for building interactive command lines in Python License: BSD-3-Clause