all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Vinicius Monego <monego@posteo.net>
Cc: 47906@debbugs.gnu.org
Subject: [bug#47906] [PATCH 00/22] Add Spyder
Date: Wed, 26 May 2021 23:46:02 +0200	[thread overview]
Message-ID: <87cztddv8l.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20210420051907.470294-1-monego@posteo.net> (Vinicius Monego's message of "Tue, 20 Apr 2021 05:19:07 +0000")

Hello,

Vinicius Monego <monego@posteo.net> writes:

> This series adds the Spyder IDE with all testing dependencies. 

I tried to build Spyder but python-qtawesome fails to build with the
following error message. Do you know where it could come from?

--8<---------------cut here---------------start------------->8---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
PySide2 5.14.2.3 -- Qt runtime 5.15.2 -- Qt compiled 5.15.2
rootdir: /tmp/guix-build-python-qtawesome-1.0.2.drv-0/QtAwesome-1.0.2
plugins: qt-3.3.0
collected 5 items

qtawesome/tests/test_icon_browser.py .FF                                 [ 60%]
qtawesome/tests/test_qtawesome.py ..                                     [100%]

=================================== FAILURES ===================================
__________________________________ test_copy ___________________________________

qtbot = <pytestqt.qtbot.QtBot object at 0x7fffef9dc1c0>
browser = <qtawesome.icon_browser.IconBrowser object at 0x7fffeffb4790>

    def test_copy(qtbot, browser):
        """
        Ensure the copy UX works
        """
        clipboard = QtWidgets.QApplication.instance().clipboard()
    
        clipboard.setText('')
    
        assert clipboard.text() == ""
    
        # Enter a search term and press enter
>       qtbot.keyClicks(browser._lineEdit, 'google')

qtawesome/tests/test_icon_browser.py:45: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<PyQt5.QtWidgets.QLineEdit object at 0x7fffeffb4ca0>, 'google')
kwargs = {}

    def result(*args, **kwargs):
>       return qtest_method(*args, **kwargs)
E       TypeError: 'PySide2.QtTest.QTest.keyClicks' called with wrong argument types:
E         PySide2.QtTest.QTest.keyClicks(QLineEdit, str)
E       Supported signatures:
E         PySide2.QtTest.QTest.keyClicks(PySide2.QtWidgets.QWidget, str, PySide2.QtCore.Qt.KeyboardModifiers = PySide2.QtCore.Qt.KeyboardModifier.NoModifier, int = -1)

/gnu/store/ni4pqis58imdjnlj9r29ig2ki0ry29ir-python-pytest-qt-3.3.0/lib/python3.8/site-packages/pytestqt/qtbot.py:626: TypeError
_________________________________ test_filter __________________________________

qtbot = <pytestqt.qtbot.QtBot object at 0x7fffef9e1850>
browser = <qtawesome.icon_browser.IconBrowser object at 0x7fffeffb44c0>

    def test_filter(qtbot, browser):
        """
        Ensure the filter UX works
        """
        initRowCount = browser._listView.model().rowCount()
        assert initRowCount > 0
    
        # Enter a search term
>       qtbot.keyClicks(browser._lineEdit, 'google')

qtawesome/tests/test_icon_browser.py:68: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<PyQt5.QtWidgets.QLineEdit object at 0x7fffef987790>, 'google')
kwargs = {}

    def result(*args, **kwargs):
>       return qtest_method(*args, **kwargs)
E       TypeError: 'PySide2.QtTest.QTest.keyClicks' called with wrong argument types:
E         PySide2.QtTest.QTest.keyClicks(QLineEdit, str)
E       Supported signatures:
E         PySide2.QtTest.QTest.keyClicks(PySide2.QtWidgets.QWidget, str, PySide2.QtCore.Qt.KeyboardModifiers = PySide2.QtCore.Qt.KeyboardModifier.NoModifier, int = -1)

/gnu/store/ni4pqis58imdjnlj9r29ig2ki0ry29ir-python-pytest-qt-3.3.0/lib/python3.8/site-packages/pytestqt/qtbot.py:626: TypeError
=============================== warnings summary ===============================
qtawesome/tests/test_icon_browser.py::test_browser_init
qtawesome/tests/test_icon_browser.py::test_browser_init
qtawesome/tests/test_icon_browser.py::test_copy
qtawesome/tests/test_icon_browser.py::test_copy
qtawesome/tests/test_icon_browser.py::test_filter
qtawesome/tests/test_icon_browser.py::test_filter
  /tmp/guix-build-python-qtawesome-1.0.2.drv-0/QtAwesome-1.0.2/qtawesome/icon_browser.py:170: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
    self.setGridSize(QtCore.QSize(tileWidth, tileWidth))

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=================== 2 failed, 3 passed, 6 warnings in 0.38s ====================
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "pytest" failed with status 1
--8<---------------cut here---------------end--------------->8---

Note that most of the packages in this patch set have been applied already.

Regards,
-- 
Nicolas Goaziou




  parent reply	other threads:[~2021-05-26 21:53 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20  5:19 [bug#47906] [PATCH 00/22] Add Spyder Vinicius Monego
2021-04-20  5:22 ` [bug#47906] [PATCH 01/22] gnu: Add python-spyder-kernels Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 02/22] gnu: Add python-textdistance Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 03/22] gnu: Add python-three-merge Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 04/22] gnu: Add python-pyls-black Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 05/22] gnu: Add python-pyls-spyder Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 06/22] gnu: python-watchdog: Update to 1.0.2 Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3 Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 09/22] gnu: Add python-tinycss Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 10/22] gnu: Add python-qstylizer Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 12/22] gnu: Add python-pytest-qt Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 13/22] gnu: Add python-qtawesome Vinicius Monego
2021-04-28 12:49     ` Lars-Dominik Braun
2021-04-29 16:07       ` Vinicius Monego
2021-05-02 14:32         ` Lars-Dominik Braun
2021-05-08  9:30           ` Lars-Dominik Braun
2021-04-20  5:22   ` [bug#47906] [PATCH 14/22] gnu: Add python-qtsass Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 15/22] gnu: python-qdarkstyle: Update to 3.0.2 Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 16/22] gnu: Add python-easyprocess Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 17/22] gnu: Add python-entrypoint2 Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 18/22] gnu: Add python-pyvirtualdisplay Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 19/22] gnu: Add python-pytest-xvfb Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 20/22] gnu: python-diff-match-patch: Update to 20200713 Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 21/22] gnu: python-language-server: Relax dependency versions Vinicius Monego
2021-04-20  5:22   ` [bug#47906] [PATCH 22/22] gnu: Add spyder Vinicius Monego
2021-05-26 21:46 ` Nicolas Goaziou [this message]
2023-04-20  0:29 ` [bug#47906] [PATCH 00/22] Add Spyder Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cztddv8l.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=47906@debbugs.gnu.org \
    --cc=monego@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.