PlotPyStack / guidata

Python library generating graphical user interfaces for easy dataset editing and display
https://pypi.python.org/pypi/guidata
BSD 3-Clause "New" or "Revised" License
61 stars 18 forks source link

QVariant import erroneously used in typing annotations #65

Closed cercata closed 1 year ago

cercata commented 1 year ago

I was using guidata with PySide6 with no problems, with the following versions: PySide==6.4.2 guidata==2.3.0

After updating both to the lastet packages (PySide=6.5.2, guidata==3.0.4), I get an error importing QVariant.

As noted in the QT6 for python doc, QVariant was removed: https://doc.qt.io/qtforpython-6/considerations.html

In the guidata site, I see only PyQt5 is supported.

Is PySide6 planned to be supported on the future ?

PierreRaybaut commented 1 year ago

Thanks for the feedback. The only QVariant import in the code was introduced when adding typing annotations, but it's clearly a mistake: thanks for pointing that out.

In other words, PySide6 is already supported.