From 8ca1ea73cf6c51fa7db2aa6ecb0b6004338a797e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 23 Oct 2023 16:52:56 +0800 Subject: python3-prompt-toolkit: upgrade 3.0.36 -> 3.0.39 Changelog: =========== Fixes: - Fix 'RuntimeError' when '__breakpointhook__' is called from another thread. - Fix memory leak in filters usage. - Ensure that key bindings are handled in the right context (when using contextvars). - Fix regression in filters. (Use of 'WeakValueDictionary' caused filters to not be cached). - Fix 'currentThread()' deprecation warning. - Fix memory leak in filters. - Make VERSION tuple numeric. New features: - Accept 'in_thread' keyword in 'prompt_toolkit.shortcuts.prompt()'. - Support the 'NO_COLOR' environment variable. - Use 24-bit true color now by default on Windows 10/11. - Add '.run()' method in 'TelnetServer'. (To be used instead of '.start()/.stop()'. Breaking changes: - Subclasses of 'Filter' have to call 'super()' in their '__init__'. - Drop support for Python 3.6: * This includes code cleanup for Python 3.6 compatibility. * Use 'get_running_loop()' instead of 'get_event_loop()'. * Use 'asyncio.run()' instead of 'asyncio.run_until_complete()'. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-prompt-toolkit_3.0.39.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.39.bb (limited to 'meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.39.bb') diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.39.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.39.bb new file mode 100644 index 0000000000..05ff41e7a9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.39.bb @@ -0,0 +1,25 @@ +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] = "04505ade687dc26dc4284b1ad19a83be2f2afe83e7a828ace0c72f3a1df72aac" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "prompt_toolkit" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-wcwidth \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-image \ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-xml \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf