Add version checking for use_wheel in pip state