-
Notifications
You must be signed in to change notification settings - Fork 39
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
Bundle pyqt with securedrop-client #633
Comments
Because we will have to match the Qt version too with the PyQt version. And building all of Qt for our own usecase in Debian is too much work for maintenance. Also, building Qt/PyQt properly is still hard. |
So I think we just need to add a test that will fail when it runs on Qubes to check that the system qt package matches what we have in dev. |
A vignette vivifying the viperous vagaries of version variance can be viewed via #825 (comment). |
Just an update since it's been a while: I still think this is a good test to have in order to ensure our dev-requirement.txt version matches the system package (right now its 5.11.3 on buster) |
I renamed this issue to "Bundle pyqt with securedrop-client" because the system version is old and full of bugs.
Since this issue was opened, we changed our version of PyQt in development to match the version used in prod, but we've learned that we can only get close to the same version of the python-pyqt5 and python-sip rather than exact version (even when we use I want to discuss the issue of bundling PyQt with |
Closing for now due to build issues with pyqt; we've agreed to investigate pyside2 (#1194), which seems a more promising, supported path to bundling Qt bindings with the app. |
Description
I am curious why we use the system pyqt instead of adding it to our production build requirements. Anyone with the history on this decision?
Background
This bug was not discovered during development of the client because we have a different version of PyQt specified in our
dev-requirements.txt
file. We would have caught this bug if we were matching PyQt versions between development and prod (I tested by runningpip install pyqt5==5.11.3
in dev to see the crash).Should we update
dev-requirements.txt
to use the same version of pyqt5 that we use on prod? Also, we may want to add a script or a checkbox in our Test Plan that gets added to PRs to remind us to double-check this.The text was updated successfully, but these errors were encountered: