On Tue, Feb 4, 2014 at 6:03 AM, nick.coghlan <[email protected]> wrote:
> http://hg.python.org/cpython/rev/1b8ba1346e67
> changeset: 88955:1b8ba1346e67
> user: Nick Coghlan <[email protected]>
> 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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com