[Python-modules-team] Bug#707734: python3-pyqt4: hardcoded Python version in pyqt_mod_dir

Jakub Wilk jwilk at debian.org
Fri May 10 18:58:57 UTC 2013


Package: python3-pyqt4
Version: 4.9.3-4
Severity: important
User: debian-python at lists.debian.org
Usertags: python3.3
Control: affects -1 + src:qscintilla2

pyqt_mod_dir is always "/usr/lib/python3.2/dist-packages/PyQt4", even 
with Python 3.3:
| $ python3.3
| Python 3.3.1 (default, Apr  6 2013, 16:36:33)
| [GCC 4.7.2] on linux
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import PyQt4.pyqtconfig
| >>> PyQt4.pyqtconfig.Configuration().pyqt_mod_dir
| '/usr/lib/python3.2/dist-packages/PyQt4'

This breaks qscintilla2 builds, because it uses pyqt_mod_dir to 
determine where to install its modules: Python 3.3 modules land in 
/usr/lib/python3.2.

-- 
Jakub Wilk



More information about the Python-modules-team mailing list