15
0

8 Commits

Author SHA256 Message Date
d988081dbe Accepting request 1273208 from devel:languages:python
- update to 3.0.51:
  * Use pyproject.toml instead of setup.py.
  * Fix edge case in `formatted_text.split_lines` when the input
    starts with a line ending.
  * Fixes non user impacting regression on the output rendering.
    Don't render cursor hide/show ANSI escape codes if not needed.
  * On Windows, use virtual terminal input when available.
  * Support for multiline suggestions.
  * Handle `InvalidStateError` during termination when using
    `run_in_terminal`/`patch_stdout`. This can happen in some
    cases during cancellation, probably when using anyio.
  * Fix cursor that remains in hidden state when the application
    exits. This can happen when the application doesn't show the
    cursor and `erase_when_done` is being used.
  * Drop support for Python 3.7:

OBS-URL: https://build.opensuse.org/request/show/1273208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=30
2025-04-30 17:02:26 +00:00
3f03f9b6f4 - update to 3.0.51:
* Use pyproject.toml instead of setup.py.
  * Fix edge case in `formatted_text.split_lines` when the input
    starts with a line ending.
  * Fixes non user impacting regression on the output rendering.
    Don't render cursor hide/show ANSI escape codes if not needed.
  * On Windows, use virtual terminal input when available.
  * Support for multiline suggestions.
  * Handle `InvalidStateError` during termination when using
    `run_in_terminal`/`patch_stdout`. This can happen in some
    cases during cancellation, probably when using anyio.
  * Fix cursor that remains in hidden state when the application
    exits. This can happen when the application doesn't show the
    cursor and `erase_when_done` is being used.
  * Drop support for Python 3.7:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=62
2025-04-28 16:40:02 +00:00
9246d5797f Accepting request 1225843 from devel:languages:python
- add compat provides on the safe name

OBS-URL: https://build.opensuse.org/request/show/1225843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=29
2024-11-22 22:51:08 +00:00
093f211af2 - add compat provides on the safe name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=60
2024-11-22 14:46:28 +00:00
f0e83ce145 Accepting request 1208844 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1208844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=28
2024-10-20 08:13:40 +00:00
14a81884e3 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=58
2024-10-18 10:46:47 +00:00
7f6082a280 Accepting request 1194587 from devel:languages:python
- update to 3.0.47:
  * Allow passing exception classes for `KeyboardInterrupt` and
    `EOFError` in  `PromptSession`.
  * Compute padding parameters for `Box` widget lazily.

OBS-URL: https://build.opensuse.org/request/show/1194587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=27
2024-08-20 14:12:32 +00:00
3d6aeaa385 - update to 3.0.47:
* Allow passing exception classes for `KeyboardInterrupt` and
    `EOFError` in  `PromptSession`.
  * Compute padding parameters for `Box` widget lazily.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=56
2024-08-18 17:22:19 +00:00
4 changed files with 5 additions and 21 deletions

BIN
prompt_toolkit-3.0.51.tar.gz LFS Normal file

Binary file not shown.

View File

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

View File

@@ -1,19 +1,3 @@
-------------------------------------------------------------------
Thu Aug 28 11:19:10 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 3.0.52:
New features:
* Add choice() shortcut for selecting an option amongst a list
of choices (see documentation for examples).
* Add support for ANSI dim text formatting.
* Add frame=... option for prompt() and choice() shortcuts to
allow for displaying a frame around the input prompt.
Fixes:
* Fix button width when non English characters are displayed.
* Implement flushing in Windows VT100 input.
* Fix signal handling for GraalPy.
* Fix handling of zero sized dimensions.
-------------------------------------------------------------------
Mon Apr 28 16:39:24 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-prompt_toolkit
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-prompt_toolkit
Version: 3.0.52
Version: 3.0.51
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause