-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Python dependencies #482
Comments
Running the Dangerzone GUI with the new dependencies returns the following error:
With
It seems that the Turns out that in our development machines and CI runners, we have This requirement by PySide6 and the omission of this package from Qt5 possibly means that from now on, PySide6 is no longer compatible with Qt5, unless the Qt devs consider this bug report as a regression. |
Our solution to this issue is to migrate our CI runners and development environments to Qt6. This means that we will replace:
This brings us even more closer to full Qt6 / PySide6 support in all platforms (see #211). Note that there are some caveats:
|
Upgrade from Qt5 to Qt6 in our CI runners and dev environments, since the latest PySide6 versions do not support Qt5. This leaves only our Debian / Fedora packages relying on Qt5, since there's no PySide6 package for them yet. There are two caveats to the Qt6 upgrade: 1. Debian Bullseye has a missing dependency to `libgl1`, so we need to install it separately. 2. Ubuntu Focal does not have Qt6, but surprisingly PySide6 works with Qt5. As a side effect, we have to make our `env.py` a bit more complicated, to cater to these exceptions. Refs #482
Upgrade from Qt5 to Qt6 in our CI runners and dev environments, since the latest PySide6 versions do not support Qt5. This leaves only our Debian / Fedora packages relying on Qt5, since there's no PySide6 package for them yet. There are two caveats to the Qt6 upgrade: 1. Debian Bullseye has a missing dependency to `libgl1`, so we need to install it separately. 2. Ubuntu Focal does not have Qt6, but surprisingly PySide6 works with Qt5. As a side effect, we have to make our `env.py` a bit more complicated, to cater to these exceptions. Refs #482
Note that in Debian-based systems, $ apt-cache rdepends libxcb-cursor0
libxcb-cursor0
Reverse Depends:
libxcb-cursor-dev
yambar
rofi
polybar
awesome
kwin-common
kde-spectacle
i3-wm This means that we need to install it explicitly in our development environments. |
On Ubuntu Jammy,
We can install it directly via the $ apt-cache rdepends libxkbcommon-x11-0
libxkbcommon-x11-0
Reverse Depends:
libxkbcommon-x11-dev
qt6-qpa-plugins
libqt5gui5
kitty
libmutter-10-0
nsight-systems
nsight-compute
rofi
qt6-qpa-plugins
mir-platform-graphics-x19
lxqt-panel
libxkbcommon-tools
libukwm-1-0
libqt5gui5-gles
libqt5gui5
libevas1-engines-wayland
kitty
imv
i3lock
i3-wm
fcitx5-module-xorg
awesome
libmutter-10-0 It's probably best to install it via |
Upgrade from Qt5 to Qt6 in our CI runners and dev environments, since the latest PySide6 versions do not support Qt5. This leaves only our Debian / Fedora packages relying on Qt5, since there's no PySide6 package for them yet. There are some caveats to the Qt6 upgrade: 1. Debian Bullseye has a missing dependency to `libgl1`, so we need to install it separately. 2. Ubuntu Jammy has a missing dependency to `libxkbcommon-x11-0`, which we have to install separately. 3. Ubuntu Focal does not have Qt6, but surprisingly PySide6 works with Qt5. 4. All Debian-based distros require `libxcb-cursor0`. As a side effect, we have to make our `env.py` a bit more complicated, to cater to these exceptions. Refs #482
Prior to releasing 0.4.2, we need to bump our Python dependencies with
poetry lock
.The text was updated successfully, but these errors were encountered: