Releases: kivy/python-for-android
Releases · kivy/python-for-android
v2024.01.21
What's Changed
- Update Lottie player version by @HugoDaniel in #2900
- Add doc tests, make them pass. by @Julian-O in #2890
- Remove
distutilsusage, as is not available anymore on Python3.12by @misl6 in #2912 - enable json1 extenstion in sqlite3 by @HyTurtle in #2915
- Bump
pyjniusversion to1.6.1by @misl6 in #2914 - Add (now mandatory)
.readthedocs.yamlfile, add docsrequirements.txtand update sphinx conf by @misl6 in #2916 - Introduce FAQ by @Julian-O in #2917
- Update Android gradle plugin to
8.1.1and gradle to8.0.2by @misl6 in #2887 - Add support for Python
3.11and make it the default while buildinghostpython3andpython3by @T-Dynamos in #2850 - Update
python-for-androidprerequisites (Dockerfile,prerequisites.py, docs) by @misl6 in #2923 - Remove redundant append into WHITELIST_PATTERNS by @shyamnathp in #2935
- Update Contributing Guidelines and Readme by @Julian-O in #2922
sourceCompatibility1.7 andtargetCompatibility1.7 are obsolete, use 1.8 by default by @misl6 in #2942- Update sdl2 deps to reflect the same targeted in kivy/kivy by @misl6 in #2927
- Initial support for PySide6 and Qt by @shyamnathp in #2918
- Bump Kivy version to
2.3.0by @misl6 in #2952 - Update OpenSSL version to
1.1.1wby @prolenodev in #2958 - Release 2024.01.21 by @misl6 in #2959
New Contributors
- @HugoDaniel made their first contribution in #2900
- @shyamnathp made their first contribution in #2935
- @prolenodev made their first contribution in #2958
Full Changelog: v2023.09.16...v2024.01.21
v2023.09.16
Highlights
- This is the last
python-for-androidrelease that targets Python 3.10 by default. The next release will switch to Python 3.11
What's Changed
- Merge master into develop by @misl6 in #2797
- Cffi update by @HyTurtle in #2800
- Use build rather than pep517 for building by @s-t-e-v-e-n-k in #2784
- Bump
actions/setup-pythonandactions/checkoutversions, as old ones are deprecated by @misl6 in #2827 - Removes
mysqldbrecipe as does not support Python 3 by @misl6 in #2828 - Removes
Babelrecipe as it's not needed anymore. by @misl6 in #2826 - Remove
dateutilrecipe, as it's not needed anymore by @misl6 in #2829 - Optimize CI runs, by avoiding unnecessary rebuilds by @misl6 in #2833
- Remove
pytzrecipe, as it's not needed anymore by @misl6 in #2830 - Changed the url to use https as http fails by @kuzeyron in #2846
- vlc: fix build by @T-Dynamos in #2841
- Correct sys_platform by @Julian-O in #2852
- Docs: Fix code string - quickstart.rst by @kulothunganug in #2859
- Bump
kivyversion to2.2.1by @misl6 in #2855 - Use a pinned version of
Cythonfor now, as most of the recipes are incompatible withCython==3.x.xby @misl6 in #2862 - Automatically generate required pre-requisites by @Julian-O in #2858
- Use platform.uname instead of os.uname by @Julian-O in #2857
- Fix simple typos in comments by @Julian-O in #2863
build_platformshould be all-lowercase by @misl6 in #2864- Docs: Fix typos and updated command to build apk - README by @kulothunganug in #2860
- Patching cleanup by @Julian-O in #2868
- Python versions: Update documentation & CI testing by @Julian-O in #2869
- Correct check for --sdk option by @Julian-O in #2870
- Factor out dependency checking. Use modern version handling by @Julian-O in #2866
- 🚨 linter fixes by @AndreMiras in #2874
- Remove deprecated FlatDir in Gradle template by @Julian-O in #2876
- Standardise ensure_dir and rmdir by @Julian-O in #2871
- Standardise on move by @Julian-O in #2884
- Use Python's touch() rather than shelling out. by @Julian-O in #2886
- Release 2023.09.16 by @misl6 in #2891
New Contributors
- @s-t-e-v-e-n-k made their first contribution in #2784
- @T-Dynamos made their first contribution in #2841
- @Julian-O made their first contribution in #2852
- @kulothunganug made their first contribution in #2859
Full Changelog: v2023.05.21...v2023.09.16
v2023.05.21
What's Changed
- Add support for Python 3.10 and make it the default while building hostpython3 and python3 by @misl6 in #2577
- Add PyAV recipe by @DexerBR in #2750
- Add debug loggings for identifying a matching dist by @BitcoinWukong in #2751
- Home app functionality by @kuzeyron in #2761
- Use io.IOBase for LogFile by @dylanmccall in #2763
- android_api to integer by @kuzeyron in #2765
- fix #2768 smallIconName null can t be compared to String by @brvier in #2769
- fix tools/liblink: syntax error by @SomberNight in #2771
- Update
pyjniusversion to1.5.0by @misl6 in #2791 - Update Kivy recipe for 2.2.0 by @misl6 in #2793
New Contributors
- @DexerBR made their first contribution in #2750
- @BitcoinWukong made their first contribution in #2751
- @dylanmccall made their first contribution in #2763
Full Changelog: v2023.02.10...v2023.05.21
v2023.02.10
Highlights:
shversion has been restricted tosh>=1.10, <2.0;, assh>2.0is incompatible. We will migrate our code accordingly in the future.pydanticrecipe has been updated.
Full changelog:
v2023.01.28
Highlights:
scyptrecipe has been updated.--orientationoption controls the allowed orientations (portrait,landscape,portrait-reverse,landscape-reverse). The allowed orientations list is then set toKIVY_ORIENTATIONenvironment variable, which is used during window setup time to populate theSDL_HINT_ORIENTATIONSvalue, as we're doing for other platforms.--manifest-orientationoption has been added to keep theandroid:screenOrientationpersonalisation functionality, even if Android will be likely deprecate this attribute in future.- If
--manifest-orientationis not set, and only (one of multiple)--orientation options are passed, the value forandroid:screenOrientationis guessed and synthesized from the --orientation option. Sinceandroid:screenOrientationaccepts only 1 value, if multiple--orientationare given,android:screenOrientation` will be set to unspecified. - Introduced support for permission properties (
maxSdkVersionandusesPermissionFlags)
Full changelog:
- Implements
--manifest-orientationand changes how--orientationworks so we can now pass the setting to the SDL orientation hint #2739 (misl6) - Update __init__.py from
scryptrecipe #2738 (FilipeMarch) - Apply a patch from SDL upstream that fixes orientation settings #2730 (misl6)
- Support permission properties (
maxSdkVersionandusesPermissionFlags) + removeWRITE_EXTERNAL_STORAGEpermission, which has been previously declared by default #2725 (misl6) - Merge master in develop #2721 (misl6)
v2022.12.20
Highlights:
- Minimal and recommended Android NDK version is now 25b
MIN_TARGET_APIhas been updated to30andRECOMMENDED_TARGET_APIin order to comply with Google Play Store requirements.android.activitynow offersApplication.ActivityLifecycleCallbackshelpers.SDL2,SDL2_ttf,SDL2_mixer,SDL2_imagerecipes has been updated to latest stable releases.- Now service notifications are highly customisable!
Full changelog:
InputType.TYPE_TEXT_FLAG_MULTI_LINEforcesInputType.TYPE_TEXTeven ifSDLActivity.keyboardInputTypeisNULL#2716 (misl6)- secp256k1 Update "--host=" #2714 (RobertFlatt)
- Delete pythonforandroid/recipes/cdecimal directory #2713 (RobertFlatt)
- Bump
sdl2version to2.26.1#2712 (misl6) - Flake8 does not support inline comments for any of the keys. #2708 (misl6)
- Gradle: Run the clean task before anything else to make sure nothing is cached. #2705 (misl6)
- Custom Service notification #2703 (RobertFlatt)
- Include paths for sdl2_mixer have changed. Added a method to return the right one. #2700 (misl6)
- WRITE_EXTERNAL_STORAGE maxSdk #2694 (RobertFlatt)
- Fixes an issue regarding blacklist and bytecode compile + some cleanup #2693 (misl6)
- Bump to a version of
SDLwith patches for the TextInput / TextEditing (SDL2.26.0) #2692 (misl6) - Make CI compile aiohttp again. #2690 (xavierfiechter)
- Add resources #2684 (RobertFlatt)
- Update
MIN_TARGET_APIto30andRECOMMENDED_TARGET_APIto33#2683 (misl6) - recipe.download_file: implement shallow git cloning #2682 (SomberNight)
- requirements: relax version bound on "pep517" #2680 (SomberNight)
- Add new Android permissions #2677 (RobertFlatt)
- Resize webview when keyboard is shown #2674 (dbnicholson)
- Update
SDL2,SDL2_ttf,SDL2_mixer,SDL2_imageto latest releases #2673 (misl6) - Fixes libvpx build #2672 (misl6)
tomlmay not be available on systemwide python #2670 (misl6)- android/activity: Add Application.ActivityLifecycleCallbacks helpers #2669 (dbnicholson)
- Bump minimal and recommended Android NDK version to 25b #2668 (misl6)
- Include HOME in build environment #2582 (dbnicholson)
v2022.09.04
Highlights:
- This is the last release that defaults to Python 3.9 when building
hostpython3andpython3. The next one will target Python 3.10 - This is the last release that uses Android NDK 23b by default, the next one will use Android NDK 25
- This is the last release that defaults to target API 27, the next one will default to target API 31, following the new requirement from Google for apps that need to be distributed on Play Store.
- In order to fully support API 31 and as a propaedeutic change for new features in Kivy, in the next release,
python-for-androidwill use the new SDL2 releases.
Full changelog:
liblzma: Usep4a_installinstead ofinstall, as a file namedINSTALLis already present. #2663 (misl6)- Force
--platform=linux/amd64in Dockerfile #2660 (misl6) - Remove six and enum34 dependency #2657 (misl6)
- Update supported Python versions #2656 (misl6)
- Fixes some E275 - assert is a keyword. #2647 (misl6)
- Updates matplotlib, fixes an issue related to shared libc++ #2645 (misl6)
- RTSP support for ffmpeg #2644 (alicakici1234)
- Fixes TypeError: str.join() takes exactly one argument (2 given) in hostpython3/__init__.py", line 69 #2642 (Furtif)
- Resolve absolute path to local recipes #2640 (dbnicholson)
- Merges master into develop after release 2022.07.20 #2639 (misl6)
- Fix webview Back button behaviour #2636 (interlark)
- Add icon-bg and icon-fg to fix_args #2633 (danigm)
- Remove stray - in output file name #2581 (dbnicholson)
- Add option for adding files to res/xml without touching manifest #2330 (rambo)
v2022.07.20
Highlights:
- NDK 23 + Gradle 7 support
- Apple Silicon support (with NDK ≥ 24)
- Use shutil.which instead of sh.which (fixes an issue introduced by
sh==1.14.3 - Updated scipy - lapack - numpy recipes
- Added
LEGACY_NDKoption to build lapack/scipy recipes with a separate NDK - Now also webview and service bootstraps allow building multiarch artifacts.
- macOS prerequisites are now handled automatically, except for NDK and SDK.
- pythonforandroid.androidndk.AndroidNDK has been added in order to better handle NDK paths and configs.
Full changelog:
- Upgrading the flask version to avoid exception at the start of webview application #2560 (Prashanth-BC)
- add recipe for freetype-py to not include the prebuilt .so for the wr… #2558 (domedave)
- Update to Kivy 2.1.0 #2557 (RobertFlatt)
- tflite-runtime recipe #2554 (RobertFlatt)
- Update AndroidManifest.tmpl.xml #2551 (drahba)
- Update recipe.py (#2544) #2546 (misl6)
- Update python versions matrix on CI #2534 (misl6)
- Add ifaddr recipe #2527 (syrykh)
- Remove websocket-client recipe #2526 (syrykh)
- Fix build #2525 (correa)
- Add aaptOptions noCompress #2523 (RobertFlatt)
- Updated version of pygame from 2.0.1 to 2.1.0 #2520 (CAPTAIN1947)
- Bump Pillow version to 8.4.0 #2516 (misl6)
- Moved support-request to v2. v1 has been shut down. #2515 (misl6)
- Add support-requests configuration. #2514 (misl6)
- proper --host for libsecp256k1, libogg, libvorbis, libcurl #2512 (accumulator)
- Fix broken Contribute link #2505 (daMatz)
- Makes pep8 happy on sdl2 recipe #2504 (misl6)
- Fix broken recipes with missing arch.arch in get_site_packages_dir #2503 (misl6)
- added android permission ACCESS_BACKGROUND_LOCATION #2500 (xloem)
- GitHub Actions: Fixes wrong actions/checkout@v2 usage #2496 (misl6)
- Fixes ndk_include_dir on lxml recipe. #2495 (misl6)
- Move coveralls to github actions #2490 (misl6)
- Master #2489 (misl6)
- Add should_build method to sdl2 recipe #2482 (AndyRusso)
- AAB support related changes #2467 (misl6)
- services: fix START_STICKY #2401 (mzakharo)
v2022.03.13
Highlights:
- This is the first version of
python-for-androidthat supports Android App Bundle (AAB) packaging - Kivy recipe now targets
Kivy 2.1.0which is now the latest stable version available. - AndroidManifest.tmpl.xml has been updated to support Android 12 devices.
Full changelog:
- Upgrading the flask version to avoid exception at the start of webview application #2560 (Prashanth-BC)
- add recipe for freetype-py to not include the prebuilt .so for the wr… #2558 (domedave)
- Update to Kivy 2.1.0 #2557 (RobertFlatt)
- tflite-runtime recipe #2554 (RobertFlatt)
- Update AndroidManifest.tmpl.xml #2551 (drahba)
- Update recipe.py (#2544) #2546 (misl6)
- Update python versions matrix on CI #2534 (misl6)
- Add ifaddr recipe #2527 (syrykh)
- Remove websocket-client recipe #2526 (syrykh)
- Fix build #2525 (correa)
- Add aaptOptions noCompress #2523 (RobertFlatt)
- Updated version of pygame from 2.0.1 to 2.1.0 #2520 (CAPTAIN1947)
- Bump Pillow version to 8.4.0 #2516 (misl6)
- Moved support-request to v2. v1 has been shut down. #2515 (misl6)
- Add support-requests configuration. #2514 (misl6)
- proper --host for libsecp256k1, libogg, libvorbis, libcurl #2512 (accumulator)
- Fix broken Contribute link #2505 (daMatz)
- Makes pep8 happy on sdl2 recipe #2504 (misl6)
- Fix broken recipes with missing arch.arch in get_site_packages_dir #2503 (misl6)
- added android permission ACCESS_BACKGROUND_LOCATION #2500 (xloem)
- GitHub Actions: Fixes wrong actions/checkout@v2 usage #2496 (misl6)
- Fixes ndk_include_dir on lxml recipe. #2495 (misl6)
- Move coveralls to github actions #2490 (misl6)
- Master #2489 (misl6)
- Add should_build method to sdl2 recipe #2482 (AndyRusso)
- AAB support related changes #2467 (misl6)
- services: fix START_STICKY #2401 (mzakharo)
v2021.09.05
- Drop travis-ci.org and use github-actions for pypi release #2487 (misl6)
- Upgrade grunt version re: CVE-2020-7729 #2484 (Zen-CODE)
- Recipe for pydantic #2480 (FilipeMarch)
- fix pandas recipe #2478 (mzakharo)
- Add *.diff to manifest and package_data #2471 (viblo)
- Fix bad library found by ctypes for 64-bit arch (#2468) #2469 (macdems)
- Updated version of pygame from 2.0.0-dev7 to 2.0.1 #2466 (ljnath)
- Adds libm to Pillow recipe #2465 (Sahil-pixel)
- Add missing mipmap directories to bootstraps. #2463 (rnixx)
- Move PythonActivityUtil.unpackData to PythonUtil.unpackData #2462 (rnixx)
- Websocket-client updated to 1.0.1 from 0.40.0 #2458 (akshayaurora)
- fixed redirection for download liblzma #2452 (td1803)
- update (host)python3 to 3.8.9 #2451 (obfusk)
- update sqlite3 #2449 (obfusk)
- build.py: also clean() tarfile directory entries #2447 (obfusk)
- android: add support for adaptive icon/launcher #2446 (SomberNight)
- Fix ImportError bug: cannot locate symbol "modf" #2445 (Neizvestnyj)
- update openssl #2443 (obfusk)
- Add libvpx recipe, reference it in ffpyplayer_codecs and ffmpeg #2440 (Cheaterman)
- Add setuptools dependency for Groestlcoin_hash recipe #2438 (gruve-p)
- set urllib user-agent #2437 (obfusk)
- setup.py: add *.diff to package_data #2436 (obfusk)
- Reintroduce documentation of android module #2432 (tito)
- Update __init__.py #2429 (Neizvestnyj)
- webview: flush cookies & improve shouldOverrideUrlLoading #2424 (obfusk)
- travis: update pip (fixes CI) #2422 (obfusk)
- update openssl #2421 (obfusk)
- Avoids build error for opencv and bumps version to 4.5.1 #2419 (thescheff)
- strip null bytes in call to androidembed.log() #2416 (obfusk)
- webview: put webview_includes in assets dir #2412 (obfusk)
- update setuptools #2409 (obfusk)
- update sqlite3 #2408 (obfusk)
- Update quickstart.rst macOS brew cask command #2407 (yestoday-tv)
- Added ability to set input type on android #2405 (dwmoffatt)
- PyZQM recipe needs setuptools, list it explicitly in deps #2404 (rambo)
- recipes: print recipe ENV on failure #2403 (mzakharo)
- recipes: scipy - fix build for armeabi-v7a #2402 (mzakharo)
- don't run git pull when not on a branch #2400 (obfusk)
- Fix Pymunk crash on older versions of Android #2399 (viblo)
- Recipe for argon2-cffi #2398 (Arjun-Somvanshi)
- update sqlite3 to 3.34.0 #2397 (obfusk)
- update openssl to 1.1.1i #2396 (obfusk)
- support Python 3.9 #2394 (obfusk)
- reproducible builds #2390 (obfusk)
- Update Pymunk recipe to 6.0.0 #2389 (viblo)
- webview: add mOpenExternalLinksInBrowser field #2387 (obfusk)
- webview: add enableZoom() method #2386 (obfusk)
- Enable AndroidX #2385 (RobertFlatt)
- ⬆️ Updates to Kivy2 #2384 (kuzeyron)
- fix travis #2383 (obfusk)
- 🐛 Fixes pip command on Travis and bumps actions/setup-python #2382 (AndreMiras)
- docs: fix simple typo, pacakged -> packaged #2377 (timgates42)
- Fix master only merges #2376 (inclement)
- Audiostream Fix #2375 (xloem)
- Add service information for buildozer.spec #2372 (xloem)
- recipes: add scipy support #2370 (mzakharo)
- fix CI #2368 (obfusk)
- support activity_launch_mode in webview bootstrap #2367 (obfusk)
- Support running tests on any arch #2355 (jayvdb)
- setup.py: Fix dependency syntax #2354 (jayvdb)
- added missing digest support to recipes #2351 (fuzzyTew)
- android: call non-static methods on .mActivity #2341 (obfusk)
- fix webview jni #2340 (obfusk)
- missing mActivity #2339 (zworkb)
- added few input parameters to make possible to use custom java classes and tweak AndroidManifest.xml #2338 (vesellov)
- ffmpeg and ffpyplayer improvements #2335 (rnixx)
- Add recipe for https://docs.aiohttp.org/en/stable/ #2332 (rambo)
- Update __init__.py for Report Lab recipe #2323 (marcets)
- Print patched message to stderr #2314 (rambo)
- Call cython via the setuptools entrypoint, fixes #2311 [#2312](https://github.com/kivy/py...