You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
salt-pip should disable pip's periodic version check #70024
salt-pip at salt/scripts.py:768 shells out to python -m pip <argv> without --disable-pip-version-check and without PIP_DISABLE_PIP_VERSION_CHECK=1 in _pip_environment. Every invocation therefore hits pip's periodic "A new release of pip is available" check — a network round-trip that is:
pure noise for the salt-onedir case (pip is pinned by the packager; the user can't do anything about a newer upstream release)
Env-var form (vs --disable-pip-version-check on argv) keeps user-passed pip subcommands untouched and lets an operator still opt back in by exporting PIP_DISABLE_PIP_VERSION_CHECK=0 before invoking salt-pip.
No config option needed; the check has no legitimate purpose against a packaged-pinned pip in an onedir.
Scope
Applies to all supported branches (3006.x / 3007.x / 3008.x / master) — _pip_environment is unchanged across all four.
Activity
Add functional test for salt-pip PIP_DISABLE_PIP_VERSION_CHECK
Disable pip's periodic version check in salt-pip
Add functional test for salt-pip PIP_DISABLE_PIP_VERSION_CHECK
Add functional test for salt-pip PIP_DISABLE_PIP_VERSION_CHECK
Disable pip's periodic version check in salt-pip