Skip to content

Upgrading colorlog 5 to 6

Breaking5.0.1 → 6.12.0Breaking6Platform3New9Changed4Fixed3Other7

BreakingUpgrade verdict

5 breaking changes and 3 platform requirement changes.

  • Remove universal wheel, python 2 is unsupported.
  • Removed colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.
  • Remove colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.
  • Renamed internal modules.
Top 5 of 8 that need code or config changes

Requires Python >=3.6 from 6.2.0a1 (none stated before).

Breaking5
Remove universal wheel, python 2 is unsupported.
Removed colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.
colorlog.escape_codes
Remove colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.
colorlog.escape_codes
Renamed internal modules.
colorlog.colorlogcolorlog.formattercolorlog.loggingcolorlog.wrappers
Rename internal modules. colorlog.colorlog is now colorlog.formatter.
colorlog.colorlogcolorlog.formatter
Platform3
Dropped support for Python 2 and Python versions below Python 3.5.
Drop support for Python 3.5.
Require Python >= 3.6 in package metadata.