Skip to content

Commit

Permalink
Update python-rich to version 13.3.5 / rev 23 via SR 1084878
Browse files Browse the repository at this point in the history
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
    Textualize/rich#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
  • Loading branch information
dirkmueller authored and bmwiedemann committed May 9, 2023
1 parent 8b0b154 commit 18480be
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 10 deletions.
Binary file modified packages/p/python-rich/.files
Binary file not shown.
37 changes: 37 additions & 0 deletions packages/p/python-rich/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,41 @@
<comment></comment>
<requestid>1081772</requestid>
</revision>
<revision rev="23" vrev="1">
<srcmd5>da4361fc8981991253969d910135853d</srcmd5>
<version>13.3.5</version>
<time>1683630371</time>
<user>dimstar_suse</user>
<comment>- 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</comment>
<requestid>1084878</requestid>
</revision>
</revisionlist>
4 changes: 0 additions & 4 deletions packages/p/python-rich/_service

This file was deleted.

54 changes: 54 additions & 0 deletions packages/p/python-rich/python-rich.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Thu May 4 21:06:58 UTC 2023 - Dirk Müller <[email protected]>

- 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 <[email protected]>

Expand Down
10 changes: 5 additions & 5 deletions packages/p/python-rich/python-rich.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion packages/p/python-rich/rich-12.6.0.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-rich/rich-13.3.5.tar.gz

0 comments on commit 18480be

Please sign in to comment.