16 October 2024
id 746732677Was Python 3.13 support included in 6.8.0?
The PyPI metadata says "no" for both 6.8.0 and 6.8.0.1. As uploaded, pip will likely refuse to install the packages on 3.13
ThomasThe PyPI metadata says "no" for both 6.8.0 and 6.8.0.1. As uploaded, pip will likely refuse to install the packages on 3.13
That is the case, but a past release had that wrong so though it worth asking
Anton YablokovAttributeError: type object 'PySide6.QtGui.QAbstractTextDocumentLayout' has no attribute 'PaintContext'
Is it only me? 6.8.0.1
>>> import PySide6
>>> PySide6.__version__
'6.8.0.1'
>>> from PySide6.QtGui import QAbstractTextDocumentLayout
>>> QAbstractTextDocumentLayout.PaintContext
<class 'PySide6.QtGui.QAbstractTextDocumentLayout.PaintContext'>
>>>
Thomas>>> import PySide6
>>> PySide6.__version__
'6.8.0.1'
>>> from PySide6.QtGui import QAbstractTextDocumentLayout
>>> QAbstractTextDocumentLayout.PaintContext
<class 'PySide6.QtGui.QAbstractTextDocumentLayout.PaintContext'>
>>>
Thanks. Indeed, I can obtain the class this way. However, for some reason, I get the error. I'll try to compose an MWE.
Ссылка
click to show
click to show
I've experienced the same error with QtCore and QtWidgets. That's the demo: https://pastebin.com/KBEenYvr