It seems to me that cruft is being left behind during the upgrade process - most likely bits of pip/setuptools/wheel that are in system packages and aren't being cleaned up properly. This is why the container delete and rebuild works.
It seems to me that cruft is being left behind during the upgrade process - most likely bits of pip/setuptools/ wheel that are in system packages and aren't being cleaned up properly. This is why the container delete and rebuild works.