-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Release 2022.12.20 #2718
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
Release 2022.12.20 #2718
Conversation
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
Merge master in develop
Bump minimal and recommended Android NDK version to 25b
* Fixes libvpx build * Add --disable-neon-asm for armeabi-v7a
…2669) The `Application.ActivityLifecycleCallbacks` interface is used to register a class that can receive callbacks on Activity lifecycle changes. Add a `PythonJavaClass` implementing the interface and helper functions to register python callbacks with it. This can be used to perform actions in the python app when the activity changes lifecycle states.
Many of the tools run by p4a store intermediate files in the user's home directory. Passing the HOME environment variable to the build environment has 2 positive effects: 1. To completely encapsulate the build, HOME can be set to an alternate directory than the user's actual home directory. Many tools such as p4a have options to override these paths, but that must be done on a case by case basis and it would require that p4a pass through these options or environment variables. 2. In containerized environments the user may not be registered in the accounts database. If the user's home directory can't be found from the HOME environment variable or the accounts database, many tools will fail. An example of this is python2.7 when run by `ndk-build`.
When the adjust mode is unspecified, Android will not resize the webview when showing the on screen keyboard to keep the input element on screen. Explicitly instruct it to use `adjustResize` mode. Possibly this is because the webview bootstrap uses an `AbsoluteLayout` as the top level widget. See https://developer.android.com/guide/topics/manifest/activity-element#wsoft for details.
Resize webview when keyboard is shown
The "<0.7.0" bound was added in 9f6d6fc to fix #1994 : > The `TestGetSystemPythonExecutable.test_virtualenv` and `TestGetSystemPythonExecutable.test_venv` tests started failing all of a sudden. Error was: > > ``` > ModuleNotFoundError: No module named \'pytoml\'\n' > ``` > > This ca be reproduced in local via: > > ```shell > pytest tests/test_pythonpackage_basic.py::TestGetSystemPythonExecutable::test_virtualenv > ``` I think this no longer applies, `$ pytest tests/test_pythonpackage_basic.py::TestGetSystemPythonExecutable` runs successfully for me, using latest `pep517==0.13.0`.
When a recipe uses a `git+...` url, and has a `version` specified, only do a shallow git clone. This saves disk space and bandwidth. Tested with a custom qt5 recipe. Without this patch, the git clone on disk was 8.5 GB, now it is 5.0 GB. ``` class Qt5Recipe(BootstrapNDKRecipe): url = 'git+https://code.qt.io/qt/qt5.git' #version = '5.15.2' version = '9b43a43ee96198674060c6b9591e515e2d27c28f' ```
recipe.download_file: implement shallow git cloning
* Make CI compile aiohttp again. References: https://stackoverflow.com/a/64755338/20124004, https://stackoverflow.com/a/64755052/20124004, #2518 * version variable and github url * lost a newline * added missing line for pep * Changed URL
WRITE_EXTERNAL_STORAGE maxSdk
…he correct one. (#2700)
…is "cached". (#2705) * Gradle: Run the clean task before anything else to make sure nothing is cached. * Reference the PR for the future
…ng (SDL `2.26.0`) (#2692) * Testing: SDL with patches for the new TextInput / TextEditing * Bump to SDL 2.26.0
* Flake8 does not support inline comments for any of the keys. * Fix flake8 E741 ambiguous variable name
* add_resources * add_resource * Update build.py * stateless * multiple kinds * pep8 * --add_resource * Custom notification * Update Service.tmpl.java * Custom Notification * Custom Notification * service notification * customize notification * share code * share code * Update Service.tmpl.java
Depreciated since Python 3.3
secp256k1 Update "--host="
Delete pythonforandroid/recipes/cdecimal directory
…f SDLActivity.keyboardInputType is NULL (#2716)
AndreMiras
approved these changes
Dec 20, 2022
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
(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 --debug
)