forked from pool/python-rich
Accepting request 946507 from home:bnavigator:branches:devel:languages:python
- Update to 11.0.0 * Note: as a major version bump, this version has some breaking changes. These changes won't affect many people, but we like to be strict about semver. See the release notes below. * Added max_depth arg to pretty printing #1585 * Added vertical_align to Table.add_row #1590 * Fixed issue with pretty repr in jupyter notebook #1717 * Fix Traceback theme defaults override user supplied styles #1786 * breaking Deprecated rich.console.RenderGroup, now named rich.console.Group * breaking Syntax.__init__ parameter lexer_name renamed to lexer * Syntax constructor accepts both str and now a pygments lexer #1748 - Releases 10.16.X * A bugfix for progress bars in Jupyter in this release. And a new property on Text class which exports the equivalent console markup. * Double print of progress bar in Jupyter #1737 * Added Text.markup property #1751 - Releases 10.15.X * Added dynamic_progress.py to examples * Added ConsoleOptions.update_height * Fixed Padding not respecting height * Added Text.from_ansi method * Changed Some optimizations for simple strings (with only single cell widths) * Fixed issue with progress bar not rendering markup #1721 * Fixed race condition when exiting Live #1530 * Fix Deadlock issue #1734 OBS-URL: https://build.opensuse.org/request/show/946507 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=34
This commit is contained in:
committed by
Git OBS Bridge
parent
72e443b537
commit
d39df22ab3
@@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 20:08:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 11.0.0
|
||||
* Note: as a major version bump, this version has some breaking
|
||||
changes. These changes won't affect many people, but we like to
|
||||
be strict about semver. See the release notes below.
|
||||
* Added max_depth arg to pretty printing #1585
|
||||
* Added vertical_align to Table.add_row #1590
|
||||
* Fixed issue with pretty repr in jupyter notebook #1717
|
||||
* Fix Traceback theme defaults override user supplied styles
|
||||
#1786
|
||||
* breaking Deprecated rich.console.RenderGroup, now named
|
||||
rich.console.Group
|
||||
* breaking Syntax.__init__ parameter lexer_name renamed to lexer
|
||||
* Syntax constructor accepts both str and now a pygments lexer
|
||||
#1748
|
||||
- Releases 10.16.X
|
||||
* A bugfix for progress bars in Jupyter in this release. And a
|
||||
new property on Text class which exports the equivalent console
|
||||
markup.
|
||||
* Double print of progress bar in Jupyter #1737
|
||||
* Added Text.markup property #1751
|
||||
- Releases 10.15.X
|
||||
* Added dynamic_progress.py to examples
|
||||
* Added ConsoleOptions.update_height
|
||||
* Fixed Padding not respecting height
|
||||
* Added Text.from_ansi method
|
||||
* Changed Some optimizations for simple strings (with only single
|
||||
cell widths)
|
||||
* Fixed issue with progress bar not rendering markup #1721
|
||||
* Fixed race condition when exiting Live #1530
|
||||
* Fix Deadlock issue #1734
|
||||
- Release 10.14.0
|
||||
* Mostly fixes for edge cases. Added a rich_cast function to
|
||||
rich.protocol, which is unlikely to be used outside of Rich
|
||||
itself.
|
||||
* Fixed progress speed not updating when total doesn't change
|
||||
* Fixed superfluous new line in Status #1662
|
||||
* Fixed Windows legacy width again
|
||||
* Fixed infinite loop in set_cell_size #1682
|
||||
* Added file protocol to URL highlighter #1681
|
||||
* Added rich.protocol.rich_cast
|
||||
* Allowed __rich__ to work recursively
|
||||
* Allowed Text classes to work with sep in print #1689
|
||||
- Fix dependencies with dropping python36 quirks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 7 18:35:23 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-rich
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,10 +17,10 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-rich
|
||||
Version: 10.13.0
|
||||
Version: 11.0.0
|
||||
Release: 0
|
||||
Summary: A Python library for rich text and beautiful formatting in the terminal
|
||||
License: MIT
|
||||
@@ -29,12 +29,12 @@ URL: https://github.com/willmcgugan/rich
|
||||
Source: https://github.com/willmcgugan/rich/archive/v%{version}.tar.gz#/rich-%{version}.tar.gz
|
||||
BuildRequires: %{python_module colorama >= 0.4.3}
|
||||
BuildRequires: %{python_module commonmark >= 0.9.1}
|
||||
BuildRequires: %{python_module dataclasses >= 0.7 if %python-base < 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module pygments >= 2.6.0}
|
||||
BuildRequires: %{python_module typing_extensions >= 3.7.4}
|
||||
BuildRequires: %{python_module typing_extensions >= 3.7.4 if %python-base < 3.8}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: (python3-dataclasses >= 0.7 if python3-base < 3.7 else python36-dataclasses >= 0.7)
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
@@ -42,8 +42,10 @@ BuildRequires: fdupes
|
||||
Requires: python-colorama >= 0.4.3
|
||||
Requires: python-commonmark >= 0.9.1
|
||||
Requires: python-pygments >= 2.6.0
|
||||
Requires: python-typing_extensions >= 3.7.4
|
||||
Suggests: python-ipywidgets
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
Requires: python-typing_extensions >= 3.7.4
|
||||
%endif
|
||||
%if 0%{?python_version_nodots} < 37
|
||||
Requires: python-dataclasses >= 0.7
|
||||
%endif
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61679d7b4376b2dcd750efa97f0b9ab9c7875d7ce15b619da25611e6e8a915a8
|
||||
size 16277448
|
3
rich-11.0.0.tar.gz
Normal file
3
rich-11.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae34173366a3e4e18da211f2f3fd64df5090cf48e83aeddf53d14677aad27473
|
||||
size 16293684
|
Reference in New Issue
Block a user