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/ stu...@nanonanonano.net
Debian Developer  http://www.debian.org/       stu...@debian.org
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
diff --git a/debian/changelog b/debian/changelog
index 0558d7c..73776bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyzo (4.15.0-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Explicitly depend on pyside6 packages (Closes: #1089968).
+
+ -- Stuart Prescott <stu...@debian.org>  Tue, 07 Jan 2025 16:01:11 +1100
+
 pyzo (4.15.0-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 3ad088e..0ef9b4d 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,11 @@ Depends: ${misc:Depends},
          famfamfam-silk,
          fonts-dejavu,
          python3-qtpy,
+         python3-pyside6.qtcore,
+         python3-pyside6.qtgui,
+         python3-pyside6.qthelp,
+         python3-pyside6.qtprintsupport,
+         python3-pyside6.qtwidgets,
          python3-pkg-resources
 Suggests: pyzo-doc
 Description: interactive editor for scientific Python

Reply via email to