Hi Rebecca

The actual error in that log names the uninstallable package as python3-pyqt5 (which possibly can't be made optional because of #1119724), not any of these known-issue packages.

Reading through #1119724 that looks like one of the various iterations of python3-pytestqt's dependencies...

The current situation is that pytestqt needs:

- some sort of Qt library installed (that can be pyqt5, pyqt6 or
  pyside6)

- the relevant split-packages installed for Qt6; these aren't monolithic
  packages any more and that might help avoid pandas having dependencies
  that aren't widely available

- configuration on which of the Qt APIs to use. This can be done either
  via the PYTEST_QT_API environment variable (from d/rules, d/tests/*)
  or by setting the pytest config option qt_api in pytest.ini or
  pyproject.toml.

This last option is particularly important for packaging; many upstreams that use pytestqt set up their test harness to iterate over the APIs and so leave it to pytestqt's automatic API detection to work out which one is installed and use that. That works on CI using tox, but doesn't work so well in Debian packaging. I'm assuming pandas doesn't really need to worry about which Qt API is being used in the testing and so any of them should be fine; if you do need to test with multiple APIs then looping over the API has become standard in various other qtpy* and pyqt* packages.

The code that actually uses Qt (oi/clipboard/) still talks a lot about Qt4... that's disturbing. That it's going via qtpy probably means it just works for Qt6 too though.

(of course the other option is to suppress testing the clipboard functions?)

cheers
Stuart


--
Stuart Prescott   http://www.nanonanonano.net/ [email protected]
Debian Developer  http://www.debian.org/       [email protected]
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Reply via email to