PyQt/NumPy types conflict
I: pybuild base:237: xvfb-run -a --server-args="-screen 0 1024x768x24" python3.10 -m qwt.tests.init Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/tests/curvedemo1.py", line 88, in paintEvent self.drawContents(painter) File "/<<PKGBUILDDIR>>/qwt/tests/curvedemo1.py", line 102, in drawContents curve.draw(painter, self.xMap, self.yMap, r) File "/<<PKGBUILDDIR>>/qwt/plot_series.py", line 99, in draw self.drawSeries(painter, xMap, yMap, canvasRect, 0, -1) File "/<<PKGBUILDDIR>>/qwt/plot_curve.py", line 562, in drawSeries self.drawCurve( File "/<<PKGBUILDDIR>>/qwt/plot_curve.py", line 593, in drawCurve self.drawSticks(painter, xMap, yMap, canvasRect, from_, to) File "/<<PKGBUILDDIR>>/qwt/plot_curve.py", line 653, in drawSticks painter.drawLine(xi, y0, xi, yi) TypeError: arguments did not match any overloaded call: drawLine(self, QLineF): argument 1 has unexpected type 'float' drawLine(self, QLine): argument 1 has unexpected type 'float' drawLine(self, int, int, int, int): argument 1 has unexpected type 'float' drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float' drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/tests/curvedemo2.py", line 85, in paintEvent self.drawContents(painter) File "/<<PKGBUILDDIR>>/qwt/tests/curvedemo2.py", line 92, in drawContents curve.draw(painter, xMap, yMap, r) File "/<<PKGBUILDDIR>>/qwt/plot_series.py", line 99, in draw self.drawSeries(painter, xMap, yMap, canvasRect, 0, -1) File "/<<PKGBUILDDIR>>/qwt/plot_curve.py", line 568, in drawSeries self.drawSymbols( File "/<<PKGBUILDDIR>>/qwt/plot_curve.py", line 837, in drawSymbols symbol.drawSymbols(painter, points) File "/<<PKGBUILDDIR>>/qwt/symbol.py", line 1047, in drawSymbols self.renderSymbols(painter, points, numPoints) File "/<<PKGBUILDDIR>>/qwt/symbol.py", line 1130, in renderSymbols qwtDrawXCrossSymbols(painter, points, numPoints, self) File "/<<PKGBUILDDIR>>/qwt/symbol.py", line 248, in qwtDrawXCrossSymbols painter.drawLine(x1, y1, x2, y2) TypeError: arguments did not match any overloaded call: drawLine(self, QLineF): argument 1 has unexpected type 'float' drawLine(self, QLine): argument 1 has unexpected type 'float' drawLine(self, int, int, int, int): argument 1 has unexpected type 'float' drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float' drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted Traceback (most recent call last): File "/<<PKGBUILDDIR>>/qwt/null_paintdevice.py", line 249, in metric value = self.sizeMetrics().width() File "/<<PKGBUILDDIR>>/qwt/graphic.py", line 386, in sizeMetrics return QSize(np.ceil(sz.width()), np.ceil(sz.height())) TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(int, int): argument 1 has unexpected type 'numpy.float64' QSize(QSize): argument 1 has unexpected type 'numpy.float64' Aborted