#164 closed defect (fixed)

bundled dep tarballs not used if... if some of the .egg's are already found on the system?

Reported by: zooko Owned by: zooko
Priority: minor Milestone: 0.8.0 (Allmydata 3.0 Beta)
Component: packaging Version: 0.7.0
Keywords: Cc:
Launchpad Bug:

Description

Mike Booker ran "easy_install allmydata-tahoe". The second time he ran it, it outputted the following, which suggests that the bundled dependency tarballs are missing from the allmydata-tahoe.tar.gz or else there is something else preventing easy_install from using them:

Searching for allmydata-tahoe 
Best match: allmydata-tahoe 0.6.0 
Processing allmydata_tahoe-0.6.0-py2.5-win32.egg 
allmydata-tahoe 0.6.0 is already the active version in easy-install.pth 
Installing allmydata-tahoe-script.py script to C:\Python25\Scripts 
Installing allmydata-tahoe.exe script to C:\Python25\Scripts 

Using c:\python25\lib\site-packages\allmydata_tahoe-0.6.0-py2.5-win32.egg 
Not found: misc\dependencies\foolscap-0.1.6.tar.gz 
Not found: misc\dependencies\Nevow-0.9.18.tar.gz 
Not found: misc\dependencies\zfec-1.0.4.tar.gz 
Not found: misc\dependencies\zope.interface-3.4.0.tar.gz 
Processing dependencies for allmydata-tahoe 
Searching for simplejson>=1.4 
Reading http://allmydata.org/trac/tahoe/wiki/Dependencies 
Reading http://pypi.python.org/simple/simplejson/ 
Reading http://undefined.org/python/#simplejson 
Best match: simplejson 1.7.3 
Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-1.7.3.tar.gz#md5=03935eda1211f29d6856481baf6cba59 
Processing simplejson-1.7.3.tar.gz 
Running simplejson-1.7.3\setup.py -q bdist_egg --dist-dir c:\docume~1\admini~1\locals~1\temp\easy_install-7r16lw\simplejson-1.7.3\egg-dist-tmp-iorqy0

Change History (13)

comment:1 Changed at 2007-10-13T06:48:54Z by zooko

  • Status changed from new to assigned

comment:2 follow-up: Changed at 2007-10-13T22:27:20Z by zooko

  • Milestone changed from 0.6.1 to 0.7.0

I tried to reproduce this, and on my machine it worked. Here is output from "easy_install -v allmydata-tahoe" which indicates that it is using the bundled tarballs, and not searching the Internet at all.

So I wonder why this didn't work for Mike? I know, I'll ask Mike to delete his c:\Python25\Lib\site-packages\allmydata-tahoe* and try again and capture the output...

Meanwhile, I'm bumping this ticket to v0.7 milestone.

Searching for allmydata-tahoeBest match: allmydata-tahoe 0.6.0-68Processing allmydata_tahoe-0.6.0_68-py2.5-win32.eggallmydata-tahoe 0.6.0-68 is already the active version in easy-install.pthInstalling tahoe-script.py script to c:\Python25\ScriptsInstalling tahoe.exe script to c:\Python25\ScriptsUsing c:\python25\lib\site-packages\allmydata_tahoe-0.6.0_68-py2.5-win32.eggFound: misc\dependencies\foolscap-0.1.7.tar.gzFound: misc\dependencies\Nevow-0.9.18.tar.gzFound: misc\dependencies\simplejson-1.7.3.tar.gzFound: misc\dependencies\zfec-1.1.tar.gzFound: misc\dependencies\zope.interface-3.4.0.tar.gzProcessing dependencies for allmydata-tahoeSearching for nevow>=0.6.0Best match: Nevow 0.9.18Processing nevow-0.9.18.tar.gzUnpacking Nevow-0.9.18// to c:\docume~1\zookob~1\locals~1\temp\easy_install-gqngz5\Nevow-0.9.18\U

