<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.36.bb, branch scarthgap</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2023-10-23T15:05:02+00:00</updated>
<entry>
<title>python3-prompt-toolkit: upgrade 3.0.36 -&gt; 3.0.39</title>
<updated>2023-10-23T15:05:02+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@fujitsu.com</email>
</author>
<published>2023-10-23T08:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=8ca1ea73cf6c51fa7db2aa6ecb0b6004338a797e'/>
<id>urn:sha1:8ca1ea73cf6c51fa7db2aa6ecb0b6004338a797e</id>
<content type='text'>
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 &lt;wangmy@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-prompt-toolkit: Upgrade 3.0.31 -&gt; 3.0.36</title>
<updated>2023-01-06T19:38:16+00:00</updated>
<author>
<name>Leon Anavi</name>
<email>leon.anavi@konsulko.com</email>
</author>
<published>2023-01-04T10:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a695aca353744308eae124d5ebe9691b42778d11'/>
<id>urn:sha1:a695aca353744308eae124d5ebe9691b42778d11</id>
<content type='text'>
Upgrade to release 3.0.36:

- Another Python 3.6 fix for a bug that was introduced in 3.0.34.
- Fix bug introduced in 3.0.34 for Python 3.6. Use
  asynccontextmanager implementation from prompt_toolkit itself.
- Improve completion performance in various places.
- Improve renderer performance.
- Handle `KeyboardInterrupt` when the stacktrace of an unhandled
  error is displayed.
- Use correct event loop in `Application.create_background_task()`.
- Fix `show_cursor` attribute in `ScrollablePane`.
- Improve termination of `Application`. Don't suppress
  `CancelledError`. This fixes a race condition when an
  `Application` gets cancelled while we're waiting for the
  background tasks to complete.
- Fixed typehint for `OneStyleAndTextTuple`.
- Small bugfix in `CombinedRegistry`. Fixed missing `@property`.
- Use `DummyInput` by default in `create_input()` if `sys.stdin`
  does not have a valid file descriptor. This fixes errors when
  `sys.stdin` is patched in certain situations.
- Fix control-c key binding for `ProgressBar` when the progress
  bar was not created from the main thread. The current code would
  try to kill the main thread when control-c was pressed.
- Accept a `cancel_callback` in `ProgressBar` to specify the
  cancellation behavior for when `control-c` is pressed.
- Small performance improvement in the renderer.

Signed-off-by: Leon Anavi &lt;leon.anavi@konsulko.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
