forked from pool/python-rich
Accepting request 990455 from home:bnavigator:branches:devel:languages:python
- Update to 12.5.1 * Fixed missing typing extensions dependency on 3.9 #2386 - Release * Environment variables JUPYTER_COLUMNS and JUPYTER_LINES to control width and height of console in Jupyter * Markdown friendly Box style, MARKDOWN, for rendering tables ready to copy into markdown files * inspect will prefix coroutine functions with async def * Default width of Jupyter console size is increased to 115 * Optimized Segment.divide * Style.__add__ will no longer return NotImplemented * Remove rich._lru_cache * Fix Rich clobbering cursor style on Windows #2339 * Fix text wrapping edge case #2296 * Allow exceptions that are raised while a Live is rendered to be displayed and/or processed #2305 * Fix crashes that can happen with inspect when docstrings contain some special control codes #2294 * Fix edges used in first row of tables when show_header=False #2330 * Fix interaction between Capture contexts and Console(record=True) #2343 * Fixed hash issue in Styles class #2346 * Fixed bug in Segment.split_and_crop_lines - Release 12.4.4 * Added clipping per line to SVG output to avoid box characters overlapping * Optimized SVG output - Release 12.4.3 * Further tweaks to SVG character matrix OBS-URL: https://build.opensuse.org/request/show/990455 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=40
This commit is contained in:
@@ -1,3 +1,56 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 20 20:30:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 12.5.1
|
||||
* Fixed missing typing extensions dependency on 3.9 #2386
|
||||
- Release
|
||||
* Environment variables JUPYTER_COLUMNS and JUPYTER_LINES to
|
||||
control width and height of console in Jupyter
|
||||
* Markdown friendly Box style, MARKDOWN, for rendering tables
|
||||
ready to copy into markdown files
|
||||
* inspect will prefix coroutine functions with async def
|
||||
* Default width of Jupyter console size is increased to 115
|
||||
* Optimized Segment.divide
|
||||
* Style.__add__ will no longer return NotImplemented
|
||||
* Remove rich._lru_cache
|
||||
* Fix Rich clobbering cursor style on Windows #2339
|
||||
* Fix text wrapping edge case #2296
|
||||
* Allow exceptions that are raised while a Live is rendered to be
|
||||
displayed and/or processed #2305
|
||||
* Fix crashes that can happen with inspect when docstrings
|
||||
contain some special control codes #2294
|
||||
* Fix edges used in first row of tables when show_header=False
|
||||
#2330
|
||||
* Fix interaction between Capture contexts and
|
||||
Console(record=True) #2343
|
||||
* Fixed hash issue in Styles class #2346
|
||||
* Fixed bug in Segment.split_and_crop_lines
|
||||
- Release 12.4.4
|
||||
* Added clipping per line to SVG output to avoid box characters
|
||||
overlapping
|
||||
* Optimized SVG output
|
||||
- Release 12.4.3
|
||||
* Further tweaks to SVG character matrix
|
||||
* Added clip rect to SVG to prevent box characters overlapping
|
||||
bottom of terminal
|
||||
- Release 12.4.2
|
||||
* Fix for SVG on Firefox
|
||||
* Removed excess margin from SVG, tweaked cell sizes to better
|
||||
render block characters
|
||||
- Release 12.4.1
|
||||
* Fix for default background color in SVG export #2260
|
||||
* Changed
|
||||
* Added a keyline around SVG terminals which is visible on dark
|
||||
backgrounds
|
||||
- Release 12.4.0
|
||||
* Rebuilt SVG export to create a simpler SVG that is more
|
||||
portable
|
||||
* Fix render_lines crash when render height was negative #2246
|
||||
* Add padding to Syntax constructor #2247
|
||||
- Remove nonsensical python362 conditional for tests
|
||||
- Fix requirements (missing typing_extensions in python38 broke
|
||||
httpx -- gh#encode/httpx#2316)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 10:34:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -19,33 +19,32 @@
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
|
||||
# https://github.com/Textualize/rich/issues/2410
|
||||
%define commit cde23ed0a1ecad8c63436148c7e1fb6f0073fca8
|
||||
Name: python-rich
|
||||
Version: 12.3.0
|
||||
Version: 12.5.1
|
||||
Release: 0
|
||||
Summary: A Python library for rich text and beautiful formatting in the terminal
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
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}
|
||||
Source: https://github.com/willmcgugan/rich/archive/%{commit}.tar.gz#/rich-%{version}.tar.gz
|
||||
BuildRequires: %{python_module commonmark >= 0.9.0}
|
||||
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 if %python-base < 3.8}
|
||||
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
|
||||
Requires: python-colorama >= 0.4.3
|
||||
Requires: python-commonmark >= 0.9.1
|
||||
Requires: python-commonmark >= 0.9.0
|
||||
Requires: python-pygments >= 2.6.0
|
||||
Suggests: python-ipywidgets
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
Requires: python-typing_extensions >= 3.7.4
|
||||
Suggests: python-ipywidgets >= 7.5.1
|
||||
%if 0%{?python_version_nodots} < 39
|
||||
Requires: python-typing_extensions >= 4.0.0
|
||||
%endif
|
||||
%if 0%{?python_version_nodots} < 37
|
||||
Requires: python-dataclasses >= 0.7
|
||||
@@ -58,7 +57,7 @@ Render rich text, tables, progress bars, syntax highlighting,
|
||||
markdown and more to the terminal.
|
||||
|
||||
%prep
|
||||
%setup -q -n rich-%{version}
|
||||
%setup -q -n rich-%{commit}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -68,9 +67,7 @@ markdown and more to the terminal.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%if "%{python_flavor}" >= "python362"
|
||||
%pytest -k 'not test_log'
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:414f7997896689ca54b18cc34d83d3b230bcacc481b84f7a75a03099a169c6a1
|
||||
size 14889665
|
3
rich-12.5.1.tar.gz
Normal file
3
rich-12.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56155068c26e0ba5baf3a5b0768a27e5182f863fd0c07c17de95c9be8117d634
|
||||
size 15035078
|
Reference in New Issue
Block a user