Skip to content
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

Updates to support iOS dynamic binary modules #33

Merged
merged 14 commits into from
Sep 7, 2023
Merged

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Sep 5, 2023

Supporting binary modules on iOS requires some additional checks, and some configuration tweaks for the support test suite. These tests are currently passing with the existing support package; they must continue to do so with the new dylib-based support package. There should be no other changes required at a project level to make iOS support work.

The patch includes some tweaks for Linux packaging, because the move to Python-standalone was causing tests to fail, and we had no test of Linux system packaging.

As part of those changes, this PR disables AppImage tests as part of CI. This is, frankly, because I have officially run out of patience with AppImage.

Historically, we needed to test AppImage builds to verify that the BeeWare-provided Linux support package worked as advertised. However, with the move to Python-standalone, that's no longer a requirement; we can assume that Python-standalone has done release testing.

On top of that, AppImage builds for this project take over an hour (assuming you can get the configuration working, which... isn't easy), because they involve compiling Numpy and Pandas from source (because AppImage precompiled wheel handling is messed up).

Flatpak also uses Python-standalone, but can use wheels, so it's a much faster test, and are just as effective at confirming that the support package exposes the necessary binary modules.

When combined with the fact that AppImage has all sorts of issues with packaging WebKit, can't run simple GTK binaries without raising all sorts of weird warnings, and System packaging is now the default for Briefcase, the extent to which I am willing to put up with AppImage's 💩 has reached a new nadir.

Refs beeware/Python-Apple-support#176

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 force-pushed the ios-dylib-binaries branch 4 times, most recently from 55bcb70 to f5e2630 Compare September 5, 2023 12:31
@freakboy3742 freakboy3742 marked this pull request as ready for review September 6, 2023 00:10
src/testbed/darwin.py Outdated Show resolved Hide resolved
tests/test_thirdparty.py Outdated Show resolved Hide resolved
tests/test_thirdparty.py Outdated Show resolved Hide resolved
@mhsmith mhsmith merged commit d3f3083 into main Sep 7, 2023
28 checks passed
@freakboy3742 freakboy3742 deleted the ios-dylib-binaries branch September 7, 2023 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants