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
--upgrade-embed-wheels exits 0 when upgrades fail and prints a thread traceback for each #3583
virtualenv --upgrade-embed-wheels exits with status 0 even when every upgrade fails. Each failure prints a raw thread traceback, and pip's own error message isn't shown:
Each traceback ends in subprocess.CalledProcessError: ... 'download' ... returned non-zero exit status 1. An unreachable PIP_INDEX_URL behaves the same way.
handle_extra_commands already does raise SystemExit(manual_upgrade(...)), but manual_upgrade always returns None, and an exception in _run_manual_upgrade only ends its thread.
Expected: a non-zero exit and one readable error line per distribution that failed.
Environment
OS: Zorin OS 17.3 (Ubuntu 22.04 base), Linux 6.8
Shell: bash 5.1
Python version and path: CPython 3.15.2 (uv-managed)
Activity