Commit Graph

22 Commits

Author SHA1 Message Date
Wang Mingyu
b813fd4b46
python3-rich: upgrade 14.0.0 -> 14.1.0
Changelog:
============
- Removed typing_extensions from runtime dependencies
- Live objects (including Progress) may now be nested
- Added padding property to Syntax which returns a tuple of four integers
- Fixed extraction of recursive exceptions
- Fixed padding applied to Syntax
- Fixed Panel title missing the panel background style
- Added TTY_INTERACTIVE environment variable to force interactive mode off or on

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-30 16:40:02 -07:00
Luca Fancellu
2c2d8f2959
python3-rich: Add native and nativesdk target to the build
Add the native and nativesdk target to the recipe.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-13 19:38:54 -07:00
Wang Mingyu
7aeb49e0ef
python3-rich: upgrade 13.9.4 -> 14.0.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Richard Purdie
bd6a1bb278
recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Khem Raj
6294b31374
python3-rich: Add missing rdepends
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:35 -08:00
Wang Mingyu
42ac53ac28
python3-rich: upgrade 13.9.3 -> 13.9.4
Changelog:
 Optimizations to cell_len which may speed up Rich / Textual output

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:21 -08:00
Leon Anavi
793557a317
python3-rich: Upgrade 13.9.2 -> 13.9.3
Upgrade to release 13.9.3:

- Fixed broken regex that may have resulted in poor performance

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 05:52:19 -07:00
Leon Anavi
5c419df75e
python3-rich: Upgrade 13.8.0 -> 13.9.2
Upgrade to release 13.9.2:

- Fixed Table columns not highlighting when added by add_row
- Fixed an issue with Segment.split_cells reported in Textual

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-11 07:52:22 -07:00
Wang Mingyu
4d3f35dd4f
python3-rich: upgrade 13.8.0 -> 13.8.1
Changelog:
===========
- Added support for Python 3.13
- Fixed infinite loop when appending Text to same instance

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
b308972f3a
python3-rich: upgrade 13.7.1 -> 13.8.0
Changelog:
==========
Fixed
--------
- Fixed Table rendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body.
- Fixed styles in Panel when Text objects are used for title
- Fix pretty repr for collections.deque
- Thread used in progress.track will exit if an exception occurs in a generator
- Progress track thread is now a daemon thread
- Fixed cached hash preservation upon clearing meta and links
- Fixed overriding the background_color of Syntax not including padding
- Fixed pretty printing of dataclasses with a default repr in Python 3.13
- Fixed selective enabling of highlighting when disabled in the Console
- Fixed BrokenPipeError writing an error message
- Fixed superfluous space above Markdown tables
- Fixed issue with record and capture interaction
- Fixed control codes breaking in append_tokens
- Fixed exception pretty printing a dataclass with missing fields

Changed
----------
- RichHandler errors and warnings will now use different colors (red and yellow)
- Removed the empty line printed in jupyter while using Progress
- Running tests in environment with FORCE_COLOR or NO_COLOR environment variables
- ansi decoder will now strip problematic private escape sequences (like \x1b7)
- Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes

Added
---------
- Adds a case_sensitive parameter to prompt.Prompt. This determines if the
- response is treated as case-sensitive. Defaults to True.
- Added Console.on_broken_pipe

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:40 -07:00
Wang Mingyu
02120efb4f
python3-rich: upgrade 13.7.0 -> 13.7.1
Changelog:
 Updated the widths of some characters

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 22:02:01 -07:00
Tim Orling
94c20e1ef4
meta-python: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Wang Mingyu
2aa6327a22
python3-rich: upgrade 13.6.0 -> 13.7.0
Changelog:
============
-Adds missing parameters to Panel.fit
-Some text goes missing during wrapping when it contains double width characters
-Ensure font is correctly inherited in exported HTML
-Fixed typing for FloatPrompt.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-21 22:44:40 -08:00
Wang Mingyu
6f1d6316d4 python3-rich: upgrade 13.5.3 -> 13.6.0
Changelog:
 Added Python 3.12 to classifiers.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-23 17:00:49 -07:00
Wang Mingyu
999abdbb96 python3-rich: upgrade 13.5.2 -> 13.5.3
Changelog:
===========
Markdown table rendering issue with inline styles and links
Fix Markdown code blocks on a light background

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:03 -07:00
Wang Mingyu
ffb2eb34bf python3-rich: upgrade 13.4.2 -> 13.5.2
Changelog:
============
Fixed
--------
Fixed Text.expand_tab assertion error
Fix tilde character (~) not included in link regex when printing to console #3057
Fixed Text.expand_tabs not expanding spans.
Fixed TimeElapsedColumn from showing negative.
Fix for escaping strings with a trailing backslash #2987
Fixed exception in Markdown with partial table #3053
Fixed the HTML export template so that the <html> tag comes before the <head> tag #3021
Fixed issue with custom classes overwriting __eq__ #2875
Fix rich.pretty.install breakage in iPython #3013

Added
--------
Added Text.extend_style method.
Added Span.extend method.

Changed
----------
Text.tab_size now defaults to None to indicate that Console.tab_size should be used.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-16 11:39:45 -07:00
Wang Mingyu
21a982008c python3-rich: upgrade 13.4.1 -> 13.4.2
Changelog:
==========
Relaxed markdown-it-py dependency

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-19 10:24:49 -07:00
Wang Mingyu
35125eef93 python3-rich: upgrade 13.3.5 -> 13.4.1
Changelog:
============
  Fixed typing extensions import in markdown #2979
  Added support for tables in Markdown #2977

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-05 09:29:35 -07:00
Wang Mingyu
348ea5737f python3-rich: upgrade 13.3.4 -> 13.3.5
Changelog:
Fixed italic indent guides in SVG ouput

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:45:56 -07:00
Wang Mingyu
561990f983 python3-rich: upgrade 13.3.3 -> 13.3.4
Changelog:
 Fixed for is_terminal ignoring FORCE_COLOR

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-17 09:53:31 -07:00
Wang Mingyu
d83bc4853f python3-rich: upgrade 13.3.2 -> 13.3.3
Changelog:
Added Style.clear_meta_and_links

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Yi Zhao
4f45bf76d2 python3-rich: add recipe
Rich is a Python library for rich text and beautiful formatting in the
terminal.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 09:54:04 -08:00