forked from pool/python-rich
Accepting request 837924 from home:mnhauke
- Update to version 7.1.0 Added * Added Console.begin_capture, Console.end_capture and Console.capture * Added Table.title_justify and Table.caption_justify Changed * Improved formatting of exceptions * Enabled Rich exceptions in logging https://github.com/taliraj * UTF-8 encoding is now mentioned in HTML head section Removed * Removed line_numbers argument from traceback.install, which was undocumented and did nothing - Update to version 7.0.0 Added * New ansi_dark and ansi_light themes * Added Text.append_tokens for fast appending of string + Style pairs * Added Text.remove_suffix * Added Text.append_tokens Changed * Text.tabs_to_spaces was renamed to Text.expand_tabs, which works in place rather than returning a new instance * Renamed Column.index to Column._index * Optimized Style.combine and Style.chain * Optimized text rendering by fixing internal cache mechanism * Optimized hash generation for Styles - Update to version 6.1.1 Added OBS-URL: https://build.opensuse.org/request/show/837924 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=14
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-rich
|
||||
Version: 5.2.1
|
||||
Version: 7.1.0
|
||||
Release: 0
|
||||
Summary: A Python library for rich text and beautiful formatting in the terminal
|
||||
License: MIT
|
||||
@@ -63,7 +64,7 @@ markdown and more to the terminal.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
%pytest -k 'not test_log'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user