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

Closed
opened 2007-10-03 18:29:19 +00:00 by zooko · 7 comments

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
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 ```
zooko added the
unknown
minor
defect
0.6.0
labels 2007-10-03 18:29:19 +00:00
zooko added this to the 0.6.1 milestone 2007-10-03 18:29:19 +00:00
zooko self-assigned this 2007-10-03 18:29:19 +00:00
Author

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
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 ```
zooko modified the milestone from 0.6.1 to 0.7.0 2007-10-13 22:27:20 +00:00
Author

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\

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\ ```
Author

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/
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/ ```
Author

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...

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...
zooko changed title 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? 2007-10-19 03:31:14 +00:00
zooko added
0.7.0
and removed
0.6.0
labels 2007-11-13 18:18:02 +00:00
Author

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.

We need to choose a manageable subset of desired improvements for [v0.7.1](http://allmydata.org/trac/tahoe/milestone/0.7.1), scheduled for two week hence, so I'm bumping this one into [v0.7.2](http://allmydata.org/trac/tahoe/milestone/0.7.2), scheduled for mid-December.
zooko added this to the 0.8.0 (Allmydata 3.0 Beta) milestone 2008-01-23 04:22:06 +00:00

I suppose this counts as 'packaging'..

I suppose this counts as 'packaging'..
warner added
packaging
and removed
unknown
labels 2008-02-06 01:10:06 +00:00
Author

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

This has been fixed. I don't remember exactly which change fixed this -- perhaps changeset:c3a265839c3e2459 or changeset:faad785859ca53c5.
zooko added the
fixed
label 2008-02-06 18:42:57 +00:00
zooko closed this issue 2008-02-06 18:42:57 +00:00
Sign in to join this conversation.
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#164
No description provided.