17
0

10 Commits

Author SHA256 Message Date
e5587a9c3b Accepting request 1301892 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1301892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=31
2025-08-29 16:34:49 +00:00
11e5823202 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=64
2025-08-29 08:08:57 +00:00
aa4a4b42c3 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
7d32a40cb6 - 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
85347e518a 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
4913c88eb9 - 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
9fe17ee0f8 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
98c4e5d5c9 - 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
8a5c8d86e1 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
74eca2a1bb - 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 21 additions and 5 deletions

Binary file not shown.

View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
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
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.51
Version: 3.0.52
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause