python package support UPGRADE_MODE_FAST