[tahoe-dev] [tahoe-lafs] #1168: make setup.py more easily patchable by OS packagers

tahoe-lafs trac at tahoe-lafs.org
Thu Aug 12 01:08:39 UTC 2010


#1168: make setup.py more easily patchable by OS packagers
----------------------------+-----------------------------------------------
     Reporter:  davidsarah  |       Owner:  somebody                        
         Type:  defect      |      Status:  new                             
     Priority:  major       |   Milestone:  undecided                       
    Component:  packaging   |     Version:  1.8β                            
   Resolution:              |    Keywords:  install setuptools debian ubuntu
Launchpad Bug:              |  
----------------------------+-----------------------------------------------

Comment (by davidsarah):

 Replying to [comment:3 zooko]:
 > Replying to [ticket:1168 davidsarah]:
 > > Packaging Tahoe-LAFS for OS distributions (e.g. Debian or Ubuntu)
 currently requires that [source:setup.py] be patched, so that setuptools
 doesn't try to satisfy Tahoe's dependencies by downloading eggs
 >
 > Are we sure that this is a problem? It won't try to download eggs if the
 dependencies required are already present.

 I've seen it attempt to do so (for foolscap-0.5.1, for example). It's
 possible that the dependencies were not present in a way recognized by
 setuptools, but that seems to be a situation that is very easy to end up
 in. Also see #717 (which is about rebuilding rather than downloading, but
 that's still a problem).

 > > or by deciding to use a different version of the dependency than would
 be provided by an OS package.
 >
 > Does this mean the packager wants to supply a version of a dependent
 library older than the minimum version that we specify in
 [source:_auto_deps.py]? If so, I would like to know about this!

 setuptools might want to download, build, or install a version that is
 newer than the one supplied by the OS package manager, even though the
 latter satisfies our declared requirement. (I'm skeptical that
 http://bugs.python.org/setuptools/issue17 and
 http://bugs.python.org/setuptools/issue20 have actually been fixed, or if
 they have, then there must be other bugs causing this problem, because
 I've definitely seen it happen.)

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1168#comment:6>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list