From 7d32a40cb6bec6d54db42d8cab14858cc2f2cebdbaa70ce81c0af2d6836ae62a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 28 Apr 2025 16:40:02 +0000 Subject: [PATCH] - 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 --- prompt_toolkit-3.0.48.tar.gz | 3 --- prompt_toolkit-3.0.51.tar.gz | 3 +++ python-prompt_toolkit.changes | 19 +++++++++++++++++++ python-prompt_toolkit.spec | 4 ++-- 4 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 prompt_toolkit-3.0.48.tar.gz create mode 100644 prompt_toolkit-3.0.51.tar.gz diff --git a/prompt_toolkit-3.0.48.tar.gz b/prompt_toolkit-3.0.48.tar.gz deleted file mode 100644 index 06b8ab2..0000000 --- a/prompt_toolkit-3.0.48.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6623ab0477a80df74e646bdbc93621143f5caf104206aa29294d53de1a03d90 -size 424684 diff --git a/prompt_toolkit-3.0.51.tar.gz b/prompt_toolkit-3.0.51.tar.gz new file mode 100644 index 0000000..b47e978 --- /dev/null +++ b/prompt_toolkit-3.0.51.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:931a162e3b27fc90c86f1b48bb1fb2c528c2761475e57c9c06de13311c7b54ed +size 428940 diff --git a/python-prompt_toolkit.changes b/python-prompt_toolkit.changes index 84f43ee..97b1516 100644 --- a/python-prompt_toolkit.changes +++ b/python-prompt_toolkit.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Apr 28 16:39:24 UTC 2025 - Dirk Müller + +- 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 diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec index ae854b0..5f63895 100644 --- a/python-prompt_toolkit.spec +++ b/python-prompt_toolkit.spec @@ -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