optik installs /usr/lib/python2.5/site-packages/optparse.py which conflicts with the actual Python optparse module /usr/lib/python2.5/optparse.py An example of breakage shows up with pybugz: $ bugz search optik Traceback (most recent call last): File "/usr/bin/bugz", line 3, in <module> import bugz File "/usr/lib/python2.5/site-packages/bugz.py", line 260, in <module> from optparse import OptionParser, make_option, BadOptionError ImportError: cannot import name make_option Here's whats found in optik's optparse.py so maybe we can just remove it since we don't support Python 2.2: optparse -- forward-compatibility wrapper for use with Python 2.2.x and earlier. If you import from 'optparse' rather than 'optik', your code will work on base Python 2.3 (and later), or on earlier Pythons with Optik 1.4.1 or later installed. """ from optik import __version__, __all__ from optik import *
Actually optik shouldn't even be emerged if using >Python2.3 so I'll fix ebuilds like pyreverse that don't check that and update optik so it is blocked with Python>2.3
Another idea is to mask & remove it since we don't care about 2.3 and below anymore ;)
*** Bug 238170 has been marked as a duplicate of this bug. ***
Hello, This package has been masked for removal in 30 days (Oct 20th 2009). It is not needed for Python versions higher than 2.4. Best regards,