pip upgrade in git hook