py-rich: updated to 12.3.0

12.3.0

Added

Ability to change terminal window title
Added show_speed parameter to progress.track which will show the speed when the total is not known
Python blocks can now opt out from being rendered in tracebacks's frames, by setting a _rich_traceback_omit = True in their local scope

Fixed

Fall back to sys.__stderr__ on POSIX systems when trying to get the terminal size (fix issues when Rich is piped to another process)
Fixed markup escaping issue
Safari - Box appearing around SVG export
Fixed recursion error in Jupyter progress bars
Complex numbers are now identified by the highlighter
Fix crash on IDLE and forced is_terminal detection to False because IDLE can't do escape codes
Fixed missing blank line in traceback rendering
Fixed running Rich with the current working dir was deleted

Changed

Setting total=None on progress is now possible, and will display pulsing animation
Micro-optimization for Segment.divide
This commit is contained in:
adam 2022-04-29 12:57:33 +00:00
parent 75380cc03c
commit 6d75155a71
3 changed files with 10 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.24 2022/04/21 07:43:12 adam Exp $
# $NetBSD: Makefile,v 1.25 2022/04/29 12:57:33 adam Exp $
DISTNAME= rich-12.2.0
DISTNAME= rich-12.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= comms python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rich/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2022/04/21 07:43:12 adam Exp $
@comment $NetBSD: PLIST,v 1.5 2022/04/29 12:57:33 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -19,6 +19,9 @@ ${PYSITELIB}/rich/_emoji_codes.pyo
${PYSITELIB}/rich/_emoji_replace.py
${PYSITELIB}/rich/_emoji_replace.pyc
${PYSITELIB}/rich/_emoji_replace.pyo
${PYSITELIB}/rich/_export_format.py
${PYSITELIB}/rich/_export_format.pyc
${PYSITELIB}/rich/_export_format.pyo
${PYSITELIB}/rich/_extension.py
${PYSITELIB}/rich/_extension.pyc
${PYSITELIB}/rich/_extension.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.21 2022/04/21 07:43:12 adam Exp $
$NetBSD: distinfo,v 1.22 2022/04/29 12:57:33 adam Exp $
BLAKE2s (rich-12.2.0.tar.gz) = 001574c251a1fc1fdee7418eabb38db994fd669db5a7e23aea28f8a1a355d76b
SHA512 (rich-12.2.0.tar.gz) = cf36aaba23d7f2a8b9752a0c7664c4f6beabd93ef5b9bbe6ab73d595962913c8bb58c0b7dad990139e43f0ceafaa8e29942d7f581191b78cbf997b5273f25692
Size (rich-12.2.0.tar.gz) = 212235 bytes
BLAKE2s (rich-12.3.0.tar.gz) = fc5fa386bb463d27a00145622a03435a0a8ea1e7dd93b259b180c792d566a3b7
SHA512 (rich-12.3.0.tar.gz) = 3a191760102f47598752c9dc96ed9c92ce4833ccbbef5231089712795398039703f95b7c0d6bac971ec3cf4226ff9ab362b1f05a5b1d3dbd83db1af53bb3aec9
Size (rich-12.3.0.tar.gz) = 214405 bytes