Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300713 - Stabilize dev-python/sip-4.9.3-r1 and dev-python/PyQt4-4.6.2
Summary: Stabilize dev-python/sip-4.9.3-r1 and dev-python/PyQt4-4.6.2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 303929
Blocks:
  Show dependency tree
 
Reported: 2010-01-12 12:37 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-02-19 12:50 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 12:37:57 UTC
Stabilize:
  dev-python/sip-4.9.3-r1
  dev-python/PyQt4-4.6.2

Python / Qt projects: If some other packages need to be stabilized before =dev-python/sip-4.9* or =dev-python/PyQt4-4.6*, then please file separate bugs and make them block this bug.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2010-01-15 14:35:06 UTC
I'd like to proceed with this ASAP, but we need someone to check the reverse dependencies.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-01-31 16:29:46 UTC
Both of them marked stable for amd64
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2010-02-02 15:32:03 UTC
Hi, I'm in the middle of testing the rdeps on x86. 

dev-util/eric-4.3.10-r1 gives this which indicated a wrong dependency. Can someone with more pykde knowledge find out what's going on. 
(The same happens with dev-util/eric-4.3.9)

 * Installation of dev-util/eric-4.3.10-r1 with Python 2.6...                                    
Compiling user interface files...                                                                
An internal error occured.  Please report all the output of the program,                         
including the following traceback, to eric4-bugs@die-offenbachs.de.                              

Traceback (most recent call last):
  File "install.py", line 754, in <module>
    main(sys.argv)                        
  File "install.py", line 717, in main    
    compileUiFiles()                      
  File "install.py", line 635, in compileUiFiles
    compileUiDir("eric", True, pyName)          
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 94, in compileUiDir
    compile_ui(root, ui)                                                                 
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 86, in compile_ui  
    compileUi(ui_file, py_file, **compileUi_args)                                        
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 128, in compileUi  
    winfo = compiler.UICompiler().compileUi(uifile, pyfile)                              
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/compiler.py", line 14, in __init__
    CompilerCreatorPolicy())                                                                  
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 87, in __init__         
    self.factory = QObjectCreator(creatorPolicy)                                              
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/objcreator.py", line 49, in __init__       
    self._cwFilters.append(plugin_locals["getFilter"]())
  File "<string>", line 22, in getFilter
RuntimeError: the sip module implements API v6.0 but the PyKDE4.kdeui module requires API v5.0
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2010-02-02 16:16:54 UTC
(In reply to comment #3)
> RuntimeError: the sip module implements API v6.0 but the PyKDE4.kdeui module
> requires API v5.0

You need to reinstall pykde after upgrading sip and PyQt4, as the elog message suggests.
Comment 5 Thomas Kahle (RETIRED) gentoo-dev 2010-02-02 20:49:07 UTC
> You need to reinstall pykde after upgrading sip and PyQt4, as the elog message
> suggests.

Alas, the vagaries of automated testing...
I have successfully built all but one of stable rdeps of these two packages on x86. I also tested several useflag combinations successfully. 

net-misc/guidedog fails with new versions and works with the current stable ones:

make -j3                                                                                           
Scanning dependencies of target pysupport                                                          
Scanning dependencies of target guidedog-1.1-handbook                                                                              
[  0%] Generating index.cache.bz2                                                                                                  
Scanning dependencies of target translations                                                                                       
-- Compiling UI file src/guidedogwindow.ui                                                                                         
[  0%] Built target translations                                                                                                   
Traceback (most recent call last):                                                                                                 
  File "/usr/bin/pykdeuic4", line 148, in <module>                                                                                 
    main()                                                                                                                         
  File "/usr/bin/pykdeuic4", line 145, in main                                                                                     
    processUI(args[0], output_filename, exe)                                                                                       
  File "/usr/bin/pykdeuic4", line 74, in processUI                                                                                 
    winfo = comp.compileUi(uifile, output)                                                                                         
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/compiler.py", line 66, in compileUi                                    
    w = self.parse(input_stream)                                                                                                   
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 777, in parse                                                
    actor(elem)                                                                                                                    
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 623, in createUserInterface                                  
    self.wprops.setProperties(self.toplevelWidget, elem)                                                                           
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/properties.py", line 271, in setProperties                                      
    getattr(widget, "set%s%s" % (ascii_upper(propname[0]), propname[1:]))(self.convert(prop, widget))                              
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/qtproxies.py", line 90, in __call__                                    
    ", ".join(map(obj_to_argument, args)))                                                                                         
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/qtproxies.py", line 25, in obj_to_argument                             
    arg = str(obj)                                                                                                                 
  File "/usr/bin/pykdeuic4", line 42, in __str__                                                                                   
    return "kdecore.i18n(\"%s\")" % (self.escape(self.string),)                                                                    
AttributeError: 'kde_i18n_string' object has no attribute 'escape'                                                                 
make[2]: *** [pysupport] Error 1                                                                                                   
make[1]: *** [CMakeFiles/pysupport.dir/all] Error 2                                                                                
make[1]: *** Waiting for unfinished jobs.... 


Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-07 21:55:39 UTC
(In reply to comment #5)

It's a bug in older versions of kde-base/pykde4.
Comment 7 Thomas Kahle (RETIRED) gentoo-dev 2010-02-08 10:09:23 UTC
(In reply to comment #6)
> (In reply to comment #5)
> 
> It's a bug in older versions of kde-base/pykde4.

Confirmed! guidedog installs fine after fixing bug 303929 and emerging kde-base/pykde4-4.3.4-r1
With this I think I have rebuilt the comlete set of rdeps against the new versions of sip and pyqt. Good to go x86 from my side.

Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2010-02-08 15:03:21 UTC
stable x86, thanks Thomas
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-10 16:41:45 UTC
Stable for HPPA.
Comment 10 Ben de Groot (RETIRED) gentoo-dev 2010-02-19 12:16:03 UTC
Please continue at bug 301105 with the next version.