-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Release 2022.07.20 #2638
Merged
Merged
Release 2022.07.20 #2638
Conversation
This file contains 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
Merges master into develop after release 2022.03.13
* dddd Signed-off-by: kengoon <kengoon19@gmail.com> * fix for issue kivy#2552 and presplash_color
* macOS CI: ADD APK, AAB & Updated Recipes build * Add tools for our self-hosted m1 runner
* Adds NDK 23 and Gradle 7 support * Updates gradle and android gradle plugin version + avoid using a deprecated property * Cleanup + fix some broken recipes * Cleanup + icu now seems that is not needing stl_shared anymore * Updates docs and MIN_NDK_VERSION (MAX_NDK_VERSION could be 24, but needs to be tested)
…mpy build on macOS (kivy#2575)
* Correct recipe test assertion `Arch.find_executable` uses the context environment `PATH` rather than the process environment `PATH`, so change the assertion to test the correct value. At present these are the same in this test, but since f7f8cea `PATH` is updated in the `Context.env` attribute by `Context.prepare_build_environment` instead of `os.environ`. If `Recipe.get_recipe_env` or `Arch.get_env` were changed to call `prepare_build_environment`, this test would fail. * Set PATH using real SDK and NDK directories This is a regression from f7f8cea. Previously, `self.sdk_dir` and `self.ndk_dir` were passed to `select_and_check_toolchain_version`.
* Added py3dns recipe * Update py3dns recipe
…ll the supported Android archs (arm64-v8a, armeabi-v7a, x86_64, x86) (kivy#2592)
…ows a more granular check and install process for dependencies on both CI jobs and users installation. (kivy#2591) * Introduces pythonforandroid/prerequisites.py (Experimental). This allows a more granular check and install process for dependencies on both CI jobs and users installation. * Add check_and_install_default_prerequisites so ENV vars are set into the subprocess
The Android SDK tools are deprecated in favor of the command line tools. Trying to use avdmanager from the deprecated tools fails on OpenJDK 11 with since it can't find the `javax/xml/bind/annotation/XmlSchema` class. Try `cmdline-tools/latest/bin/avdmanager` first.
Prefer avdmanager from cmdline-tools
Current Flask throws an exception if a view function returns `None`: ``` python : TypeError: The view function for 'vibrate' did not return a valid response. The function either returned None or ended without a return statement. ``` Maybe that was different in the past, but instead a proper response can be returned. An empty 200 would be fine, but a 204 No Content response is used since it better represents what's happening.
When flask is run in threaded mode, it creates a new thread to handle each response. In that case, Java classes found with jnius will use the system class loader instead of the app class loader since the new thread has no stack frame back to the app. Normally you'd resolve the classes first, but the test app is explicitly trying to delay loading the classes until needed. That won't work from new native threads.
Fix webview testapp jnius usage
This will help ensure that services work from the webview bootstrap.
Add service to webview test app
…isite().pkg_config_location in hostpython3, so we can support ssl on hostpython3 just out of the box also on macOS (kivy#2599) * Introduces pkg_config_location in Prerequisite and use OpenSSLPrerequisite().pkg_config_location in hostpython3, so we can support ssl on hostpython3 just out of the box also on macOS
* Support multiarch in webview bootstrap This is essentially exactly the same as what the sdl2 bootstrap is doing. * Add webview app make targets and artifact builds This should help exercise the webview bootstrap in CI and allow testing a webview app using the built artifacts.
…/runner v2.292.0 which now supports arm64 natively (kivy#2602)
fix for ```python AttributeError: 'ArchARMv7_a' object has no attribute 'ndk_platform' ```
changed arch.ndk_platform to arch.ndk_lib_dir in `librt` recipe
fix for ```sh ld: error: unable to find library -lrt clang-12: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/usr/bin/ccache' failed with exit status 1 ``` the above error is using this path ```sh /home/<user>/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21/usr/lib ``` instead of ```sh /home/kengo/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21 ```
removed `usr` and `lib` from ndk library path in `librt` recipe
…orting gcc/gfortran
use LEGACY_NDK option to build lapack/scipy with a separate NDK
* add scipy/lapack CI tests * retrigger checks * adding scipy test * add kivy to scipy test
lapack/scipy: support NDK r21e, x86/64 archs
* fix Android 12 operation * fix service_only aar target * flake8 fix * add github actions for aar * fix aar test * fix aar test * fix aar test * fix aar test * group apk and aar logic together * support multi-arch aar build
… order to support build on Apple Silicon macs. (kivy#2586) * Added pythonforandroid.androidndk.AndroidNDK + some changes needed in order to support build on Apple Silicon macs. * Enhance tests on host_tag * Update pythonforandroid/androidndk.py Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com> Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
* add service_lib and aar to the docs * Update doc/source/quickstart.rst Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com> * Update doc/source/buildoptions.rst Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com> * add PATH_TO_SERVICE_PY * Update doc/source/services.rst Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com> Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
misl6
force-pushed
the
release-2022.07.20
branch
from
July 20, 2022 16:43
f8350f2
to
31bf165
Compare
AndreMiras
approved these changes
Jul 20, 2022
Ok. Everything looks good also during runtime. Keeping it unreleased until we also have a release on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
tox
: this performs some long-running tests that are skipped on github-actions.armeabi-v7a
andarm64-v8a
:armeabi-v7a + arm64-v8a + x86_64 + x86 (multi arch apk)
(cd testapps/on_device_unit_tests && PYTHONPATH=.:../../ python3 setup.py apk --ndk-dir=<your-ndk-dir> --sdk-dir=<your-sdk-dir> --arch=armeabi-v7a --arch=arm64-v8a --arch=x86_64 --arch=x86 --debug
)