-
Notifications
You must be signed in to change notification settings - Fork 283
Add support for building Android wheels #2349
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
Merged
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
3a3caec
Add Android to resource files
mhsmith 578c181
Add Android to miscellaneous places
mhsmith c720392
Add Android documentation
mhsmith e33235d
Merge remote-tracking branch 'origin/main' into android
mhsmith 8e03e87
Docs cleanups
mhsmith 4428868
Add Android platform module; implement top-level structure and target…
mhsmith f3084f0
Implement setup_env and build_wheel
mhsmith e715aa4
lru-dict build working
mhsmith 4234013
Alter prefix in sysconfigdata file; fix various issues with FLAGS var…
mhsmith f2048b7
Implement Android testing
mhsmith ec1a6c5
Merge remote-tracking branch 'origin/main' into android
mhsmith be664be
Add type annotations to _cross_venv
mhsmith d56114b
Revert Python 3.8 to pip 25.0.1
mhsmith 13003df
Merge remote-tracking branch 'origin/main' into android
mhsmith 71ba70d
Make test-sources required on Android
mhsmith e1ef58f
Add Android integration tests
mhsmith 40ac49a
Test cleanups
mhsmith 535bb74
Add test of all available Python versions
mhsmith 45e08c0
Merge remote-tracking branch 'origin/main' into android
mhsmith 00b7cc1
Update test-sources and test-command behavior to match iOS
mhsmith 83f6073
Documentation cleanups
mhsmith 2bfc2fd
Merge remote-tracking branch 'origin/main' into android
mhsmith 6e90e01
Replace Builder class with a set of global functions
mhsmith f1d86d0
Rename "env" to "build_env"
mhsmith bcc2207
Merge remote-tracking branch 'origin/main' into android
mhsmith 6ab5c3f
Remove Chaquopy repository from default pip command line
mhsmith 2bbab57
Move native_platform to platforms module
mhsmith b57b9e6
Fix parse_config_settings
mhsmith 95a631a
Add unit tests for parse_config_settings and arch_synonym
mhsmith 70ba326
Make `shell_prepared` arguments keyword-only, and add tests for the c…
mhsmith b191c0a
Replace `importlib.util.spec_from_file_location` with `runpy.run_path`
mhsmith 7c0a95a
Use python-build-standalone
mhsmith 5ebd015
Update Android Python
mhsmith 4e9b82b
Enable KVM in Linux CI
mhsmith e775aca
Move KVM code to test_android.py
mhsmith 4e94ceb
Use Java 17 on Azure
mhsmith 3dde388
Install emulator if necessary before running -accel-check
mhsmith 16d2a45
Free up additional disk space on Linux runners
mhsmith 5203f2a
Merge remote-tracking branch 'origin/main' into android
mhsmith f072818
Add sudo
mhsmith d6890a8
Skip emulator tests on CI platforms that don't support it
mhsmith 62817d8
Download Android Python from Maven Central
mhsmith 01e787f
Free up more disk space on Linux runners
mhsmith 34623ff
fix: minor fixups
henryiii 42daec5
Merge branch 'main' into android
henryiii be84165
Set sysconfig._BASE_PREFIX to support sysconfig.get_path("include")
mhsmith be2cf54
Get ANDROID_API_LEVEL from the build environment, not cibuildwheel's …
mhsmith 93eda75
Merge remote-tracking branch 'mhsmith/android' into android
mhsmith 405fd06
Correct relative path of test-sources
mhsmith db9796b
Pass a CMake toolchain file to the build
mhsmith 61407dd
Merge remote-tracking branch 'origin/main' into android
mhsmith c63753c
Add "repair" step which adds libc++ to the wheel when necessary
mhsmith 60eb070
Add missing needs_emulator decorator
mhsmith a16d47a
Provide useful error message if ANDROID_HOME is not set
mhsmith 933abfd
Merge remote-tracking branch 'origin/main' into android
mhsmith 0ba3281
Remove use of HOST environment variable
mhsmith a1aedd5
Update to Python 3.15.5
mhsmith 8a41764
Fix PyLint warnings, clarify comment
mhsmith 75b1e9e
Merge remote-tracking branch 'origin/main' into android
mhsmith bffdb04
Group common arguments into a dataclass
mhsmith 822dda7
Handle environment variables containing newlines
mhsmith bfb3e5e
Discourage the use of `pytest` test commands without `python -m`
mhsmith eda1637
Use single quotes in user-visible messages
mhsmith c2c71b6
Merge remote-tracking branch 'origin/main' into android
mhsmith cc6251c
Improve testing documentation
mhsmith e281bfb
Merge remote-tracking branch 'origin/main' into android
mhsmith 691556f
Pass wheel filename to `log.build_end`
mhsmith d83bb42
In GitHub Actions example, skip Android tests on macOS
mhsmith cee4b16
Correct relative paths in `patchelf --set-rpath`
mhsmith d1aae4b
Clarify `test-sources` docs
mhsmith 416ef03
Update to Python 3.13.5+20250722.214220
mhsmith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.