From 17aa3e29c3c4d22bf7c4a9b43efe101e94eb2ed4 Mon Sep 17 00:00:00 2001 From: zzj <29055749+zjzh@users.noreply.github.com> Date: Fri, 21 Jan 2022 17:39:13 +0800 Subject: [PATCH 1/2] Update recipe.py (#2544) refactoring code with For Else which is more pythonic, concise and efficient --- pythonforandroid/recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py index 87a9ae9ac4..8c6ca283ac 100644 --- a/pythonforandroid/recipe.py +++ b/pythonforandroid/recipe.py @@ -728,7 +728,7 @@ def get_recipe(cls, name, ctx): if recipe_file is not None: break - if not recipe_file: + else: raise ValueError('Recipe does not exist: {}'.format(name)) mod = import_recipe('pythonforandroid.recipes.{}'.format(name), recipe_file) From a6b871522da850e9714e91a835a5092b087012e1 Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Sun, 13 Mar 2022 11:27:12 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md & change version for release 2022.03.13 --- CHANGELOG.md | 61 ++++++++++++++++++++++++++++++++++++ pythonforandroid/__init__.py | 2 +- 2 files changed, 62 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f43fef6b4..4f90b67e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,66 @@ # Changelog +## [v2022.03.13](https://github.com/kivy/python-for-android/tree/v2022.03.13) (2022-03-13) + +[Full Changelog](https://github.com/kivy/python-for-android/compare/v2021.09.05...v2022.03.13) + +**Closed issues:** + +- ModuleNotFoundError: No module named 'msvcrt' [\#2536](https://github.com/kivy/python-for-android/issues/2536) +- Pyarrow module do not working [\#2531](https://github.com/kivy/python-for-android/issues/2531) +- Error when building Android Application with Google modules [\#2530](https://github.com/kivy/python-for-android/issues/2530) +- arm64-v8a \(apk and aab lib\) crashes [\#2524](https://github.com/kivy/python-for-android/issues/2524) +- Python for android [\#2521](https://github.com/kivy/python-for-android/issues/2521) +- ValueError: name is too long [\#2517](https://github.com/kivy/python-for-android/issues/2517) +- With the target API 31, I got an error on Android 12 phone and cannot install it. [\#2511](https://github.com/kivy/python-for-android/issues/2511) +- How to get libnumpy.so & numpy py libs [\#2510](https://github.com/kivy/python-for-android/issues/2510) +- pydantic compiling in Buildozer with 'crypt.h' file not found [\#2507](https://github.com/kivy/python-for-android/issues/2507) +- p4a built x86\_64 library\(psutil, "ELF 64-bit LSB shared object, x86-64"\) for ARM [\#2506](https://github.com/kivy/python-for-android/issues/2506) +- matplotlib's recipe problem [\#2502](https://github.com/kivy/python-for-android/issues/2502) +- cffi's recipe problem in aab generation [\#2501](https://github.com/kivy/python-for-android/issues/2501) +- Pillow's recipe problem in aab generation [\#2497](https://github.com/kivy/python-for-android/issues/2497) +- Python compilation error: LXMLRecipe' object has no attribute 'ndk\_include\_dir' [\#2493](https://github.com/kivy/python-for-android/issues/2493) +- Android App crashing at launch - SDL seems crashing [\#2491](https://github.com/kivy/python-for-android/issues/2491) +- build an android app with ffpyplayer [\#2453](https://github.com/kivy/python-for-android/issues/2453) +- How to change "PythonActivity.java" to load mp4 file on presplash [\#2439](https://github.com/kivy/python-for-android/issues/2439) +- Kivy app krashes on android 10 [\#2434](https://github.com/kivy/python-for-android/issues/2434) +- Kivy app crashing on android after installation, what is the issue here? [\#2433](https://github.com/kivy/python-for-android/issues/2433) +- Build failed [\#2366](https://github.com/kivy/python-for-android/issues/2366) +- Reportlab bitbucket link is not working anymore [\#2310](https://github.com/kivy/python-for-android/issues/2310) +- Need to be able to create App Bundles \(.aab\) files in addition to APK files [\#2084](https://github.com/kivy/python-for-android/issues/2084) +- What exactly is mangling p4a's output with `[lots of missing output]... (and X more)`? [\#1939](https://github.com/kivy/python-for-android/issues/1939) +- Unable to compile. [\#1710](https://github.com/kivy/python-for-android/issues/1710) + +**Merged pull requests:** + +- Upgrading the flask version to avoid exception at the start of webview application [\#2560](https://github.com/kivy/python-for-android/pull/2560) ([Prashanth-BC](https://github.com/Prashanth-BC)) +- add recipe for freetype-py to not include the prebuilt .so for the wr… [\#2558](https://github.com/kivy/python-for-android/pull/2558) ([domedave](https://github.com/domedave)) +- Update to Kivy 2.1.0 [\#2557](https://github.com/kivy/python-for-android/pull/2557) ([RobertFlatt](https://github.com/RobertFlatt)) +- tflite-runtime recipe [\#2554](https://github.com/kivy/python-for-android/pull/2554) ([RobertFlatt](https://github.com/RobertFlatt)) +- Update AndroidManifest.tmpl.xml [\#2551](https://github.com/kivy/python-for-android/pull/2551) ([drahba](https://github.com/drahba)) +- Update recipe.py \(\#2544\) [\#2546](https://github.com/kivy/python-for-android/pull/2546) ([misl6](https://github.com/misl6)) +- Update python versions matrix on CI [\#2534](https://github.com/kivy/python-for-android/pull/2534) ([misl6](https://github.com/misl6)) +- Add ifaddr recipe [\#2527](https://github.com/kivy/python-for-android/pull/2527) ([syrykh](https://github.com/syrykh)) +- Remove websocket-client recipe [\#2526](https://github.com/kivy/python-for-android/pull/2526) ([syrykh](https://github.com/syrykh)) +- Fix build [\#2525](https://github.com/kivy/python-for-android/pull/2525) ([correa](https://github.com/correa)) +- Add aaptOptions noCompress [\#2523](https://github.com/kivy/python-for-android/pull/2523) ([RobertFlatt](https://github.com/RobertFlatt)) +- Updated version of pygame from 2.0.1 to 2.1.0 [\#2520](https://github.com/kivy/python-for-android/pull/2520) ([CAPTAIN1947](https://github.com/CAPTAIN1947)) +- Bump Pillow version to 8.4.0 [\#2516](https://github.com/kivy/python-for-android/pull/2516) ([misl6](https://github.com/misl6)) +- Moved support-request to v2. v1 has been shut down. [\#2515](https://github.com/kivy/python-for-android/pull/2515) ([misl6](https://github.com/misl6)) +- Add support-requests configuration. [\#2514](https://github.com/kivy/python-for-android/pull/2514) ([misl6](https://github.com/misl6)) +- proper --host for libsecp256k1, libogg, libvorbis, libcurl [\#2512](https://github.com/kivy/python-for-android/pull/2512) ([accumulator](https://github.com/accumulator)) +- Fix broken Contribute link [\#2505](https://github.com/kivy/python-for-android/pull/2505) ([daMatz](https://github.com/daMatz)) +- Makes pep8 happy on sdl2 recipe [\#2504](https://github.com/kivy/python-for-android/pull/2504) ([misl6](https://github.com/misl6)) +- Fix broken recipes with missing arch.arch in get\_site\_packages\_dir [\#2503](https://github.com/kivy/python-for-android/pull/2503) ([misl6](https://github.com/misl6)) +- added android permission ACCESS\_BACKGROUND\_LOCATION [\#2500](https://github.com/kivy/python-for-android/pull/2500) ([xloem](https://github.com/xloem)) +- GitHub Actions: Fixes wrong actions/checkout@v2 usage [\#2496](https://github.com/kivy/python-for-android/pull/2496) ([misl6](https://github.com/misl6)) +- Fixes ndk\_include\_dir on lxml recipe. [\#2495](https://github.com/kivy/python-for-android/pull/2495) ([misl6](https://github.com/misl6)) +- Move coveralls to github actions [\#2490](https://github.com/kivy/python-for-android/pull/2490) ([misl6](https://github.com/misl6)) +- Master [\#2489](https://github.com/kivy/python-for-android/pull/2489) ([misl6](https://github.com/misl6)) +- Add should\_build method to sdl2 recipe [\#2482](https://github.com/kivy/python-for-android/pull/2482) ([AndyRusso](https://github.com/AndyRusso)) +- AAB support related changes [\#2467](https://github.com/kivy/python-for-android/pull/2467) ([misl6](https://github.com/misl6)) +- services: fix START\_STICKY [\#2401](https://github.com/kivy/python-for-android/pull/2401) ([mzakharo](https://github.com/mzakharo)) + ## [v2021.09.05](https://github.com/kivy/python-for-android/tree/v2021.09.05) (2021-09-05) [Full Changelog](https://github.com/kivy/python-for-android/compare/v2020.06.02...v2021.09.05) diff --git a/pythonforandroid/__init__.py b/pythonforandroid/__init__.py index 97a094dd7a..eb2a14cbbf 100644 --- a/pythonforandroid/__init__.py +++ b/pythonforandroid/__init__.py @@ -1 +1 @@ -__version__ = '2021.09.05' +__version__ = '2022.03.13'