FS#32175 - [python2-sip] 4.14-2 breaks python2-pyqt functionality
Attached to Project:
Arch Linux
Opened by Sergio (zeno979) - Tuesday, 23 October 2012, 07:34 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 24 October 2012, 11:52 GMT
Opened by Sergio (zeno979) - Tuesday, 23 October 2012, 07:34 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 24 October 2012, 11:52 GMT
|
Details
Description:
After upgrading python2-sip and sip to 4.14-2, python applications which makes use of python2-pyqt libraries stopped working. Additional info: Here's the output: [sergio@leviathan ~]$ luma Traceback (most recent call last): File "/usr/bin/luma", line 18, in <module> from qt import * RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1 Steps to reproduce: -Upgrade sip and python2-sip to version 4.14-2 |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 24 October 2012, 11:52 GMT
Reason for closing: Not a bug
Additional comments about closing: python modules that use pyqt need to be rebuilt
Wednesday, 24 October 2012, 11:52 GMT
Reason for closing: Not a bug
Additional comments about closing: python modules that use pyqt need to be rebuilt
[sergio@leviathan luma]$ makepkg -s
==> Making package: luma 2.4-5 (Tue Oct 23 11:58:50 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found luma-2.4.tar.bz2
==> Validating source files with md5sums...
luma-2.4.tar.bz2 ... Passed
==> Extracting Sources...
-> Extracting luma-2.4.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
Luma 2.4 (C) 2003-2006 Wido Depping
Check for preinstalled modules:
python-ldap is installed...
Installed version: 2.4.10
Minimum version: 2.0.1
Traceback (most recent call last):
File "install.py", line 234, in <module>
doImportCheck()
File "install.py", line 48, in doImportCheck
import qt
RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1
==> ERROR: A failure occurred in build().
Aborting...
[sergio@leviathan ~]$ python2
Python 2.7.3 (default, Apr 24 2012, 00:00:54)
[GCC 4.7.0 20120414 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1
import popplerqt4
RuntimeError: the sip module implements API v9.0 but the popplerqt4 module requires API v8.1
rebuild python2-poppler-qt
$ python2 -c "import popplerqt4"
$
that does the trick. Thanks