Issue #34 invalid

pip install package==version inefficiently crawling all urls

Damien Nozay
created an issue

Attached two files: - download.bad.txt where I'm trying to retrieve a non-existing package from pypi. - download.good-but-bad.txt where I'm trying to retrieve an existing package but things are very sluggish from my network.

First things to pay attention to:

  Will skip URL when looking for download links for django==1.6.777

This means the package maintainer did not provide a subdirectory for that specific version with an associated index.html. Maybe it is a problem in general where no good practices are documented (?). This is the part I would like to see addressed. If all packages had a more limited index.html for specific versions, then crawling would be much faster. -> ->

Because network is so slow for me, I am using collective.eggproxy and that alleviates some of the pain, but it has its own problems too.

  Ignoring link (from, version 1.2.6 doesn't match ==1.6.777
  Ignoring link (from 

Secondly (and I'll file an enhancement request against pip), when asking for a specific version, it tries each link in the package index rather than doing any guesswork. Very often the name conventions is consistent. -> maybe files are all named -> try

Thank you!

Comments (1)

  1. Log in to comment