[Python-Dev] [Python-checkins] cpython: Close #20053: ignore default pip config settings
Jeremy Kloth
jeremy.kloth at gmail.com
Wed Feb 5 20:27:24 CET 2014
On Tue, Feb 4, 2014 at 6:03 AM, nick.coghlan <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/1b8ba1346e67
> changeset: 88955:1b8ba1346e67
> user: Nick Coghlan <ncoghlan at gmail.com>
> date: Tue Feb 04 23:02:36 2014 +1000
> summary:
> Close #20053: ignore default pip config settings
>
> ensurepip now sets PIP_CONFIG_FILE to os.devnull before
> import pip from the wheel file. This also ensures venv
> ignores the default settings when bootstrapping pip.
>
> files:
> Lib/ensurepip/__init__.py | 9 ++++--
> Lib/test/test_ensurepip.py | 16 +++++++++++
> Lib/test/test_venv.py | 37 +++++++++++++++++++------
> Misc/NEWS | 3 ++
> 4 files changed, 53 insertions(+), 12 deletions(-)
This changeset caused the Windows buildbots to go red. Excerpt from
one of the logs:
======================================================================
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_venv.py",
line 349, in test_with_pip
self.assertEqual(err, "")
AssertionError: 'C:\\Users\\Buildbot\\AppData\\Local\\Temp[57 chars]\r\n' != ''
- C:\Users\Buildbot\AppData\Local\Temp\tmpkwelerus\Scripts\python_d.exe:
No module named pip
--
Jeremy Kloth
More information about the Python-Dev
mailing list