Bug#1089968: pyzo: python3-qtpy dropping dependency on PyQt5; Dependencies need updating
Stuart Prescott
stuart at debian.org
Tue Jan 7 05:22:33 GMT 2025
Control: tags -1 + patch
pyzo can work with numerous different Python Qt layers - since we now
have PySide6 in the archive, here's a simple patch that has pyzo depend
on the relevant packages.
However, with only this patch, pyzo might still run with PyQt5 if it is
installed because that's the search order that the code uses. The
automated selection won't verify that all the necessary parts of PyQt5
are present which could cause later problems. The Python Qt layer in use
can be verified in Help → About.
To ensure that PySide6 is used and that the dependencies are indeed met
at runtime, one needs to run
QT_API=pyside6 pyzo
Rather than a symlink to /usr/share/pyzo/run, perhaps /usr/bin/pyzo
needs to become a simple shell script:
#!/bin/sh
export QT_API=pyside6
exec /usr/share/pyzo/run
I can include that in the packaging and update d/pyzo.install,
d/pyzo.links to install that and then do a team upload.
Thoughts?
--
Stuart Prescott http://www.nanonanonano.net/ stuart at nanonanonano.net
Debian Developer http://www.debian.org/ stuart at debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1089968.patch
Type: text/x-patch
Size: 932 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20250107/295baa83/attachment.bin>
More information about the debian-science-maintainers
mailing list