** Description changed:

+ 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://launchpadlibrarian.net/27099210/kiki_0.5.6-3.1ubuntu2.debdiff
+ 
+ 
+ 3) A debdiff (0.5.6-3.1ubuntu1.9.04) for jaunty-proposed has been already 
prepared and can be found at
+ http://launchpadlibrarian.net/27099231/kiki_0.5.6-3.1ubuntu1.9.04.debdiff
+ 
+ 
+ 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/python2.6/dist-packages/kiki/kiki.py:320: DeprecationWarning: 
NotebookSizer is no longer needed.
+   TopPaneSizer.Add(wx.NotebookSizer(self.Notebook), 1, wx.EXPAND, 0)
+ 
+ 
+ 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.

-- 
kiki should depend on python-wxgtk2.6 or python-wxgtk2.8, not just on 
python-wxgtk2.6
https://bugs.launchpad.net/bugs/370839
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to