-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Briefcase build in Github Actions with docker can't find PyQt6 package for Linux #945
Comments
The docker image is based on Ubuntu 18.04 which uses While the
|
As @rmartin16 has identified, this problem is largely in the hands of PyQt - they've released a binary package that can only work with very recent versions of Linux. That's in direct opposition to the goals of Briefcase, which aims to make applications that are usable by as many people as possible. Three possible approaches for resolving this issue that are in your control:
I'm going to close this ticket as "wontfix" on the basis that Briefcase is, in this case, working as expected; however, I've opened #947 for addressing the more general problem of making the adoption of more recent base images for Linux apps a configurable option. |
Thanks for the tips on alternative approaches! |
Describe the bug
When building in Github Actions (default briefcase settings with docker), on Linux it can't find the PyQt6 package, and tries to build it from source.
To Reproduce
Example workflow action:
https://github.com/gambhiro/pyqt6-build-example/blob/main/.github/workflows/briefcase_build_docker.yml
From the build log:
The
--no-docker
option is a workaround, after installing the required system dependencies.https://github.com/gambhiro/pyqt6-build-example/blob/main/.github/workflows/briefcase_build.yml
Expected behavior
It should recognize the correct platform arch and use the published wheel packages.
https://pypi.org/project/PyQt6/#files
The text was updated successfully, but these errors were encountered: