> that won't move imports in ways that potentially change behavior of the codebase
How can that be the case? Can't Python imports have behaviour that varies on the time of the day if they want?
An import could monkey patch a basic operation one day but not the next.