Deal with the consequences of an entry-point deprecation in Python.