Migrating to Sonnet 2.0.0
Sonnet 2.0 introduced a breaking change by using discord.py 2.0 under the hood, this guide aims to help users migrate away from Sonnet 1.x installs without coming into too much trouble
1. Cleaning the Install
During Sonnets install you were instructed to do pip install -r requirements.txt
, this installed a handful of dependencies, one of which may now need to be removed
Attempt to run pip uninstall discord.py-stubs
, if pip states that this package is not installed that is perfectly fine, otherwise proceed to uninstall when it prompts you to confirm
2. Ubuntu 20.04 Issues
If you installed mariadb or google-re2 with sonnet and use 20.04 LTS, do not attempt to upgrade optional dependencies in requirements.extras.txt
, 20.04 LTS uses outdated subdependencies, and while Sonnet works best with newer dependencies not having these ones is non critical, if you wish you may try and install them as far as you can, it is known that versions up to mariadb 1.1 work.
3. Upgrading Requirements
Run pip install -r requirements.txt
to install latest dependencies, Sonnet should now boot normally, please report any misc errors to the support channel in the discord, and they may be reflected in this guide later