Skip to content

Dependency problem bootstraping bitmask with script

if we @source bitmask_bootstrap.sh@ (see pullreq https://github.com/leapcode/leap_client/pull/306 if is not merged yet), when we run bitmask (@bin/bitmask@) we get:

bin/bitmask 
Traceback (most recent call last):
  File "bin/bitmask", line 5, in 
    from pkg_resources import load_entry_point
  File "/home/ivan/tmp/bitmask-testbuild/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 2807, in 
    parse_requirements(__requires__), Environment()
  File "/home/ivan/tmp/bitmask-testbuild/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 598, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/home/ivan/tmp/bitmask-testbuild/lib/python2.7/site-packages), Requirement.parse('six==1.1.0'))

Looking for the place where we can have that problem...

bitmask-testbuild > find -iname "*requir*" | xargs grep six
./lib/python2.7/site-packages/leap.soledad.common-0.3.1_2_g21f58cc-py2.7.egg-info/requires.txt:six==1.1.0  # some tests are incompatible with newer ver
sions of six.
./lib/python2.7/site-packages/python_dateutil-2.1-py2.7.egg-info/requires.txt:six

To solve this I've installed the 1.1.0 version:

pip uninstall six
pip install six==1.1.0

(from redmine: created on 2013-09-05, closed on 2013-09-05, duplicates #3718 (closed))