-
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 2021.09.05 #2488
Merged
Merged
Release 2021.09.05 #2488
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
Fixes running `tox` outputs warnings: - replaces the `imp` module by the `importlib` one - simplifies downloader dropping `FancyURLopener` The warnings were: ``` pythonforandroid/util.py:17 /home/andre/workspace/python-for-android/pythonforandroid/util.py:17: DeprecationWarning: WgetDownloader style of invoking requests is deprecated. Use newer urlopen functions/methods urlretrieve = WgetDownloader().retrieve pythonforandroid/toolchain.py:84 /home/andre/workspace/python-for-android/pythonforandroid/toolchain.py:84: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp ```
…tivity Fixed KeyError not found, fixes#2228
🚨 Depreciation warning fixes
- bumps CI build to OpenJDK 13 - bumps Android SDK Build-Tools to 29.0.3 - unpins Cython as it currently works with latest versions - cleans troubleshooting documentation
The error was: ``` Listing '/home/user/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/webview_includes'... [INFO]: Detected highest available build tools version to be 28.0.2 [DEBUG]: -> running gradlew assembleDebug [DEBUG]: Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details [DEBUG]: [DEBUG]: > Task :compileDebugJavaWithJavac FAILED [DEBUG]: /home/user/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:245: error: cannot find symbol [DEBUG]: public boolean onKeyDown(int keyCode, KeyEvent event) { [DEBUG]: ^ [DEBUG]: symbol: class KeyEvent [DEBUG]: location: class PythonActivity [DEBUG]: /home/user/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist [DEBUG]: AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity); [DEBUG]: ^ [DEBUG]: /home/user/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist [DEBUG]: AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity); [DEBUG]: ^ [DEBUG]: /home/user/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:137: error: package DialogInterface does not exist [DEBUG]: new DialogInterface.OnClickListener() { [DEBUG]: ^ [DEBUG]: /home/user/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:247: error: cannot find symbol [DEBUG]: if ((keyCode == KeyEvent.KEYCODE_BACK) && mWebView.canGoBack()) { [DEBUG]: ^ [DEBUG]: symbol: variable KeyEvent [DEBUG]: location: class PythonActivity [DEBUG]: Note: Some input files use or override a deprecated API. [DEBUG]: Note: Recompile with -Xlint:deprecation for details. [DEBUG]: 5 errors [DEBUG]: [DEBUG]: [DEBUG]: FAILURE: Build failed with an exception. [DEBUG]: [DEBUG]: * What went wrong: [DEBUG]: Execution failed for task ':compileDebugJavaWithJavac'. [DEBUG]: > Compilation failed; see the compiler error output for details. [DEBUG]: [DEBUG]: * Try: [DEBUG]: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. [DEBUG]: [DEBUG]: * Get more help at https://help.gradle.org [DEBUG]: [DEBUG]: BUILD FAILED in 29s [DEBUG]: 15 actionable tasks: 3 executed, 12 up-to-date ```
⬆️ Bumps to OpenJDK 13
…ymbol_errors 🐛 Fixes service_only and webview symbol errors, closes kivy#2228
* 🍱 Add CHANGELOG.md This changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator) * 🎨 Add/remove backslashes To: - make sure that emoji are correctly detected - prevent emoji detection when a non-emoji text is encapsulated between **:** - render as expected words that are between **\`**
Got rid of deprecated compile method
This is a follow up for previous migration that was missing the Travis update, refs kivy#2231
💚 Fixes Travis build post OpenJDK bump
Added missing semicolon on service-only bootstrap
* bump libpq version * Fix libpq env for cross compile Co-authored-by: Rene Leveille <[email protected]>
…m PythonActivity java class
added --activity-class-name and --activity-package parameters
Because it will allow us to grant support for [WebP](https://developers.google.com/speed/webp) images to Pillow recipe.
We add `optional` support for [WebP](https://developers.google.com/speed/webp) images, but to enable it, you must add `libwebp` to your build requirements. We also: - 🎨 sort imports - 📝 add docstrings to Pillow recipe - 🎨 move to python3's f-strings...to increase readability - 💡 add inline comments
Add recipe for kivy3
* add recipe for libpcre * fix flake8 errors
update sqlite3
Add libvpx recipe, reference it in ffpyplayer_codecs and ffmpeg
Reintroduce documentation of android module
webview: put webview_includes in assets dir
update (host)python3 to 3.8.9
Websocket-client updated to 1.0.1 from 0.40.0
* Move PythonActivityUtil.unpackData to PythonUtil.unpackData * Move toastError and some fixes * declare activity final in toastError * Remove PythonActivityUtil
* Avoids 'Permission Denied' error during docker build * Avoids build error for opencv and bumps version to 4.5.1 * Update opencv-extras to 4.5.1
see https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive This adds a `--icon-fg` and a `--icon-bg` build option to the sdl2 bootstrap, that can be used to specify two PNG files to be used as the foreground and background of an adaptive icon. These will get used if API 26+ is available at runtime. The existing `--icon` option to specify an icon as a single PNG file is kept, as - this provides backwards compatibility, - and even if the new options are used, it might be a good idea to set all three options: when running on API <26, the PNG specified via `--icon` gets used.
* fixed redirection for download liblzma * use wget
Fixes: ``` ImportError: dlopen failed: cannot locate symbol "log" referenced by "_imaging.so"... ```
Updated version of pygame from 2.0.0-dev7 to 2.0.1
Add *.diff to manifest and package_data
Fix bad library found by ctypes for 64-bit arch (kivy#2468)
* Drop travis-ci.org and use github-actions for pypi release * Bump gh-action-pypi-publish to v1.4.2
|
AndreMiras
approved these changes
Sep 5, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, even though I don't have time to test on device lately.
Thanks!
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
(cd testapps/on_device_unit_tests && PYTHONPATH=.:../../ python3 setup.py apk --ndk-dir=<your-ndk-dir> --sdk-dir=<your-sdk-dir> --arch=armeabi-v7a --debug
)arm64-v8a
(cd testapps/on_device_unit_tests && PYTHONPATH=.:../../ python3 setup.py apk --ndk-dir=<your-ndk-dir> --sdk-dir=<your-sdk-dir> --arch=arm64-v8a --debug
)