-
Notifications
You must be signed in to change notification settings - Fork 179
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
Replace stdeb with a different way to produce Debian packages #773
Comments
Extend our CircleCI jobs to run CI tests in Ubuntu Noble. This commit also adds support for building the Dangerzone .deb package in Ubuntu Noble, but does not actually enable it. The reason is that stdeb, which produces our Debian packages, does not work with Python 3.12, which ships with Ubuntu Noble Refs #773
Extend our CircleCI jobs to run CI tests in Ubuntu Noble. This commit also adds support for building the Dangerzone .deb package in Ubuntu Noble, but does not actually enable it. The reason is that stdeb, which produces our Debian packages, does not work with Python 3.12, which ships with Ubuntu Noble Refs #773
Extend our CircleCI jobs to run CI tests in Ubuntu Noble. This commit also adds support for building the Dangerzone .deb package in Ubuntu Noble, but does not actually enable it. The reason is that stdeb, which produces our Debian packages, does not work with Python 3.12, which ships with Ubuntu Noble Refs #773
Bump our poetry.lock file, to get the latest versions of our dependencies. Note that we are aware that this bump does not bring in the latest PySide6 version. Refs #773
Bump our poetry.lock file, to get the latest versions of our dependencies. Note that we are aware that this bump does not bring in the latest PySide6 version. Refs #773
Bump our poetry.lock file, to get the latest versions of our dependencies. Note that we are aware that this bump does not bring in the latest PySide6 version. Refs #773
Bump our poetry.lock file, to get the latest versions of our dependencies. Note that we are aware that this bump does not bring in the latest PySide6 version. Refs #773
Bump our poetry.lock file, to get the latest versions of our dependencies. Note that we are aware that this bump does not bring in the latest PySide6 version. Refs #773
Debian Trixie has started failing as well with the same error: https://app.circleci.com/pipelines/github/freedomofpress/dangerzone/2781/workflows/3660952c-d4ca-4b5b-a2a6-e2b41d417d95/jobs/39053?invite=true#step-106-1987_107 |
Disable building packages in Debian Trixie, since it's Python version has changed to 3.12, which is not compatible with `stdeb`. Refs #773
This reverts commit 162ded6. stdeb is back in unstable and trixie now (following <https://tracker.debian.org/news/1553236/accepted-stdeb-0100-21-source-into-unstable/>). Refs #773.
I would suggest doing kinda what I outlined in #323 (comment), run
SecureDrop doesn't really use pybuild in any important way, we build our own virtualenv and ship that. But using pybuild is probably the right thing for Dangerzone. |
Dangerzone has been using stdeb since the very beginning (early 2020). At that time, stdeb was still maintained, but this is not the case anymore. It hasn't seen a new release since October 2020 (see the PyPI releases page). Also, it seems to not work with Python 3.12, since it throws this error:
The reason for the above error is that Python 3.12 has removed the long deprecated
SafeConfigParser
class: python/cpython#89336.Now that we have a good reason to switch .deb builders, we should strongly consider
pybuild
, which is also used by SecureDrop.The text was updated successfully, but these errors were encountered: