mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00

Debian has removed the python-all package from its Bookworm repos, which breaks our CI tests. Looking into why python-all is required in the first place, we found that it's an artificial stdeb requirement [1], prior to 0.9.1 versions The only platform affected by this issue is Ubuntu Focal, so our solution is to install python-all specifically for that platform. Finally, we further simplify our build tasks [2] (on Debian-like distros) by not letting dh-python run tests when building the packages. Running the tests has some issues after all: 1. It requires installing all the runtime dependencies of Dangerzone, since it uses `python -m unittest discover` underneath. 2. It doesn't aid in the stability of the package, since unittest cannot run test cases for PyTest. [1]: https://github.com/astraw/stdeb/issues/153 [2]: https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1349967888
10 lines
554 B
INI
10 lines
554 B
INI
[DEFAULT]
|
|
Package3: dangerzone
|
|
Depends3: podman, python3, python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtwidgets, python3-appdirs, python3-click, python3-xdg, python3-colorama
|
|
Build-Depends: dh-python, python3, python3-setuptools, python3-stdeb
|
|
Suite: bionic
|
|
X-Python3-Version: >= 3.6
|
|
# Do not trigger testing when we build the package. Assume that the user
|
|
# has tested the package already. For more info, see:
|
|
# https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1349967888
|
|
Setup-Env-Vars: DEB_BUILD_OPTIONS=nocheck
|