nose icon indicating copy to clipboard operation
nose copied to clipboard

slow pip install due to old 404 urls

Open npinto opened this issue 14 years ago • 16 comments

pip install -vUI nose

gets me:

Downloading/unpacking nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.5.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0b1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0b1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0a2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0a2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0b1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0b1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0a2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0a2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.3.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.3.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.6.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.6.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.4.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.4.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.3.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.3.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.3.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.3.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0b2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0b2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0a1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.0a1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.0.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.11.0.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.3.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.9.3.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.4.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.4.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.5.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0a1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.0a1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.4.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.4.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.2.tar.gz when looking for download links for nose
  Using version 1.1.2 (newest of versions: 1.1.2, 1.1.1, 1.1.0, 1.0.0, 1.0.0, 0.11.4, 0.11.4, 0.11.4.dev, 0.11.3, 0.11.3, 0.11.2, 0.11.2, 0.11.1, 0.11.0, 0.11.0, 0.10.4, 0.10.4, 0.10.3, 0.10.3, 0.10.2, 0.10.2, 0.10.1, 0.10.0, 0.10.0b1, 0.10.0a2, 0.10.0a1, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.9.0b2, 0.9.0b1, 0.9.0a2, 0.9.0a1
, 0.8.7.2, 0.8.7.1, 0.8.7, 0.8.6, 0.8.5, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8, 0.7.5, 0.7.2, 0.7.1, 0.7, 0.6, 0.5.1, 0.5, dev, dev, dev)
  Running setup.py egg_info for package nose

npinto avatar Mar 11 '12 04:03 npinto

Happened to me too. Any ideas how to debug this or give more information to the developers?

amireldor avatar May 17 '12 07:05 amireldor

I see the same.

petergx avatar Jul 13 '12 18:07 petergx

I see this too. The problem is that it causes slow installs--From a fresh virtualenv I typically see it take 15-20 seconds just for nose.

wiseman avatar Aug 28 '12 16:08 wiseman

Thanks for reporting this. I'll try to take care of it with the next release, though as I've tried to make everyone aware my time to work on nose is very limited, and I can't say exactly when that next release will happen.

On Tue, Aug 28, 2012 at 12:35 PM, John Wiseman [email protected]:

I see this too. The problem is that it causes slow installs--From a fresh virtualenv I typically see it take 15-20 seconds just for nose.

— Reply to this email directly or view it on GitHubhttps://github.com/nose-devs/nose/issues/503#issuecomment-8098143.

jpellerin avatar Aug 28 '12 17:08 jpellerin

This is just annoying. Pip is wasting around 15 minutes in 404s.

douglascamata avatar Oct 08 '12 21:10 douglascamata

It still isn't fixed? The main pypi page for nose only shows good links now as far as I can tell.

On Mon, Oct 8, 2012 at 5:15 PM, Douglas Camata [email protected]:

This is just annoying. Pip is wasting around 15 minuts in 404s.

— Reply to this email directly or view it on GitHubhttps://github.com/nose-devs/nose/issues/503#issuecomment-9240520.

jpellerin avatar Oct 08 '12 21:10 jpellerin

Still happening for me.

 pip install --verbose nose
Downloading/unpacking nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.1.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.2.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.5.tar.gz when looking for download links for nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.tar.gz when looking for download links for nose
<snip>

The bad urls are still here: http://pypi.python.org/simple/nose/

kevin1024 avatar Oct 12 '12 00:10 kevin1024

Those are links to very old versions. I don't expect to have time for a while to go back and update every description and download link of every released version of nose, so meanwhile I suggest trying to pin to a more recent version.

On Thu, Oct 11, 2012 at 8:12 PM, Kevin McCarthy [email protected]:

Still happening for me.

pip install --verbose nose Downloading/unpacking nose Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.5.tar.gz when looking for download links for nose Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.6.tar.gz when looking for download links for nose Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.1.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.1.tar.gz when looking for download links for nose Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.2.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.2.tar.gz when looking for download links for nose Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.5.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.7.5.tar.gz when looking for download links for nose Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-0.8.7.tar.gz when looking for download links for nose

— Reply to this email directly or view it on GitHubhttps://github.com/nose-devs/nose/issues/503#issuecomment-9362857.

jpellerin avatar Oct 12 '12 13:10 jpellerin

I installed collective.eggproxy and modified it to handle this problem. Files and bad links are also saved in a cache and the install process is fast now on my computer.

ponty avatar Nov 02 '12 10:11 ponty

Would removing pre 1.0 versions from pypi be an acceptable solution to this? The problem is that the dists are gone from my old web host, and I don't have time to rebuild and upload them all to pypi and change all of the descriptions for every past version.

jpellerin avatar Nov 02 '12 13:11 jpellerin

Yes, removing old versions from pypi would be a great solution.

dholth avatar Nov 12 '12 18:11 dholth

Bump. This is still an issue, I don't believe many people care about pre-1.0 versions anyway.

jstasiak avatar Apr 02 '13 02:04 jstasiak

Ok, I guess hiding was not sufficient. I removed all pre-1.0 versions from the cheeseshop. Any better now?

On Mon, Apr 1, 2013 at 10:04 PM, Jakub Stasiak [email protected]:

Bump. This is still an issue, I don't believe many people care about pre-1.0 versions anyway.

— Reply to this email directly or view it on GitHubhttps://github.com/nose-devs/nose/issues/503#issuecomment-15749275 .

jpellerin avatar Apr 02 '13 13:04 jpellerin

-> % pip --verbose install nose
Downloading/unpacking nose
  Could not fetch URL http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz (from http://pypi.python.org/simple/nose/): HTTP Error 404: NOT FOUND
  Will skip URL http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz when looking for download links for nose
  Using version 1.2.1 (newest of versions: 1.2.1, 1.2.0, 1.1.2, 1.1.1, 1.1.0, 1.0.0, 1.0.0, dev, dev)
  Downloading nose-1.2.1.tar.gz (400kB): 400kB downloaded
(...)

I'd say it's fixed, thank you!

jstasiak avatar Apr 02 '13 15:04 jstasiak

Is there any chance of the old versions being restored at any point in the future (I understand that this is not likely to happen soon), with working download URLs?

I work on a project that was still using an old version of nose, and this change broke our set-up. Fine: that's our fault, we really should have updated already. I'll be switching us to a newer version today.

However, this also means that I now can't check out an old version of our project and install its dependencies normally, because the version of nose it expects will be missing. We can deal with this, but it will be an annoyance (hence my wondering if the deletions are permanent).

banksJeremy avatar Apr 05 '13 19:04 banksJeremy

Unless there's some way I can restore the older versions without causing the pip craziness again, removal will have to be permanent I think.

jpellerin avatar Apr 05 '13 19:04 jpellerin