add support for explicit version handling with ensure parameter for pip packages