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 52 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:869c50d682152336e23c4db7f74667639b5047494202ffe7670817053fd57795
size 425591

BIN
prompt_toolkit-3.0.51.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Mon Apr 28 16:39:24 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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:
-------------------------------------------------------------------
Fri Nov 22 14:42:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add compat provides on the safe name
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-prompt_toolkit
#
# Copyright (c) 2024 SUSE LLC
# 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.46
Version: 3.0.51
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause
@@ -34,6 +34,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-wcwidth
Recommends: python-Pygments
Provides: python-prompt-toolkit = %{version}-%{release}
Conflicts: python-prompt_toolkit1
BuildArch: noarch
%python_subpackages