Upgrading to 3.0
Version 3 is a small step for most projects. This page lists every change that could need an edit in your code.
Breaking changes
- Support for Python 3.8 was dropped.
- Errors now carry a
codeproperty; matching on the message text is no longer supported. close()now waits for work in progress before it returns.
Step by step
- Update the package to the latest 3.x release.
- Run your tests and read any deprecation warnings.
- Fix the warnings, then deploy as usual.