From 764f0ef825cbebbcc0e7ee579536ff592b2bff8b955d1cb590e849ec4827a6b0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 20 Nov 2024 17:46:42 +0000 Subject: [PATCH 1/2] - update to 13.9.4: * Optimizations to cell_len which may speed up Rich / Textual output https://github.com/Textualize/rich/pull/3546 - update to 13.9.3: * Fix a broken regex that resulted in the slow path being chosen for some operations. This fix should result in notable speedups for some operations, such as wrapping text. * Fixed broken regex that may have resulted in poor performance. https://github.com/Textualize/rich/pull/3535 - update to 13.9.2: * A hotfix for highlighting in the table, and a fix for `Segment.split_cells` * Fixed `Table` columns not highlighting when added by `add_row` https://github.com/Textualize/rich/issues/3517 * Fixed an issue with Segment.split_cells reported in Textual https://github.com/Textualize/textual/issues/5090 - update to 13.9.1: * Fixed typing_extensions dependency - update to 13.9.0: * Dropped support for Python3.7 * Rich will display tracebacks with finely grained error locations on python 3.11+ * Fixed issue with Segment._split_cells * Fix auto detection of terminal size on Windows * `Text.style` now respected in Panel title/subtitle - update to 13.8.1: * Added support for Python 3.13 * Fixed infinite loop when appending Text to same instance - update to 13.8.0: * Fixed `Table` rendering of box elements so "footer" elements OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=61 --- python-rich.changes | 66 +++++++++++++++++++++++++++++++++++++++++++++ python-rich.spec | 2 +- rich-13.7.1.tar.gz | 3 --- rich-13.9.4.tar.gz | 3 +++ 4 files changed, 70 insertions(+), 4 deletions(-) delete mode 100644 rich-13.7.1.tar.gz create mode 100644 rich-13.9.4.tar.gz diff --git a/python-rich.changes b/python-rich.changes index ff8f323..0f5576e 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Wed Nov 20 17:44:21 UTC 2024 - Dirk Müller + +- update to 13.9.4: + * Optimizations to cell_len which may speed up Rich / Textual + output https://github.com/Textualize/rich/pull/3546 +- update to 13.9.3: + * Fix a broken regex that resulted in the slow path being + chosen for some operations. This fix should result in notable + speedups for some operations, such as wrapping text. + * Fixed broken regex that may have resulted in poor + performance. https://github.com/Textualize/rich/pull/3535 +- update to 13.9.2: + * A hotfix for highlighting in the table, and a fix for + `Segment.split_cells` + * Fixed `Table` columns not highlighting when added by + `add_row` https://github.com/Textualize/rich/issues/3517 + * Fixed an issue with Segment.split_cells reported in Textual + https://github.com/Textualize/textual/issues/5090 +- update to 13.9.1: + * Fixed typing_extensions dependency +- update to 13.9.0: + * Dropped support for Python3.7 + * Rich will display tracebacks with finely grained error + locations on python 3.11+ + * Fixed issue with Segment._split_cells + * Fix auto detection of terminal size on Windows + * `Text.style` now respected in Panel title/subtitle +- update to 13.8.1: + * Added support for Python 3.13 + * Fixed infinite loop when appending Text to same instance +- update to 13.8.0: + * 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 + * `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 `7`) + * Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to + class attributes + * Adds a `case_sensitive` parameter to `prompt.Prompt`. This + determines if the response is treated as case-sensitive. + * Added `Console.on_broken_pipe` + ------------------------------------------------------------------- Sat Mar 16 09:47:51 UTC 2024 - Dirk Müller diff --git a/python-rich.spec b/python-rich.spec index 523b526..5d8dd2b 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-rich -Version: 13.7.1 +Version: 13.9.4 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT diff --git a/rich-13.7.1.tar.gz b/rich-13.7.1.tar.gz deleted file mode 100644 index 189a6aa..0000000 --- a/rich-13.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432 -size 221248 diff --git a/rich-13.9.4.tar.gz b/rich-13.9.4.tar.gz new file mode 100644 index 0000000..f105b5a --- /dev/null +++ b/rich-13.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098 +size 223149 From 3adbeafa9adadb2cfacc4e2a827a34f28a3ad4ba245ae274cc925b6435db5e42 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 21 Nov 2024 10:15:54 +0000 Subject: [PATCH 2/2] sequences OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=62 --- python-rich.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-rich.changes b/python-rich.changes index 0f5576e..e108b3d 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -57,7 +57,7 @@ Wed Nov 20 17:44:21 UTC 2024 - Dirk Müller * Running tests in environment with `FORCE_COLOR` or `NO_COLOR` environment variables * ansi decoder will now strip problematic private escape - sequences (like `7`) + sequences * Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes * Adds a `case_sensitive` parameter to `prompt.Prompt`. This