Dear Maintainer,
taurus_pyqtgraph does not seem Qt6-ready. After forcing Qt5 API in pytest.ini
[1], this error appears:
==================================================================== test
session starts
====================================================================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
PyQt5 5.15.9 -- Qt runtime 5.15.8 -- Qt compiled 5.15.8
rootdir: /home/s3v/taurus-pyqtgraph-0.5.9, configfile: pytest.ini
plugins: xvfb-2.0.0, qt-4.2.0+repack
collected 42 items
tests/test_curveproperties.py ..
[ 4%]
tests/test_dateaxisitem.py FFFFFFFFFFFFFFFFF
[ 45%]
tests/test_plot.py .........
[ 66%]
tests/test_taurus_pyqtgraph.py ..
[ 71%]
tests/test_trend.py FFFFF
[ 83%]
tests/test_util.py ......
[ 97%]
tests/test_y2axis.py .
[100%]
...
...
...
================================================================== short test
summary info ==================================================================
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range0-expected0] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range1-expected1] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range2-expected2] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range3-expected3] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range4-expected4] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range5-expected5] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range6-expected6] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues[val_range7-expected7] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickValues_overflow - AttributeError:
'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings[values0-expected0] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings[values1-expected1] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings[values2-expected2] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings[values3-expected3] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings[values4-expected4] -
AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings_english[values0-expected0]
- AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings_english[values1-expected1]
- AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_dateaxisitem.py::test_tickStrings_english[values2-expected2]
- AttributeError: 'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_trend.py::test_trend_model_setting - AttributeError:
'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_trend.py::test_modelchooser_config - AttributeError:
'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_trend.py::test_curveproperties_configfile - AttributeError:
'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_trend.py::test_multiple_setModel - AttributeError:
'WidgetGroup' object has no attribute 'setMaximumWidth'
FAILED tests/test_trend.py::test_duplicate_curve_titles - AttributeError:
'WidgetGroup' object has no attribute 'setMaximumWidth'
=============================================================== 22 failed, 20
passed in 4.34s ===============================================================
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd
/home/s3v/taurus-pyqtgraph-0.5.9/.pybuild/cpython3_3.11_taurus-pyqtgraph/build;
python3.11 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11
returned exit code 13
make: *** [debian/rules:6: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
fixed in [2]
Kind Regards
[1] https://pytest-qt.readthedocs.io/en/latest/intro.html#requirements
[2] https://gitlab.com/taurus-org/taurus_pyqtgraph/-/commit/fb2e377f5d