Message206867
Oh, I forgot about os.devnull.
ensurepip.bootstrap mutates the environment of the current process (hence the recommendation to use the CLI instead), so yes, doing "os.environ['PIP_CONFIG_FILE'] = os.devnull" before importing pip should do the trick.
And then generate a "no-install=true" config with HOME in test_venv to make sure it is properly ignored. |
|
| Date |
User |
Action |
Args |
| 2013-12-23 16:35:01 | ncoghlan | set | recipients:
+ ncoghlan, paul.moore, r.david.murray, dstufft |
| 2013-12-23 16:35:01 | ncoghlan | set | messageid: <[email protected]> |
| 2013-12-23 16:35:01 | ncoghlan | link | issue20053 messages |
| 2013-12-23 16:35:01 | ncoghlan | create | |
|