[Buildbot-commits] [SPAM] [Buildbot] #897: Allow Twisted dependency to be fulfilled by separate tarballs

Buildbot buildbot-devel at lists.sourceforge.net
Thu Jun 17 11:58:00 UTC 2010


#897: Allow Twisted dependency to be fulfilled by separate tarballs
----------------------+-----------------------------------------------------
Reporter:  clepple    |       Owner:       
    Type:  undecided  |      Status:  new  
Priority:  major      |   Milestone:  0.8.1
 Version:  0.8.0      |    Keywords:       
----------------------+-----------------------------------------------------
 In Fink, Twisted is broken up into individual packages based on the
 separate tarballs at the bottom of this page:

 http://twistedmatrix.com/trac/wiki/Downloads

 If I run the buildslave (0.8.1rc1) with some of those packages installed,
 it complains because there is no single package which provides "twisted":

 $ buildslave --help
 Traceback (most recent call last):
   File "/sw/bin/buildslave", line 5, in <module>
     from pkg_resources import load_entry_point
   File "/sw/lib/python2.6/site-packages/pkg_resources.py", line 2603, in
 <module>
     working_set.require(__requires__)
   File "/sw/lib/python2.6/site-packages/pkg_resources.py", line 666, in
 require
     needed = self.resolve(parse_requirements(requirements))
   File "/sw/lib/python2.6/site-packages/pkg_resources.py", line 565, in
 resolve
     raise DistributionNotFound(req)  # XXX put more info here
 pkg_resources.DistributionNotFound: twisted>=2.0.0

 If I change the requires.txt to say "twisted_core>=2.0.0" it works
 (although I have all the twisted* packages installed that are needed by
 the 0.8.0 package, so that probably needs to be augmented with the other
 slave required twisted-* packages.)

 If possible, it would be nice to allow an alternate dependency on "twisted
 or (twisted_core and twisted_web)", although I am not familiar with the
 setuptools dependency syntax.

 Marking this as "major" since it blocks the Fink package (and potentially
 other packaging systems which ship a modular Twisted), but it could be
 worked around with a patch at install time.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/897>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list