Menu

#203 taurus.check_dependencies() does not report correct version of PyQt

Jan16
resolved
None
bug
2015-11-25
2015-11-19
marc
No

taurus.check_dependencies() does not report correct version of PyQt. Instead of reporting the version of PyQt, it is reporting the version of Qt.

How can be observed (it has been observed in ct64suse121):


In IPython the versions of Qt and PyQt:
In [1]: from PyQt4.QtCore import QT_VERSION_STR
In [2]: QT_VERSION_STR
Out[2]: '4.7.4'

In [3]: from PyQt4.Qt import PYQT_VERSION_STR
In [4]: PYQT_VERSION_STR
Out[4]: '4.8.5'

Now we will check the dependencies with Taurus:


In [10]: taurus.check_dependencies()
Checking required dependencies of taurus.core...
Checking for Python >=2.6.0... [OK] (Found 2.7.2)
Checking for PyTango >=7.1.0... [OK] (Found 8.1.4)
Checking required dependencies of taurus.qt...
Checking for PyQt >=4.4.0... [OK] (Found 4.7.4)
Checking for PyQwt >=5.2.0... [OK] (Found 5.2.1)

As it can be seen above, the version reported by taurus.check_dependencies() seems to be the version of QT and not the version of PYQT.

Discussion

  • Carlos Pascual

    Carlos Pascual - 2015-11-19

    patch sent to devel list

     
  • Zbigniew Reszela

    Patch applied to develop

     
  • Zbigniew Reszela

    • status: waiting --> resolved
    • assigned_to: Carlos Pascual
    • Milestone: unassigned --> Jan16