Repository navigation
Conversation
| {% else %} | ||
| // For this Python version, only 64-bit ABIs are available. | ||
| // Briefcase's xbuild environments support the 64-bit ABIs. | ||
| abiFilters "arm64-v8a", "x86_64" |
There was a problem hiding this comment.
Nobody wants 32-bit Android to disappear as much as me, but based on the discussion in chaquo/chaquopy#1476, I'd prefer not to remove it just yet.
There was a problem hiding this comment.
Restored in 632d0f4 for Python 3.11, which is the last version Chaquopy publishes for 32-bit ARM. Newer versions get only the 64-bit ABIs. x86 is still removed.
| afterEvaluate { | ||
| tasks.withType(com.chaquo.python.TaskBuilder.ReqsTask).configureEach { | ||
| enabled = false | ||
| outputDir.set(layout.projectDirectory.dir("app_packages")) |
There was a problem hiding this comment.
Rather than depending on Chaquopy's undocumented internals, I'd be open to adding a public API for this. But first we need to deal with the Windows compatibility issue in beeware/briefcase#3099, because that might make this whole approach impossible.
There was a problem hiding this comment.
The Windows problem is fixed in beeware/xbuild#119, which is now merged, so this approach works on Windows. I'd be happy to move to a public API if you add one.
Package Briefcase-installed dependency directories with Chaquopy, skipping its pip installer for every build variant. Use the 64-bit ABIs, plus 32-bit ARM on Python 3.11, and bump template compatibility to 0.4.7.
Companion to Briefcase PR #3099. The paired change depends on xbuild PR #119 and xbuild PR #120.
Validation: three template rendering cases, pre-commit checks, and Python 3.11/3.12 APK builds passed.
PR Checklist:
Assisted-by: OpenAI Codex (GPT-6), Claude Code (Claude Opus 5.5)