Upgrading build 0.4 to 0.5
Breaking0.4.0 → 0.5.1Breaking2New2Fixed4
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- As a side-effect of PR, build.main.build_package no longer does CLI error handling (print nice message and exit the program).
- Importing build.main no longer has any side-effects, it no longer overrides warnings.showwarning or runs colorama.init on import (PR ).
Must act 2 items need code or config changes
What you must change
Breaking2
As a side-effect of PR, build.main.build_package no longer does CLI error handling (print nice message and exit the program).
build.__main__.build_packageImporting build.main no longer has any side-effects, it no longer overrides warnings.showwarning or runs colorama.init on import (PR ).
build.__main__warnings.showwarningcolorama.init