pypa/pip — Issue #410: 'pip install --find-links=file:///$(pwd)/sdists --index-url=file:///dev/null' still talks to pypi.python.org 
Author: slacy
Created: 2011-12-17 00:22:02+00:00
State: open

Here's the sequence to reproduce this problem. When pip is installing the dependencies for django-jenkins, it goes out and talks to pypi.python.org.

$ virtualenv env
$ . ./env/bin/activate
$ mkdir ./sdists
$ pip install -d ./sdists django-appconf

Then, with NETWORKING DISABLED, run:

$ pip install --find-links=file:///$(pwd)/sdists --no-index --index-url=file:///dev/null django-appconf

The install will fail with a message saying:

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('versiontools>=1.6')

But, if you enable networking and re-run the exact same command, then it will succeed with:

"Installed /home/slacy/tmp/env/build/django-appconf/versiontools-1.8.2-py2.7.egg"

I'm fairly certain that it goes out to pypi.python.org to figure this out. Earlier today, when pypi.python.org wasn't responding, this would print out some error messages that indicated as such, but now that it's back online, it's harder to see what's going on (and adding logs/verbose doesn't show much)

If there's anything more you need me to do to debug this, let me know.