kiki should depend on python-wxgtk2.6 or python-wxgtk2.8, not just on python-wxgtk2.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kiki (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
spe (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
SRU request (can be started after patch is released for Karmic):
1) Kiki (depends on python-wxgtk2.6) is mostly installed as a dependency of SPE (depends on python-wxgtk2.8). This causes three issues:
1.a This will install unnecessarily two version of python-wxgtk.
1.b This might break any wxpython application which depends on python-wxgtk2.8 and only uses "import wx" instead of wxversion (see the original bug report). It breaks because since Jaunty python-wxgtk2.6 is the default when 2.6 and 2.8 or both installed (because of a packaging error in wxwidgets, see bug #379573).
1.c Another problem with kiki is that it was developed for python-wxgtk2.4, which uses a class (wx.NotebookSizer) which is deprecated in python-wxgtk2.6 and unavailable in python-wxgtk2.8. This causes that a serious deprecation warning in python-wxgtk2.6 is displayed and that kiki is incompatible with python-wxgtk2.8
2) Therefore I (stani) propose a fix, which changes three lines:
2.a kiki.py: it let kiki use both python-wxgtk2.6 and python-wxgtk2.8
2.b kiki.py: it removes the deprecated class (wx.NotebookSizer) of python-wxgtk2.4
2.c debian/control: it changes the dependency to python-wxgtk2.8 or python-wxgtk2.8, instead of only python-wxgtk2.6
This fix has been already prepared for the current development branch (karmic). Version prepared is 0.5.6-3.1ubuntu2 and the debdiff used can be found at this link:
http://
3) A debdiff (0.5.6-
http://
4) TEST CASE: to reproduce the bug, just follow this small steps:
4.a install spe (which will install kiki): sudo apt-get install spe
4.b you'll notice that both python-wxgtk2.8 and python-wxgtk2.6 get installed, while python-wxgtk2.8 should be enough
4.c start python and see that wxpython2.6 is used (instead of python-wxgtk2.8):
>>> import wx
>>> wx.VERSION
(2, 6, 3, 2, '')
So most wxPython applications now expect 2.8, see the original bug report.
4.d run kiki to see the deprecation warning:
$ kiki
/usr/lib/
TopPaneSizer.
Original bug report:
Binary package hint: spe
Ubuntu 9.04 - Jaunty Jackalope
Since Jaunty the dependencies from SPE are python-wx2.6 AND python-wx2.8 i've got errors in my wxPython-apps with wx.StaticText argument 'Label', that don't comes, when only python-wx2.8 is installed.
Also running python-apps in SPE work not correctly.
In Intrepid these bugs are not there.
Removed python-wx2.6 and kiki with dpkg, then my apps an SPE are running correctly.
But Synaptik wants to update/reinstall them.
So it make sense, to remove dependencies on SPE with python-wx2.6.
summary: |
- dependencies of SPE on python-wxgtk2.6 create errors in wxPython-apps - and in SPE too + kiki should depend on python-wxgtk2.6 or python-wxgtk2.8, not just on + python-wxgtk2.6 |
Changed in kiki (Ubuntu): | |
assignee: | nobody → stani (stani) |
status: | New → In Progress |
description: | updated |
no longer affects: | spe (Ubuntu Jaunty) |
no longer affects: | kiki (Ubuntu Jaunty) |
The dependencies on python-wxgtk2.6 can indeed dissappear. There is no reason why kiki should depend on 2.6 This was because for a long time debian didn't support 2.8 Now this issue is over since Lenny. So I'll try to bump the dependency of kiki to 2.8