Message206867
| Author | ncoghlan |
|---|---|
| Recipients | dstufft, ncoghlan, paul.moore, r.david.murray |
| Date | 2013-12-23.16:35:01 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1387816501.44.0.913774877049.issue20053@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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: <1387816501.44.0.913774877049.issue20053@psf.upfronthosting.co.za> |
| 2013-12-23 16:35:01 | ncoghlan | link | issue20053 messages |
| 2013-12-23 16:35:01 | ncoghlan | create | |