[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-25 Thread Igor Filatov
Igor Filatov added the comment: Thanks for the reviews, Nick! -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31351> ___ ___ Pyth

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-24 Thread Igor Filatov
Changes by Igor Filatov <ia.fila...@gmail.com>: -- pull_requests: +3720 stage: backport needed -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-17 Thread Igor Filatov
Changes by Igor Filatov <ia.fila...@gmail.com>: -- keywords: +patch pull_requests: +3615 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue31351] ensurepip discards pip's return code which leads to broken venvs

2017-09-05 Thread Igor Filatov
New submission from Igor Filatov: ensurepip runs pip with a function that discards the result code that pip produces: def _run_pip(args, additional_paths=None): # ... pip.main(args) pip.main() is designed not to raise command exceptions. Instead it returns exit codes