Sync from SUSE:SLFO:Main python-prompt_toolkit revision 57cee3a64fd3ab09d9bdfad1732b45cc

This commit is contained in:
Adrian Schröter 2024-12-13 11:58:15 +01:00
parent 6bcf3dda57
commit b4fa44bc50
4 changed files with 82 additions and 9 deletions

BIN
prompt_toolkit-3.0.38.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
prompt_toolkit-3.0.48.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,77 @@
-------------------------------------------------------------------
Fri Oct 18 10:46:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <daniel.garcia@suse.com>
- 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 <dmueller@suse.com>
@ -32,7 +106,7 @@ Tue Apr 4 20:16:51 UTC 2023 - Ben Greiner <code@bnavigator.de>
-------------------------------------------------------------------
Tue Dec 13 16:16:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <yarunachalam@suse.com>
-------------------------------------------------------------------
Tue Dec 6 04:28:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <yarunachalam@suse.com>
-------------------------------------------------------------------
Wed Nov 9 16:32:15 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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

View File

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