[issue38662] Decouple ensurepip from pip's internals using runpy

Pradyun Gedam report at bugs.python.org
Fri Nov 1 13:24:24 EDT 2019


New submission from Pradyun Gedam <pradyunsg at gmail.com>:

Inspired by https://github.com/python/cpython/pull/16782#discussion_r335285656

This changes ensurepip's current assumption that pip would expose a "main" function, which can be invoked to run pip.

I've selected all actively supported Python versions for this ticket, since this patch should be backported to all Python versions, to make it robust to internal changes within pip.

----------
messages: 355826
nosy: Marcus.Smith, dstufft, ncoghlan, paul.moore, pradyunsg
priority: normal
severity: normal
status: open
title: Decouple ensurepip from pip's internals using runpy
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38662>
_______________________________________


More information about the Python-bugs-list mailing list