[Distutils] PyPI download issues from Rackspace Cloud

Marius Gedminas marius at pov.lt
Mon Nov 25 07:48:05 CET 2013


On Sat, Nov 23, 2013 at 08:59:35AM -0500, Donald Stufft wrote:
> Can you try with 1.5rc1?

This was trickier than I thought, because pip appears to be incapable of
upgrading itself on Windows:

  $ git clone https://github.com/pypa/pip
  $ virtualenv env
  $ env/scripts/pip install -U ./pip
  WindowsError: [Error 5] Access is denied: 'c:\\users\\mg\\...\\scripts\\pip.exe'

but the advice in https://github.com/pypa/pip/issues/1299 helped:

  $ env/scripts/python -m pip -U ./pip

> We switched to requests in that version and perhaps it side steps the issue?

Looks like.  10 out of 10 successful downloads with pip git master using:

  $ unset PIP_DOWNLOAD_CACHE
  $ rm -f virtualenv-1.10.1.tar.gz && env/scripts/pip install -d .  virtualenv

As a control, I tested again with pip 1.4.1, and 2 out of 4 downloads
failed with a bad hash error.

Interesting.

Marius Gedminas
-- 
Those parts of the system that you can hit with a hammer (not advised)
are called hardware; those program instructions that you can only curse
at are called software.
                -- Levitating Trains and Kamikaze Genes: Technological
                   Literacy for the 1990's.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131125/2f4df33a/attachment.sig>


More information about the Distutils-SIG mailing list