Sync from SUSE:SLFO:Main python-rich revision b7b307821417af90983605118ddc8dad

This commit is contained in:
Adrian Schröter 2024-12-13 12:20:14 +01:00
parent 9e279216cc
commit 56e3e3deed
4 changed files with 102 additions and 23 deletions

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Sat Mar 16 09:47:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 13.7.1:
* Fixes some character widths
-------------------------------------------------------------------
Thu Nov 16 21:27:11 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 13.7.0:
* Added
+ Adds missing parameters to Panel.fit #3142
+ Fixed
+ Some text goes missing during wrapping when it contains
double width characters #3176
+ Ensure font is correctly inherited in exported HTML #3104
+ Fixed typing for FloatPrompt.
- additional changes from 13.6.0:
* Added Python 3.12 to classifiers.
- additional changes from 13.5.3:
* Fixed
+ Markdown table rendering issue with inline styles and links
#3115
+ Fix Markdown code blocks on a light background #3123
-------------------------------------------------------------------
Sun Aug 27 21:36:07 UTC 2023 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
- update to version 13.5.2:
* Fixed
+ Fixed Text.expand_tab assertion error
- changes from version 13.5.1:
* Fixed
+ Fix tilde character (~) not included in link regex when printing
to console #3057
- changes from version 13.5.0:
* Fixed
+ Fixed Text.expand_tabs not expanding spans.
+ Fixed TimeElapsedColumn from showing negative.
+ Fix for escaping strings with a trailing backslash #2987
+ Fixed exception in Markdown with partial table #3053
+ Fixed the HTML export template so that the <html> tag comes
before the <head> tag #3021
+ Fixed issue with custom classes overwriting __eq__ #2875
+ Fix rich.pretty.install breakage in iPython #3013
* Added
+ Added Text.extend_style method.
+ Added Span.extend method.
* Changed
+ Text.tab_size now defaults to None to indicate that
Console.tab_size should be used.
-------------------------------------------------------------------
Wed Jul 19 09:18:31 UTC 2023 - ecsos <ecsos@opensuse.org>
- %{?sle15_python_module_pythons} mut be at beginning to work.
-------------------------------------------------------------------
Sat Jul 8 20:32:32 UTC 2023 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
- update to version 13.4.2:
* Changed
+ Relaxed markdown-it-py dependency
-------------------------------------------------------------------
Thu Jun 1 06:05:31 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- update to 13.4.1:
* Fixed typing extensions import in markdown #2979
- update to 13.4.0:
* Added support for tables in Markdown #2977
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 21:06:58 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu May 4 21:06:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -212,7 +292,7 @@ Thu Jul 7 10:34:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 14 07:17:44 UTC 2022 - Hui-Zhi Zhao <hui.zhi.zhao@suse.com> Thu Apr 14 07:17:44 UTC 2022 - Hui-Zhi Zhao <hui.zhi.zhao@suse.com>
- Ignore python3.6.2 for test since it doesn't support it. - Ignore python3.6.2 for test since it doesn't support it.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 14 20:08:47 UTC 2022 - Ben Greiner <code@bnavigator.de> Fri Jan 14 20:08:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
@ -474,7 +554,7 @@ Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner <code@bnavigator.de>
* Fixed Tracebacks ignoring initial blank lines * Fixed Tracebacks ignoring initial blank lines
* Partial fix for tracebacks not finding source after chdir * Partial fix for tracebacks not finding source after chdir
Added Added
* Added post_style argument to Segment.apply_style * Added post_style argument to Segment.apply_style
- Changelog for 9.8.2 - Changelog for 9.8.2
* Fixed deadlock in live #927 * Fixed deadlock in live #927
- Changelog for 9.8.1 - Changelog for 9.8.1
@ -486,14 +566,14 @@ Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner <code@bnavigator.de>
* Added rich.align.VerticalCenter * Added rich.align.VerticalCenter
Changed Changed
* The style argument on Align now applies to background only * The style argument on Align now applies to background only
* Changed display of progress bars in no_color mode for * Changed display of progress bars in no_color mode for
clarity clarity
* Console property size will fall back to getting the * Console property size will fall back to getting the
terminal size of stdout it stdin fails, this allows size terminal size of stdout it stdin fails, this allows size
to be correctly determined when piping to be correctly determined when piping
Fixed Fixed
* Fixed panel cropping when shrunk too bar * Fixed panel cropping when shrunk too bar
* Allow passing markdown over STDIN when using python -m * Allow passing markdown over STDIN when using python -m
rich.markdown rich.markdown
* Fix printing MagicMock.mock_calls #903 * Fix printing MagicMock.mock_calls #903
- Changelog for 9.7.0 - Changelog for 9.7.0
@ -501,18 +581,18 @@ Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner <code@bnavigator.de>
* Added no_color argument to Console * Added no_color argument to Console
- Changelog for 9.6.2 - Changelog for 9.6.2
* Fixed markup escaping edge case #878 * Fixed markup escaping edge case #878
* Double tag escape, i.e. "\\[foo]" results in a * Double tag escape, i.e. "\\[foo]" results in a
backslash plus [foo] tag backslash plus [foo] tag
* Fixed header_style not applying to headers in * Fixed header_style not applying to headers in
positional args #953 positional args #953
- Changelog for 9.6.1 - Changelog for 9.6.1
* Fixed encoding error on Windows when loading code for * Fixed encoding error on Windows when loading code for
Tracebacks Tracebacks
- Changelog for 9.6.0 - Changelog for 9.6.0
Changed Changed
* MarkupError exception raise from None to omit internal * MarkupError exception raise from None to omit internal
exception exception
* Factored out RichHandler.render and * Factored out RichHandler.render and
RichHandler.render_message for easier extending RichHandler.render_message for easier extending
* Display pretty printed value in rich.inspect * Display pretty printed value in rich.inspect
Added Added
@ -601,7 +681,7 @@ Fri Dec 18 19:46:52 UTC 2020 - Martin Hauke <mardnh@gmx.de>
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 27 00:12:00 UTC 2020 - Benjamin Greiner <code@bnavigator.de> Tue Oct 27 00:12:00 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Kill dephell dependency - Kill dephell dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 25 15:36:02 UTC 2020 - Martin Hauke <mardnh@gmx.de> Sun Oct 25 15:36:02 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-rich # spec file for package python-rich
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -17,10 +17,9 @@
# #
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-rich Name: python-rich
Version: 13.3.5 Version: 13.7.1
Release: 0 Release: 0
Summary: A Python library for rich text and beautiful formatting in the terminal Summary: A Python library for rich text and beautiful formatting in the terminal
License: MIT License: MIT
@ -33,21 +32,21 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pygments >= 2.13.0} BuildRequires: %{python_module pygments >= 2.13.0}
BuildRequires: %{python_module typing_extensions >= 4.0.0 if %python-base < 3.9} 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 BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-markdown-it-py >= 2.2.0 Requires: python-markdown-it-py >= 2.2.0
Requires: python-pygments >= 2.13.0 Requires: python-pygments >= 2.13.0
Suggests: python-ipywidgets >= 7.5.1 Suggests: python-ipywidgets >= 7.5.1
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
%if 0%{?python_version_nodots} < 39 %if 0%{?python_version_nodots} < 39
Requires: python-typing_extensions >= 4.0.0 Requires: python-typing_extensions >= 4.0.0
%endif %endif
%if 0%{?python_version_nodots} < 37 %if 0%{?python_version_nodots} < 37
Requires: python-dataclasses >= 0.7 Requires: python-dataclasses >= 0.7
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description

BIN
rich-13.3.5.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
rich-13.7.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.