From bd6a4d00e6c229b8391a9c0c91192a9a0649733942fe15916608bd658805187c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Mar 2024 09:48:20 +0000 Subject: [PATCH] - update to 13.7.1: * Fixes some character widths - Ignore python3.6.2 for test since it doesn't support it. * Added post_style argument to Segment.apply_style * Changed display of progress bars in no_color mode for * Console property size will fall back to getting the terminal size of stdout it stdin fails, this allows size * Allow passing markdown over STDIN when using python -m * Double tag escape, i.e. "\\[foo]" results in a * Fixed header_style not applying to headers in * Fixed encoding error on Windows when loading code for * MarkupError exception raise from None to omit internal * Factored out RichHandler.render and - Kill dephell dependency OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=59 --- python-rich.changes | 30 ++++++++++++++++++------------ python-rich.spec | 4 ++-- rich-13.7.0.tar.gz | 3 --- rich-13.7.1.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 rich-13.7.0.tar.gz create mode 100644 rich-13.7.1.tar.gz diff --git a/python-rich.changes b/python-rich.changes index 9c0bd57..ff8f323 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 16 09:47:51 UTC 2024 - Dirk Müller + +- update to 13.7.1: + * Fixes some character widths + ------------------------------------------------------------------- Thu Nov 16 21:27:11 UTC 2023 - Benoît Monin @@ -286,7 +292,7 @@ Thu Jul 7 10:34:00 UTC 2022 - Dirk Müller ------------------------------------------------------------------- Thu Apr 14 07:17:44 UTC 2022 - Hui-Zhi Zhao -- 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 @@ -548,7 +554,7 @@ Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner * Fixed Tracebacks ignoring initial blank lines * Partial fix for tracebacks not finding source after chdir Added - * Added post_style argument to Segment.apply_style + * Added post_style argument to Segment.apply_style - Changelog for 9.8.2 * Fixed deadlock in live #927 - Changelog for 9.8.1 @@ -560,14 +566,14 @@ Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner * Added rich.align.VerticalCenter Changed * 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 - * Console property size will fall back to getting the - terminal size of stdout it stdin fails, this allows size + * Console property size will fall back to getting the + terminal size of stdout it stdin fails, this allows size to be correctly determined when piping Fixed * 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 * Fix printing MagicMock.mock_calls #903 - Changelog for 9.7.0 @@ -575,18 +581,18 @@ Mon Jan 25 10:30:46 UTC 2021 - Ben Greiner * Added no_color argument to Console - Changelog for 9.6.2 * 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 - * Fixed header_style not applying to headers in + * Fixed header_style not applying to headers in positional args #953 - Changelog for 9.6.1 - * Fixed encoding error on Windows when loading code for + * Fixed encoding error on Windows when loading code for Tracebacks - Changelog for 9.6.0 Changed - * MarkupError exception raise from None to omit internal + * MarkupError exception raise from None to omit internal exception - * Factored out RichHandler.render and + * Factored out RichHandler.render and RichHandler.render_message for easier extending * Display pretty printed value in rich.inspect Added @@ -675,7 +681,7 @@ Fri Dec 18 19:46:52 UTC 2020 - Martin Hauke ------------------------------------------------------------------- Tue Oct 27 00:12:00 UTC 2020 - Benjamin Greiner -- Kill dephell dependency +- Kill dephell dependency ------------------------------------------------------------------- Sun Oct 25 15:36:02 UTC 2020 - Martin Hauke diff --git a/python-rich.spec b/python-rich.spec index cf8567e..523b526 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -1,7 +1,7 @@ # # spec file for package python-rich # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2020-2021, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-rich -Version: 13.7.0 +Version: 13.7.1 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT diff --git a/rich-13.7.0.tar.gz b/rich-13.7.0.tar.gz deleted file mode 100644 index 72f298f..0000000 --- a/rich-13.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5cb5123b5cf9ee70584244246816e9114227e0b98ad9176eede6ad54bf5403fa -size 221168 diff --git a/rich-13.7.1.tar.gz b/rich-13.7.1.tar.gz new file mode 100644 index 0000000..189a6aa --- /dev/null +++ b/rich-13.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432 +size 221248