Skip to content

Upgrading rich 6 to 7

Breaking6.2.0 → 7.1.0Breaking3New6Changed6

BreakingUpgrade verdict

3 breaking changes.

  • Renames Text.tabs_to_spaces to Text.expand_tabs, which now works in place instead of returning a new instance.
  • Renames Column.index to Column._index.
  • The line_numbers option on traceback.install is gone; it did nothing anyway.
3 items need code or config changes
Breaking3
Renames Text.tabs_to_spaces to Text.expand_tabs, which now works in place instead of returning a new instance.
Text.tabs_to_spacesText.expand_tabs
Renames Column.index to Column._index.
Column.indexColumn._index
Removes the undocumented line_numbers argument from traceback.install.
traceback.installline_numbers