Revert the changes implemented for #575 (legacy imports in the retry packages) when we release the next major version of `python-api-core`