bzr-svn tests won't run

Sabin Iacob iacobs at m0n5t3r.info
Tue Jun 19 20:05:17 BST 2007


when attempting to run tests for bzr-svn I get

Unable to test plugin "svn": cannot import name create_cache_dir

looks like my python installation won't resolve the "cache" module while 
running tests unless it's fully qualified (bzrlib.plugins.svn.cache);

sys.path looks like

['', '/usr/lib/python2.4/site-packages/python_wireless-0.3-py2.4.egg', 
'/usr/lib/portage/pym', '/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', 
'/usr/lib/python2.4/site-packages/Numeric', 
'/usr/lib/python2.4/site-packages/PIL', 
'/usr/lib/python2.4/site-packages/gtk-2.0']

is it missing something? or is it a python 2.4 "feature" (AFAIK python 
-m can't resolve module names that aren't top level un 2.4; is this 
situation similar?)?

python 2.4.4, standard Gentoo setup

attaching a patch that works for me, just in case this is not a PEBKAC 
situation
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: names.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070619/a596626f/attachment.diff 


More information about the bazaar mailing list