Up to [cvs.NetBSD.org] / pkgsrc / comms / py-rich
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-rich: update to 14.3.1.
[14.3.1] - 2026-01-24
Fixed
Fixed characters out of unicode range reporting a cell size if 0 #3944
[14.3.0] - 2026-01-24
Fixed
IPython now respects when a Console instance is passed to pretty.install #3915
Fixed extraneous blank line on non-interactive disabled Progress #3905
Fixed extra padding on first cell in columns #3935
Fixed trailing whitespace removed when soft_wrap=True #3937
Fixed style new-lines when soft_wrap = True and a print style is set #3938
Added
Added support for some multi-codepopint glyphs (will fix alignment issues for these characters) #3930
Added support for UNICODE_VERSION environment variable #3930
Added last_render_height property to LiveRender #3934
Expose locals_max_depth and locals_overflow in traceback.install #3906
Added Segment.split_lines_terminator #3938
Changed
cells.cell_len now has a unicode_version parameter (that you probably should never change) #3930
Live will not write a new line if there was nothing rendered #3934
Changed style of Markdown headers #3942
Changed style of Markdown tables, added markdown.table.header and markdown.table.border styles #3942
Changed style of Markdown rules #3942
py-rich: fix PLIST with latest poetry-core and depend on it
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-rich: updated to 13.3.3 13.3.3 Added Style.clear_meta_and_links
py-rich: updated to 13.3.1 13.3.1 - 2023-01-28 Fixed Fixed truecolor to eight bit color conversion 13.3.0 - 2023-01-27 Fixed Fixed failing tests due to Pygments dependency Relaxed ipywidgets Added Added encoding parameter in Theme.read 13.2.0 - 2023-01-19 Changed Switch Markdown parsing from commonmark to markdown-it-py 13.1.0 - 2023-01-14 Fixed Fixed wrong filenames in Jupyter tracebacks Added Added locals_hide_dunder and locals_hide_sunder to Tracebacks, to hide double underscore and single underscore locals. Changed Tracebacks will now hide double underscore names from locals by default. Set locals_hide_dunder=False to restore previous behaviour. 13.0.1 - 2023-01-06 Fixed Fixed issue with Segment.split_cells for mixed single and double cell widths 13.0.0 - 2022-12-30 Fixed Reversed pre and code tags in base HTML format Improved detection of attrs library, that isn't confused by the presence of the attr library. Fixed issue with locals_max_length parameter not being respected in Traceback Handling of broken fileno made more robust. Fixes Fixed missing fileno on FileProxy Changed Bumped minimum Python version to 3.7 Pretty-printing of "tagged" __repr__ results is now greedy when matching tags progress.track now supports deriving total from __length_hint__ Added Add type annotation for key_separator of pretty.Node
py-rich: updated to 12.6.0 12.6.0 - 2022-10-02 Added Parse ANSI escape sequences in pretty repr Add support for FORCE_COLOR env var Allow a max_depth argument to be passed to the install() hook Document using None as name in __rich_repr__ for tuple positional args Add font_aspect_ratio parameter in SVG export https://github.com/Textualize/rich/pull/2539/files Added Table.add_section method. Fixed Handle stdout/stderr being null Fix NO_COLOR support on legacy Windows Fix pretty printer handling of cyclic references Fix missing mode property on file wrapper breaking uploads via requests Fix mismatching default value of parameter ensure_ascii Remove unused height parameter in Layout class Fixed exception in Syntax.rich_measure for empty files Changed Removed border from code blocks in MarkdownCVS: ----------------------------------------------------------------------
py-rich: updated to 12.5.1 12.5.1 Fixed Fixed missing typing extensions dependency on 3.9 12.5.0 Added Environment variables JUPYTER_COLUMNS and JUPYTER_LINES to control width and height of console in Jupyter Markdown friendly Box style, MARKDOWN, for rendering tables ready to copy into markdown files inspect will prefix coroutine functions with async def Style.__add__ will no longer return NotImplemented Remove rich._lru_cache Changed Default width of Jupyter console size is increased to 115 Optimized Segment.divide Fixed Fix Rich clobbering cursor style on Windows Fix text wrapping edge case Allow exceptions that are raised while a Live is rendered to be displayed and/or processed Fix crashes that can happen with inspect when docstrings contain some special control codes Fix edges used in first row of tables when show_header=False Fix interaction between Capture contexts and Console(record=True) Fixed hash issue in Styles class Fixed bug in Segment.split_and_crop_lines
py-rich: updated to 12.3.0 12.3.0 Added Ability to change terminal window title Added show_speed parameter to progress.track which will show the speed when the total is not known Python blocks can now opt out from being rendered in tracebacks's frames, by setting a _rich_traceback_omit = True in their local scope Fixed Fall back to sys.__stderr__ on POSIX systems when trying to get the terminal size (fix issues when Rich is piped to another process) Fixed markup escaping issue Safari - Box appearing around SVG export Fixed recursion error in Jupyter progress bars Complex numbers are now identified by the highlighter Fix crash on IDLE and forced is_terminal detection to False because IDLE can't do escape codes Fixed missing blank line in traceback rendering Fixed running Rich with the current working dir was deleted Changed Setting total=None on progress is now possible, and will display pulsing animation Micro-optimization for Segment.divide
py-rich: updated to 12.2.0 12.2.0 Changed Bumped typing-extensions minimum to 4.0.0 Bumped minimum Python version to 3.6.3 12.1.0 Added Progress.open and Progress.wrap_file method to track the progress while reading from a file or file-like object SVG export functionality Adding Indonesian translation Fixed Add missing end keyword argument to Text.from_markup Fallback to text lexer when no lexer guessed Fixed issue with decoding ANSI reset 12.0.1 Changed Improve performance of cell_length Improve performance of chop_cells Fixed Fix capturing stdout on legacy Windows 12.0.0 Added Added options to TimeRemainingColumn to render a compact time format and render elapsed time when a task is finished. Added ProgressColumn MofNCompleteColumn to display raw completed/total column (similar to DownloadColumn, but displays values as ints, does not convert to floats or add bit/bytes units). Replace Colorama with win32 renderer Add support for namedtuples to Pretty Fixed In Jupyter mode make the link target be set to "_blank" Fix some issues with markup handling around "[" characters Fix syntax lexer guessing. Fixed Pretty measure not respecting expand_all Collapsed definitions for single-character spinners, to save memory and reduce import time. Fix print_json indent type in __init__.py Fix error when inspecting object defined in REPL Fix incorrect highlighting of non-indented JSON Fixed height reset in complex renderables Changed Improved support for enum.Flag in ReprHighlighter Tree now respects justify=None, i.e. won't pad to right Removed rich.tabulate which was marked for deprecation Deprecated rich.align.AlignValues in favor of AlignMethod
py-rich: updated to 10.8.0 10.8.0 Added Added Panel.subtitle Added Panel.subtitle_align Added rich.json.JSON Added rich.print_json and Console.print_json Fixed Fixed a bug where calling rich.reconfigure within a pytest_configure hook would lead to a crash Fixed highlight not being passed through options https://github.com/willmcgugan/rich/issues/1404
py-rich: updated to 10.4.0 [10.4.0] - 2021-06-18 Added Added Style.meta Added rich.repr.auto decorator Fixed Fixed error pretty printing classes with special rich_repr method [10.3.0] - 2021-06-09 Added Added Console.size setter Added Console.width setter Added Console.height setter Added angular style Rich reprs Added an IPython extension. Load via %load_ext rich Changed Changed the logic for retrieving the calling frame in console logs to a faster one for the Python implementations that support it.
py-rich: added version 10.2.2 Rich is a Python library for rich text and beautiful formatting in the terminal. The Rich API makes it easy to add color and style to terminal output. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, tracebacks, and more - out of the box.