[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963709: pyside2: FTBFS with Qt 5.14: 'PySide2.QtCore.QDate' called with wrong argument types: PySide2.QtCore.QDate(date)



On Thu, Jun 25, 2020 at 09:16:24PM +0300, Dmitry Shachnev wrote:
> Today's pyside2 binNMU failed to build on all architectures, because of
> the following failing test:
>
> RUN 1: ======================================================================
> RUN 1: ERROR: testQDate (__main__.TestDateTimeConversions)
> RUN 1: ----------------------------------------------------------------------
> RUN 1: Traceback (most recent call last):
> RUN 1:   File "/<<PKGBUILDDIR>>/sources/pyside2/tests/QtCore/python_conversion.py", line 41, in testQDate
> RUN 1:     other = QDate(date)
> RUN 1: TypeError: 'PySide2.QtCore.QDate' called with wrong argument types:
> RUN 1:   PySide2.QtCore.QDate(date)
> RUN 1: Supported signatures:
> RUN 1:   PySide2.QtCore.QDate()
> RUN 1:   PySide2.QtCore.QDate(int, int, int)
> RUN 1: 
> RUN 1: ----------------------------------------------------------------------
>
> It looks like Python date → QDate conversion should be handled by the
> conversion-qdate-pydate snippet, but for some reason this does not work.
>
> P.S. I noticed that the sid branch in git repo (which contains the current
> version in unstable) is not merged into master. Please fix that.

The version from experimental (5.15.0-1~exp1) seems to build fine, maybe it
can be uploaded to unstable?

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: