ENH: Updated modules.pip.upgrade function to only upgrade packages which are out-of-date
Merge pull request #15556 from cimarronm/pip_upgrade_improvement

modules.pip.upgrade improvement