Up to [cvs.NetBSD.org] / pkgsrc / comms / py-rich
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-rich: updated to 13.9.4 13.9.4 Optimizations to cell_len which may speed up Rich / Textual output
py-rich: updated to 13.9.3 13.9.3 Fixed broken regex that may have resulted in poor performance.
i*: clean up after python38 removal
py-rich: updated to 13.9.2 13.9.2 Fixed Table columns not highlighting when added by add_row Fixed an issue with Segment.split_cells reported in Textual
py-rich: updated to 13.9.1 13.9.1 Fixed Fixed typing_extensions dependency 13.9.0 Changed Dropped support for Python3.7 Rich will display tracebacks with finely grained error locations on python 3.11+ Fixed Fixed issue with Segment._split_cells Fix auto detection of terminal size on Windows Text.style now respected in Panel title/subtitle
py-rich: updated to 13.8.1 13.8.1 Added support for Python 3.13 Fixed infinite loop when appending Text to same instance
py-rich: updated to 13.8.0 13.8.0 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
py-rich: remove Python 3.8 support
py-rich: updated to 13.7.1 13.7.1 - 2023-02-28 Fixed Updated the widths of some characters
py-rich: updated to 13.7.0 13.7.0 Added Adds missing parameters to Panel.fit Fixed Some text goes missing during wrapping when it contains double width characters Ensure font is correctly inherited in exported HTML Fixed typing for FloatPrompt.
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.6.0 13.6.0 Added Python 3.12 to classifiers.
py-rich: updated to 13.5.3 13.5.3 Fixed Markdown table rendering issue with inline styles and links Fix Markdown code blocks on a light background
py-rich: updated to 13.5.2 13.5.2 - 2023-08-01 Fixed Fixed Text.expand_tab assertion error 13.5.1 - 2023-07-31 Fixed Fix tilde character (~) not included in link regex when printing to console 13.5.0 - 2023-07-29 Fixed Fixed Text.expand_tabs not expanding spans. Fixed TimeElapsedColumn from showing negative. Fix for escaping strings with a trailing backslash Fixed exception in Markdown with partial table Fixed the HTML export template so that the <html> tag comes before the <head> tag Fixed issue with custom classes overwriting __eq__ Fix rich.pretty.install breakage in iPython 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.
py-rich: updated to 13.4.2 13.4.2 Relaxed markdown-it-py dependency
py-rich: update to 13.4.1. [13.4.1] - 2023-06-31 - Hot fix for typing extension issue Latest Fixed typing extensions import in markdown #2979 [13.4.0] - 2023-06-31 - Added tables to Markdown Added support for tables in Markdown #2977
py-rich: updated to 13.3.5 13.3.5 Fixed italic indent guides in SVG ouput
py-rich: updated to 13.3.4 13.3.4 Fixed for is_terminal ignoring FORCE_COLOR
py-rich: updated to 13.3.3 13.3.3 Added Style.clear_meta_and_links
py-rich: bump py-markdown-it-py requiremnt
py-rich: updated to 13.3.2 13.3.2 Fixed Reversed pre and code tags in base HTML format Fix syntax error when building with nuitka Fixed pretty printing of empty dataclass Use Console(stderr=True) in rich.traceback.install to support io redirection. Fixes superfluous spaces in html output Fixed duplicate output in Jupyter https://github.com/Textualize/rich/pulls/2804 Filter ANSI character-encoding-change codes in Text.from_ansi parser Fixes traceback failing when a frame filename is unreadable Fix for live update rendering console markup Added Added Polish README Changed rich.progress.track() will now show the elapsed time after finishing the task
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.4.4 12.4.4 Changed Added clipping per line to SVG output to avoid box characters overlapping Optimized SVG output 12.4.3 Changed Further tweaks to SVG character matrix Added clip rect to SVG to prevent box characters overlapping bottom of terminal 12.4.2 Fixed Fix for SVG on Firefox Changed Removed excess margin from SVG, tweaked cell sizes to better render block characters
py-rich: updated to 12.4.1 12.4.1 - 2022-05-08 Fixed Fix for default background color in SVG export Changed Added a keyline around SVG terminals which is visible on dark backgrounds 12.4.0 Changed Rebuilt SVG export to create a simpler SVG that is more portable Fix render_lines crash when render height was negative Added Add padding to Syntax constructor
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 11.2.0 11.2.0 Added Add support for US spelling of "gray" in ANSI color names https://github.com/Textualize/rich/issues/1890 Added rich.diagnose.report to expose environment debugging logic as function https://github.com/Textualize/rich/pull/1917 Added classmethod Progress.get_default_columns() to get the default list of progress bar columns https://github.com/Textualize/rich/pull/1894 Fixed Fixed performance issue in measuring text Fixed test failures on PyPy3 https://github.com/Textualize/rich/pull/1904
py-rich: updated to 11.1.0 11.1.0 - 2022-01-28 Added Add Syntax.guess_lexer, add support for more lexers (e.g. Django templates etc.) https://github.com/Textualize/rich/pull/1869 Add lexer parameter to Syntax.from_path to allow for overrides https://github.com/Textualize/rich/pull/1873 Fixed Workaround for edge case of object from Faiss with no __class__ https://github.com/Textualize/rich/issues/1838 Ensure Syntax always justifies left https://github.com/Textualize/rich/pull/1872 Handle classes in inspect when methods=True https://github.com/Textualize/rich/pull/1874
py-rich: updated to 11.0.0 11.0.0 Added Added max_depth arg to pretty printing https://github.com/Textualize/rich/issues/1585 Added vertical_align to Table.add_row https://github.com/Textualize/rich/issues/1590 Fixed Fixed issue with pretty repr in jupyter notebook https://github.com/Textualize/rich/issues/1717 Fix Traceback theme defaults override user supplied styles https://github.com/Textualize/rich/issues/1786 Changed breaking Deprecated rich.console.RenderGroup, now named rich.console.Group breaking Syntax.__init__ parameter lexer_name renamed to lexer Syntax constructor accepts both str and now a pygments lexer https://github.com/Textualize/rich/pull/1748
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-rich: updated to 10.16.2 10.16.2 Fixed Fixed @ not being escaped in markup 10.16.1 Fixed Fixed issues with overlapping tags https://github.com/willmcgugan/rich/issues/1755 10.16.0 Fixed Double print of progress bar in Jupyter https://github.com/willmcgugan/rich/issues/1737 Added Added Text.markup property https://github.com/willmcgugan/rich/issues/1751
py-dataclasses: removed; was Python 3.6 onlu
py-rich: updated to 10.15.2 10.15.2 Fixed * Deadlock issue
py-rich: updated to 10.15.1 v10.15.1 Changed Reverted thread-safety fix for Live that introduced deadlock potential v10.15.0 Added Added dynamic_progress.py to examples Added ConsoleOptions.update_height Fixed Padding not respecting height Added Text.from_ansi method Changed Some optimizations for simple strings (with only single cell widths) Fixed Fixed issue with progress bar not rendering markup Fixed race condition when exiting Live
py-rich: updated to 10.14.0 10.14.0 Fixed Fixed progress speed not updating when total doesn't change Fixed superfluous new line in Status https://github.com/willmcgugan/rich/issues/1662 Fixed Windows legacy width again Fixed infinite loop in set_cell_size https://github.com/willmcgugan/rich/issues/1682 Added Added file protocol to URL highlighter https://github.com/willmcgugan/rich/issues/1681 Added rich.protocol.rich_cast Changed Allowed __rich__ to work recursively Allowed Text classes to work with sep in print https://github.com/willmcgugan/rich/issues/1689
py-rich: updated to 10.13.0 10.13.0 Added Added json.dumps parameters to print_json https://github.com/willmcgugan/rich/issues/1638 Fixed Fixed an edge case bug when console module try to detect if they are in a tty at the end of a pytest run Fixed a bug where logging handler raises an exception when running with pythonw (related to https://bugs.python.org/issue13807) Fixed issue with TERM env vars that have more than one hyphen https://github.com/willmcgugan/rich/issues/1640 Fixed missing new line after progress bar when terminal is not interactive https://github.com/willmcgugan/rich/issues/1606 Fixed exception in IPython when disabling pprint with %pprint https://github.com/willmcgugan/rich/issues/1646 Fixed issue where values longer than the console width produced invalid JSON https://github.com/willmcgugan/rich/issues/1653 Fixes trailing comma when pretty printing dataclass with last field repr=False https://github.com/willmcgugan/rich/issues/1599 Changed Markdown codeblocks now word-wrap
py-rich: updated to 10.12.0 10.12.0 Updated Official Py3.10 release Fixed Fixed detection of custom repr when pretty printing dataclasses
py-rich: updated to 10.11.0 10.11.0 Added suppress parameter to tracebacks Added max_frames parameter to tracebacks
py-rich: updated to 10.10.0 10.10.0 Added Added stdin support to rich.json Fixed Fixed pretty printing of objects with fo magic with getattr https://github.com/willmcgugan/rich/issues/1492
py-rich: updated to 10.9.0 10.9.0 Added Added data parameter to print_json method / function Added an --indent parameter to python -m rich.json Changed Changed default indent of JSON to 2 (down from 4) Changed highlighting of JSON keys to new style (bold blue)
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.7.0 10.7.0 Added Added Text.apply_meta Added meta argument to Text.assemble Added Style.from_meta Added Style.on Added Text.on Changed Changed RenderGroup to Group and render_group to group (old names remain for compatibility but will be deprecated in the future) Changed rich.repr.RichReprResult to rich.repr.Result (old names remain for compatibility but will be deprecated in the future) Changed meta serialization to use pickle rather than marshal to permit callables
py-rich: updated to 10.6.0 10.6.0: Deprecated Added deprecation warning for tabulate_mapping which will be removed in v11.0.0 Added Added precision argument to filesize.decimal Added separator argument to filesize.decimal Added _rich_traceback_guard to Traceback Added emoji_variant to Console Added -emoji and -text variant selectors to emoji code Fixed Fixed issue with adjoining color tags https://github.com/willmcgugan/rich/issues/1334 Changed Changed Console.size to use unproxied stdin and stdout
py-rich: updated to 10.5.0 10.5.0: Fixed Fixed Pandas objects not pretty printing https://github.com/willmcgugan/rich/issues/1305 Fixed https://github.com/willmcgugan/rich/issues/1256 Fixed typing with rich.repr.auto decorator Fixed repr error formatting https://github.com/willmcgugan/rich/issues/1326 Added Added new_line_start argument to Console.print Added Segment.divide method Added Segment.split_cells method Added segment.SegmentLines class
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: depend on typing-extensions only for Python < 3.8
py-rich: fix typo
py-rich: fix a typo
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.