From 18480becc6ad45c7ed50ea4f32d57df6c5d021d9 Mon Sep 17 00:00:00 2001 From: dirkmueller <> Date: Tue, 9 May 2023 11:06:12 +0000 Subject: [PATCH] Update python-rich to version 13.3.5 / rev 23 via SR 1084878 https://build.opensuse.org/request/show/1084878 by user dirkmueller + dimstar_suse - update to 13.3.5: * Fixed italic indent guides in SVG output * Fixed for `is_terminal` ignoring FORCE_COLOR https://github.com/Textualize/rich/pull/2923 * Added Style.clear_meta_and_links * 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 * 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 * `rich.progress.track()` will now show the elapsed time after finishing the task --- packages/p/python-rich/.files | Bin 224 -> 178 bytes packages/p/python-rich/.rev | 37 ++++++++++++++ packages/p/python-rich/_service | 4 -- packages/p/python-rich/python-rich.changes | 54 +++++++++++++++++++++ packages/p/python-rich/python-rich.spec | 10 ++-- packages/p/python-rich/rich-12.6.0.tar.gz | 1 - packages/p/python-rich/rich-13.3.5.tar.gz | 1 + 7 files changed, 97 insertions(+), 10 deletions(-) delete mode 100644 packages/p/python-rich/_service delete mode 120000 packages/p/python-rich/rich-12.6.0.tar.gz create mode 120000 packages/p/python-rich/rich-13.3.5.tar.gz diff --git a/packages/p/python-rich/.files b/packages/p/python-rich/.files index 7c29e488aa2b622ce0a92283f85bc81ab4dbef3a..2a833d6976dd3f4424bb3f641b3d542aeab781db 100644 GIT binary patch literal 178 zcmYk#F%E+;425AN)Fo5ZUVsY_5n>zXII$g|ON)S|J$=)y>(l?~ZO1uWT-!8F>pJ6v z!Zy!I1sE_D6TrIWVaO4zR`>0FuCHgmKXmoF=I2rl*KvYqg-23B9L=yWWFRGlK+37Y q+fVc%`smT0dH2i5b$PUGjHH1k6fh2D5)B}61_HwBuK$O}R`d%)VlX!V literal 224 zcmYk0L2AP=5Je45pm-IU3-|&NGnPggohC@5QJjryY!gUNUwN0s-@V8C%eKS0|LVH# z)DNLL)?`O1Xk8HYZ7u`ZlCyH;MqQWpKK;(O^(m8)Da{Yv`oXJ<0df&c68xydM7j8o zfhz~AP5e2G8;-^sFne0fqw%Su>ycjrk5AXZF>H2z#wu+S~v5|!x W5fXVsOQfJEK~ie;<@4UQsQd%6^gM0= diff --git a/packages/p/python-rich/.rev b/packages/p/python-rich/.rev index c9428f4b9b0..6d800c6154b 100644 --- a/packages/p/python-rich/.rev +++ b/packages/p/python-rich/.rev @@ -226,4 +226,41 @@ 1081772 + + da4361fc8981991253969d910135853d + 13.3.5 + + dimstar_suse + - update to 13.3.5: + * Fixed italic indent guides in SVG output + * Fixed for `is_terminal` ignoring FORCE_COLOR + https://github.com/Textualize/rich/pull/2923 + * Added Style.clear_meta_and_links + * 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 + * 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 + * `rich.progress.track()` will now show the elapsed time after + finishing the task + * Fixed truecolor to eight bit color conversion + * Fixed failing tests due to Pygments dependency + * Relaxed ipywidgets + * v13.2.0 replaces the unmaintained `commonmark` library with + `markdown-it-py`. This new parser has a lot more capabilities + and will allow us to implement a number of additional + Markdown features in the future. + * Switch Markdown parsing from commonmark to markdown-it-py + * Fixed wrong filenames in Jupyter tracebacks + * Added locals_hide_dunder and locals_hide_sunder to + Tracebacks, to hide double underscore and single underscore + * Tracebacks will now hide double underscore names from locals + 1084878 + diff --git a/packages/p/python-rich/_service b/packages/p/python-rich/_service deleted file mode 100644 index d648e714452..00000000000 --- a/packages/p/python-rich/_service +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/packages/p/python-rich/python-rich.changes b/packages/p/python-rich/python-rich.changes index 4a228899697..d4247b775ca 100644 --- a/packages/p/python-rich/python-rich.changes +++ b/packages/p/python-rich/python-rich.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Thu May 4 21:06:58 UTC 2023 - Dirk Müller + +- update to 13.3.5: + * Fixed italic indent guides in SVG output + * Fixed for `is_terminal` ignoring FORCE_COLOR + https://github.com/Textualize/rich/pull/2923 + * Added Style.clear_meta_and_links + * 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 + * 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 + * `rich.progress.track()` will now show the elapsed time after + finishing the task + * Fixed truecolor to eight bit color conversion + * Fixed failing tests due to Pygments dependency + * Relaxed ipywidgets + * v13.2.0 replaces the unmaintained `commonmark` library with + `markdown-it-py`. This new parser has a lot more capabilities + and will allow us to implement a number of additional + Markdown features in the future. + * Switch Markdown parsing from commonmark to markdown-it-py + * Fixed wrong filenames in Jupyter tracebacks + * Added locals_hide_dunder and locals_hide_sunder to + Tracebacks, to hide double underscore and single underscore + * Tracebacks will now hide double underscore names from locals + by default. Set `locals_hide_dunder=False` to restore + previous behaviour. + * Fixed issue with Segment.split_cells for mixed single and + double cell widths + * Some relatively minor fixes and improvements. The most + significant update (and the reason for the major version + bump) is that Rich has dropped Python3.6 support. + * 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 + * 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__` + * Add type annotation for key_separator of pretty.Node + ------------------------------------------------------------------- Fri Apr 21 12:33:21 UTC 2023 - Dirk Müller diff --git a/packages/p/python-rich/python-rich.spec b/packages/p/python-rich/python-rich.spec index cf2d64ee046..aec6884a213 100644 --- a/packages/p/python-rich/python-rich.spec +++ b/packages/p/python-rich/python-rich.spec @@ -20,26 +20,26 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-rich -Version: 12.6.0 +Version: 13.3.5 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT Group: Development/Languages/Python URL: https://github.com/Textualize/rich Source: https://files.pythonhosted.org/packages/source/r/rich/rich-%{version}.tar.gz -BuildRequires: %{python_module commonmark >= 0.9.0} BuildRequires: %{python_module dataclasses >= 0.7 if %python-base < 3.7} +BuildRequires: %{python_module markdown-it-py >= 2.2.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} -BuildRequires: %{python_module pygments >= 2.6.0} +BuildRequires: %{python_module pygments >= 2.13.0} BuildRequires: %{python_module typing_extensions >= 4.0.0 if %python-base < 3.9} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} # /SECTION BuildRequires: fdupes -Requires: python-commonmark >= 0.9.0 -Requires: python-pygments >= 2.6.0 +Requires: python-markdown-it-py >= 2.2.0 +Requires: python-pygments >= 2.13.0 Suggests: python-ipywidgets >= 7.5.1 %if 0%{?python_version_nodots} < 39 Requires: python-typing_extensions >= 4.0.0 diff --git a/packages/p/python-rich/rich-12.6.0.tar.gz b/packages/p/python-rich/rich-12.6.0.tar.gz deleted file mode 120000 index e6a85380b78..00000000000 --- a/packages/p/python-rich/rich-12.6.0.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreif2hi3xlf2baxbcduyrihzmcfxu7vs4ltvqngdfpii6t4uv5sj72a \ No newline at end of file diff --git a/packages/p/python-rich/rich-13.3.5.tar.gz b/packages/p/python-rich/rich-13.3.5.tar.gz new file mode 120000 index 00000000000..aeb584c7a0b --- /dev/null +++ b/packages/p/python-rich/rich-13.3.5.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreibncg43rxidq2hqtnh77loijjvizwsxjzanzeecdpmek4qoxohitq \ No newline at end of file