Sync from SUSE:SLFO:Main python-prompt_toolkit revision 35118825c8487cbd5709749e79f9380e

This commit is contained in:
2025-06-27 15:48:04 +02:00
parent b4fa44bc50
commit eb120ca65e
4 changed files with 30 additions and 5 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
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>

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.48
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