From e8c0041bfc43db53867e0fcce06ffd70a9db17d686cb6df9a84a5535c2728e31 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 31 Jul 2020 10:17:15 +0000 Subject: [PATCH 1/2] Accepting request 823699 from home:mcalabkova:branches:devel:languages:python - Update to version 4.2.1 - Added show_time and show_level parameters to RichHandler https://github.com/willmcgugan/rich/pull/182 - Fixed progress.track iterator exiting early https://github.com/willmcgugan/rich/issues/189 - Added workaround for Python bug https://bugs.python.org/issue37871, fixing https://github.com/willmcgugan/rich/issues/186 - Set overflow=fold for log messages https://github.com/willmcgugan/rich/issues/190 - Fixed missing new lines https://github.com/willmcgugan/rich/issues/178 - Fixed Progress.track https://github.com/willmcgugan/rich/issues/184 - Remove control codes from exported text https://github.com/willmcgugan/rich/issues/181 - Implemented auto-detection and color rendition of 16-color mode - Optimized progress.track for very quick iterations - Force default size of 80x25 if get_terminal_size reports size of 0,0 - Added markup switch to RichHandler https://github.com/willmcgugan/rich/issues/171 - Change signature of Text.stylize to accept style first - Remove Text.stylize_all which is no longer necessary - Fixed rendering of Confirm prompt https://github.com/willmcgugan/rich/issues/170 OBS-URL: https://build.opensuse.org/request/show/823699 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=9 --- python-rich.changes | 19 +++++++++++++++++++ python-rich.spec | 2 +- rich-3.4.1.tar.gz | 3 --- rich-4.2.1.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 rich-3.4.1.tar.gz create mode 100644 rich-4.2.1.tar.gz diff --git a/python-rich.changes b/python-rich.changes index 270f7dc..875a9ac 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Jul 31 08:06:43 UTC 2020 - Marketa Calabkova + +- Update to version 4.2.1 + - Added show_time and show_level parameters to RichHandler https://github.com/willmcgugan/rich/pull/182 + - Fixed progress.track iterator exiting early https://github.com/willmcgugan/rich/issues/189 + - Added workaround for Python bug https://bugs.python.org/issue37871, fixing https://github.com/willmcgugan/rich/issues/186 + - Set overflow=fold for log messages https://github.com/willmcgugan/rich/issues/190 + - Fixed missing new lines https://github.com/willmcgugan/rich/issues/178 + - Fixed Progress.track https://github.com/willmcgugan/rich/issues/184 + - Remove control codes from exported text https://github.com/willmcgugan/rich/issues/181 + - Implemented auto-detection and color rendition of 16-color mode + - Optimized progress.track for very quick iterations + - Force default size of 80x25 if get_terminal_size reports size of 0,0 + - Added markup switch to RichHandler https://github.com/willmcgugan/rich/issues/171 + - Change signature of Text.stylize to accept style first + - Remove Text.stylize_all which is no longer necessary + - Fixed rendering of Confirm prompt https://github.com/willmcgugan/rich/issues/170 + ------------------------------------------------------------------- Wed Jul 22 20:03:19 UTC 2020 - Martin Hauke diff --git a/python-rich.spec b/python-rich.spec index 19a195a..7deee96 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rich -Version: 3.4.1 +Version: 4.2.1 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT diff --git a/rich-3.4.1.tar.gz b/rich-3.4.1.tar.gz deleted file mode 100644 index 0ee8dac..0000000 --- a/rich-3.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:674306a45c0a3f76286845af8d7c06ae554c913903d1998b970448eb77eb89c4 -size 11124995 diff --git a/rich-4.2.1.tar.gz b/rich-4.2.1.tar.gz new file mode 100644 index 0000000..73b3857 --- /dev/null +++ b/rich-4.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4ba0c065fbf0b6744b1b4cb0257d739a0cfe6e46feffb4fbe8dde0d7a9e54b2 +size 11128083 From d932ec9b895133a868e74bfce1b687e70bd0d1bfdaa00d6421bc27660e610c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 8 Aug 2020 06:06:05 +0000 Subject: [PATCH 2/2] Accepting request 824925 from home:jayvdb:py-new - Update to v5.0.0 * Change to console markup syntax to not parse Python structures as markup, i.e. `[1,2,3]` is treated as a literal, not a tag. * Standard color numbers syntax has changed to `"color()"` so that `[5]` (for example) is considered a literal. * Markup escape method has changed from double brackets to preceding with a backslash, so `foo[[]]` would be `foo\[bar]` - From v4.2.2 * Added thread to automatically call update() in progress.track(). Replacing previous adaptive algorithm. * Second attempt at working around https://bugs.python.org/issue37871 OBS-URL: https://build.opensuse.org/request/show/824925 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=10 --- python-rich.changes | 16 ++++++++++++++++ python-rich.spec | 2 +- rich-4.2.1.tar.gz | 3 --- rich-5.0.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 rich-4.2.1.tar.gz create mode 100644 rich-5.0.0.tar.gz diff --git a/python-rich.changes b/python-rich.changes index 875a9ac..264546b 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Aug 8 04:47:19 UTC 2020 - John Vandenberg + +- Update to v5.0.0 + * Change to console markup syntax to not parse Python structures + as markup, i.e. `[1,2,3]` is treated as a literal, not a tag. + * Standard color numbers syntax has changed to `"color()"` + so that `[5]` (for example) is considered a literal. + * Markup escape method has changed from double brackets to + preceding with a backslash, so `foo[[]]` would be `foo\[bar]` + +- From v4.2.2 + * Added thread to automatically call update() in progress.track(). + Replacing previous adaptive algorithm. + * Second attempt at working around https://bugs.python.org/issue37871 + ------------------------------------------------------------------- Fri Jul 31 08:06:43 UTC 2020 - Marketa Calabkova diff --git a/python-rich.spec b/python-rich.spec index 7deee96..bc56495 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rich -Version: 4.2.1 +Version: 5.0.0 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT diff --git a/rich-4.2.1.tar.gz b/rich-4.2.1.tar.gz deleted file mode 100644 index 73b3857..0000000 --- a/rich-4.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4ba0c065fbf0b6744b1b4cb0257d739a0cfe6e46feffb4fbe8dde0d7a9e54b2 -size 11128083 diff --git a/rich-5.0.0.tar.gz b/rich-5.0.0.tar.gz new file mode 100644 index 0000000..9ffc51d --- /dev/null +++ b/rich-5.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:164848477daf6a3b4670b55ac0a21a3257bdcc634766a61c21dce9edfb48d652 +size 11128053