comment:3 in reply to: ↑ 2 Changed at 2007-10-13T22:28:09Z by zooko

Argh, here is the logfile again with eols in place:

Searching for allmydata-tahoe

Best match: allmydata-tahoe 0.6.0-68

Processing allmydata_tahoe-0.6.0_68-py2.5-win32.egg

allmydata-tahoe 0.6.0-68 is already the active version in easy-install.pth

Installing tahoe-script.py script to c:\Python25\Scripts

Installing tahoe.exe script to c:\Python25\Scripts



Using c:\python25\lib\site-packages\allmydata_tahoe-0.6.0_68-py2.5-win32.egg

Found: misc\dependencies\foolscap-0.1.7.tar.gz

Found: misc\dependencies\Nevow-0.9.18.tar.gz

Found: misc\dependencies\simplejson-1.7.3.tar.gz

Found: misc\dependencies\zfec-1.1.tar.gz

Found: misc\dependencies\zope.interface-3.4.0.tar.gz

Processing dependencies for allmydata-tahoe

Searching for nevow>=0.6.0

Best match: Nevow 0.9.18

Processing nevow-0.9.18.tar.gz

Unpacking Nevow-0.9.18// to c:\docume~1\zookob~1\locals~1\temp\easy_install-gqngz5\Nevow-0.9.18\

comment:4 Changed at 2007-10-14T12:45:50Z by zooko

A-ha. If I run "easy_install allmydata-tahoe" a second time, when there is already an allmydata-tahoe .egg present, then I get these warnings, and it starts searching the Net for nevow packages:

Using c:\python25\lib\site-packages\allmydata_tahoe-0.6.0_68-py2.5-win32.egg
Not found: misc\dependencies\foolscap-0.1.7.tar.gz
Not found: misc\dependencies\Nevow-0.9.18.tar.gz
Not found: misc\dependencies\simplejson-1.7.3.tar.gz
Not found: misc\dependencies\zfec-1.1.tar.gz
Not found: misc\dependencies\zope.interface-3.4.0.tar.gz
Processing dependencies for allmydata-tahoe
Searching for nevow>=0.6.0
Reading http://allmydata.org/trac/tahoe/wiki/Dependencies
Reading http://pypi.python.org/simple/nevow/

comment:5 Changed at 2007-10-14T12:45:57Z by zooko

  • Status changed from assigned to new

comment:6 Changed at 2007-10-14T12:46:04Z by zooko

  • Status changed from new to assigned

comment:7 Changed at 2007-10-14T14:05:18Z by zooko

Hm. And now I tried it on my Mac and also got it searching the internet and downloading nevow when it didn't have to...

comment:8 Changed at 2007-10-19T03:31:14Z by zooko

  • Summary changed from bundled dep tarballs not used in easy_install on win32 to bundled dep tarballs not used if... if some of the .egg's are already found on the system?

comment:9 Changed at 2007-11-13T18:18:02Z by zooko

  • Milestone changed from 0.7.0 to 0.7.1
  • Version changed from 0.6.0 to 0.7.0

comment:10 Changed at 2007-11-13T18:32:35Z by zooko

  • Milestone changed from 0.7.1 to 0.7.2

We need to choose a manageable subset of desired improvements for v0.7.1, scheduled for two week hence, so I'm bumping this one into v0.7.2, scheduled for mid-December.

comment:11 Changed at 2008-01-23T04:22:06Z by zooko

  • Milestone changed from 0.7.2 to 0.8.0 (Allmydata 3.0 Beta)

comment:12 Changed at 2008-02-06T01:10:06Z by warner

  • Component changed from unknown to packaging

I suppose this counts as 'packaging'..

comment:13 Changed at 2008-02-06T18:42:57Z by zooko

  • Resolution set to fixed
  • Status changed from assigned to closed

This has been fixed. I don't remember exactly which change fixed this -- perhaps c3a265839c3e2459 or faad785859ca53c5.

Note: See TracTickets for help on using tickets.