Overview
Rich 14.0, released on March 30, 2025, requires Python 3.11+ and improves tracebacks with Exception Groups support.
Main Features
Tracebacks and Exception Groups
Rich tracebacks now display Python 3.11 ExceptionGroup in a structured way with indentation and colorized sub-exceptions.
python
from rich.console import Console
from rich.traceback import install
# Install Rich tracebacks
install(show_locals=True)
# Exception Groups (Python 3.11+)
try:
raise ExceptionGroup('errors', [
ValueError('invalid value'),
TypeError('wrong type'),
])
except* ValueError as eg:
Console().print_exception()
