From eca0b902b485408f0228f434ef56c1621acc12cf8139929b5bdac14a6a55e428 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 6 Mar 2021 17:34:19 +0000 Subject: [PATCH] Accepting request 877404 from home:mnhauke - Update to version 9.13.0 Added * Pretty printer now supports dataclasses Fixed * Fixed Syntax background #1088 * Fix for double tracebacks when no formatter #1079 Changed * Added ws and wss to url highlighter - Update to version 9.12.4 Fixed * Fixed custom formatters with rich tracebacks in RichHandler. Changed * Allow highly compressed table cells to go to 0 width * Optimization to remove empty styles in various places - Update to version 9.12.3 Changed * Optimized Padding - Update to version 9.12.2 Added * Added ConsoleOptions.copy Changed * Optimized ConsoleOptions.update - Update to version 9.12.1 Fixed * Fixed deadlock in Progress Added * Added Task.finished_speed Changed * Froze TransferSpeedColumn speed when task is finished OBS-URL: https://build.opensuse.org/request/show/877404 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=24 --- python-rich.changes | 90 +++++++++++++++++++++++++++++++++++++++++++++ python-rich.spec | 4 +- rich-9.13.0.tar.gz | 3 ++ rich-9.9.0.tar.gz | 3 -- 4 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 rich-9.13.0.tar.gz delete mode 100644 rich-9.9.0.tar.gz diff --git a/python-rich.changes b/python-rich.changes index ef146bf..88ecc92 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,93 @@ +------------------------------------------------------------------- +Sat Mar 6 16:35:37 UTC 2021 - Martin Hauke + +- Update to version 9.13.0 + Added + * Pretty printer now supports dataclasses + Fixed + * Fixed Syntax background #1088 + * Fix for double tracebacks when no formatter #1079 + Changed + * Added ws and wss to url highlighter + +------------------------------------------------------------------- +Tue Mar 2 07:23:19 UTC 2021 - Martin Hauke + +- Update to version 9.12.4 + Fixed + * Fixed custom formatters with rich tracebacks in RichHandler. + Changed + * Allow highly compressed table cells to go to 0 width + * Optimization to remove empty styles in various places +- Update to version 9.12.3 + Changed + * Optimized Padding +- Update to version 9.12.2 + Added + * Added ConsoleOptions.copy + Changed + * Optimized ConsoleOptions.update +- Update to version 9.12.1 + Fixed + * Fixed deadlock in Progress + Added + * Added Task.finished_speed + Changed + * Froze TransferSpeedColumn speed when task is finished + * Added SIGINT handler to downloader.py example + * Optimization for large tables +- Update to version 9.12.0 + Fixed + * Fixed issue with Syntax and missing lines in Layout + * Fixed issue with nested markdown elements + * Fixed new lines not invoking render hooks + * Fixed Align setting height to child + Changed + * Printing a table with no columns now result in a blank line + Added + * Added height to Panel +- Update to version 9.11.1 + Fixed + * Fixed table with expand=False not expanding when + justify="center" + * Fixed single renderable in Layout not respecting height + * Fixed COLUMNS and LINES env var #1019 + * Layout now respects minimum_size when fixes sizes are greater + than available space + * HTML export now changes link underline score to match terminal. + Changed + * python -m rich.markdown and rich.syntax show usage with no + file. + Added + * Added height parameter to Layout + * Added python -m rich.segment +- Update to version 9.11.0 + Fixed + * Fixed error message for tracebacks with broken __str__ #980 + * Fixed markup edge case #987 + Added + * Added cheeky sponsorship request to test card + * Added quiet argument to Console constructor + * Added support for a callback function to format timestamps + (allows presentation of milliseconds) + * Added Console.set_alt_screen and Console.screen + * Added height to ConsoleOptions + * Added vertical parameter to Align + * Added Layout class + Changed + * Pretty.overflow now defaults to None + * Panel now respects options.height + * Traceback lexer defaults to Python if no extension on source + * Added ConsoleDimensions size attribute to ConsoleOptions so + that size can't change mid-render +- Update to version 9.10.0 + Changed + * Some optimizations for Text + * Further optimized Tracebacks by not tokenizing code more that + necessary + * Table Column.header_style and Column.footer_style are now + added to Table header/footer style + ------------------------------------------------------------------- Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner diff --git a/python-rich.spec b/python-rich.spec index 3aff63c..afd5eb9 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -2,7 +2,7 @@ # spec file for package python-rich # # Copyright (c) 2021 SUSE LLC -# Copyright (c) 2020, Martin Hauke +# Copyright (c) 2020-2021, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-rich -Version: 9.9.0 +Version: 9.13.0 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT diff --git a/rich-9.13.0.tar.gz b/rich-9.13.0.tar.gz new file mode 100644 index 0000000..eb83ebc --- /dev/null +++ b/rich-9.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70051855ec451f100c84d118ce2c4c1a5e41455a14a3ff61ee56a8d95343f42c +size 16206916 diff --git a/rich-9.9.0.tar.gz b/rich-9.9.0.tar.gz deleted file mode 100644 index 363a4fe..0000000 --- a/rich-9.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bde18ac2b1506d2f5d4da7a0c65db650f72f4e9cabd68a0b0030db63b8c2fb68 -size 14025857