From ea6f5e3638497b8b33d79ce6e0efe6e64c7e0e93 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 10 Feb 2025 17:01:23 +0800 Subject: python3-prompt-toolkit: upgrade 3.0.48 -> 3.0.50 Changelog: =========== - 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 - Fixes non user impacting regression on the output rendering. Don't render cursor hide/show ANSI escape codes if not needed. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-prompt-toolkit_3.0.48.bb | 26 ---------------------- .../python/python3-prompt-toolkit_3.0.50.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.50.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb deleted file mode 100644 index fc9991e374..0000000000 --- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.48.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Library for building powerful interactive command lines in Python" -HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" - -SRC_URI[sha256sum] = "d6623ab0477a80df74e646bdbc93621143f5caf104206aa29294d53de1a03d90" - -inherit pypi setuptools3 - -PYPI_PACKAGE = "prompt_toolkit" -UPSTREAM_CHECK_PYPI_PACKAGE = "prompt_toolkit" - -RDEPENDS:${PN} += " \ - python3-core \ - python3-six \ - python3-terminal \ - python3-threading \ - python3-wcwidth \ - python3-datetime \ - python3-shell \ - python3-image \ - python3-asyncio \ - python3-xml \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.50.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.50.bb new file mode 100644 index 0000000000..f59b6a6ae7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.50.bb @@ -0,0 +1,26 @@ +SUMMARY = "Library for building powerful interactive command lines in Python" +HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" + +SRC_URI[sha256sum] = "544748f3860a2623ca5cd6d2795e7a14f3d0e1c3c9728359013f79877fc89bab" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "prompt_toolkit" +UPSTREAM_CHECK_PYPI_PACKAGE = "prompt_toolkit" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-six \ + python3-terminal \ + python3-threading \ + python3-wcwidth \ + python3-datetime \ + python3-shell \ + python3-image \ + python3-asyncio \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf