Tags: WenjunHuang/codeepiphanyapp-python4android
Tags
Merge pull request kivy#2959 from kivy/release-2024.01.21 Release 2024.01.21
Merge pull request kivy#2891 from misl6/release-2023.09.16 * Update `cffi` recipe for Python 3.10 (kivy#2800) * Update __init__.py version bump to 1.15.1 * Update disable-pkg-config.patch adjust patch for 1.15.1 * Use build rather than pep517 for building (kivy#2784) pep517 has been renamed to pyproject-hooks, and as a consequence all of the deprecated functionality has been removed. build now provides the functionality required, and since we are only interested in the metadata, we can leverage a helper function for that. I've also removed all of the subprocess machinery for calling the wrapping function, since it appears to not be as noisy as pep517. * Bump actions/setup-python and actions/checkout versions, as old ones are deprecated (kivy#2827) * Removes `mysqldb` recipe as does not support Python 3 (kivy#2828) * Removes `Babel` recipe as it's not needed anymore. (kivy#2826) * Remove dateutil recipe, as it's not needed anymore (kivy#2829) * Optimize CI runs, by avoiding unnecessary rebuilds (kivy#2833) * Remove `pytz` recipe, as it's not needed anymore (kivy#2830) * `freetype` recipe: Changed the url to use https as http doesn't work (kivy#2846) * Fix `vlc` recipe build (kivy#2841) * Correct sys_platform (kivy#2852) On Window, sys.platform = "win32". I think "nt" is a reference to os.name. * Fix code string - quickstart.rst * Bump `kivy` version to `2.2.1` (kivy#2855) * Use a pinned version of `Cython` for now, as most of the recipes are incompatible with `Cython==3.x.x` (kivy#2862) * Automatically generate required pre-requisites (kivy#2858) `get_required_prerequisites()` maintains a list of Prerequisites required by each platform. But that same information is already stored in each Prerequisite class. Rather than rather than maintaining two lists which might become inconsistent, auto-generate one. * Use `platform.uname` instead of `os.uname` (kivy#2857) Advantages: - Works cross platform, not just Unix. - Is a namedtuple, so can use meaningful fieldnames. Also snuck in correction to typo in Readme which doesn't warrant its own review. * Fix simple typos in comments (kivy#2863) One typo I introduced while trying to fix the other. * `build_platform` should be all-lowercase (kivy#2864) * Docs: Fix typos and improved README quickstart (kivy#2860) * Made p4a apk build command more general - readme * Fix twice spelled - readme * updated p4a build command * Cleanup `patching.py` (kivy#2868) Major changes to comments, param names, function ordering. Removed deprecated LooseVersion Move os.uname to platform.uname Added win32 check Windows fix * Update Python versions in CI tests Python 3.11 was released October 2022. Python 3.7 went end-of-life June 2023 * Update documentation to reflect Python 3.7 being end-of-life. * Correct check for `--sdk` option (kivy#2870) * Factor out dependency checking. Use modern version handling (kivy#2866) LooseVersion used again Handle bad SDK versions * Linter fixes (kivy#2874) The errors were: ``` pythonforandroid/bootstrap.py:136:5: F811 redefinition of unused 'name' from line 73 pythonforandroid/build.py:111:5: F811 redefinition of unused 'libs_dir' from line 82 pythonforandroid/build.py:127:5: F811 redefinition of unused 'aars_dir' from line 83 pythonforandroid/graph.py:48:12: E721 do not compare types, for exact checks use `is` pythonforandroid/graph.py:163:20: E721 do not compare types, for exact checks use `is` tests/test_build.py:39:41: E231 missing whitespace after ',' tests/test_build.py:40:58: E231 missing whitespace after ',' tests/test_build.py:41:61: E231 missing whitespace after ',' tests/test_build.py:42:71: E231 missing whitespace after ',' ``` * Remove deprecated FlatDir in Gradle template (kivy#2876) Based on lessons from https://stackoverflow.com/questions/68215302/using-flatdirs-should-be-avoided-because-it-doesnt-support-any-meta-data-format * Standardise `ensure_dir` and `rmdir` (kivy#2871) * Standardise ensure_dir and rmdir * Standardise ensure_dir and rmdir * Add libmysqlclient to broken list * Libtorrent failing to be rebuilt * Add boost to broken recipes list * Standardise on move (files, directories) (kivy#2884) * Add new util function (and tests) called `move`. * Change references to sh.mv to use move (as it is faster and cross-platform). * Change conditional "mv -t" to a for loop. * Standardise on touch files (kivy#2886) Existing code shells out to run the `touch` Unix command. This can be done faster (and cross-platform) with `pathlib`'s touch method. * Created a utility to accept string paths or pathlib paths and applies touch. * Created test for it. * Update all instances to use it, and updated their tests. * Update CHANGELOG.md and bump version to 2023.09.16 --------- Co-authored-by: HyTurtle <81598434+HyTurtle@users.noreply.github.com> Co-authored-by: Steve Kowalik <steven@wedontsleep.org> Co-authored-by: Mathias Lindström <kuzeyron@gmail.com> Co-authored-by: Ansh Dadwal <anshdadwal298@gmail.com> Co-authored-by: Julian <github@somethinkodd.com> Co-authored-by: Kulothungan U.G <kulothunganug@gmail.com> Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
Merge pull request kivy#2796 from misl6/release-2023.05.21 * Add support for Python 3.10 and make it the default while building hostpython3 and python3 (kivy#2577) * Add support for Python 3.10 and make it the default while building hostpython3 and python3 * Update bugfix version * Add PyAV recipe (kivy#2750) * pyav recipe * flake8 fix * Update pythonforandroid/recipes/av/__init__.py Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com> --------- Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com> * Add debug loggings for identifying a matching dist (kivy#2751) * Add debug loggings for identifying a matching dist * Fix lint failure on f-string. * Adds flag to support home app (launcher) intent-filter on SDL2 bootstrap (kivy#2761) * Home app functionality * Cleanup * Added --home-app to the docs * Fixed the if statements within the intent-filter * Use io.IOBase for LogFile (kivy#2763) This provides reasonable default implementations for common IO class methods such as isatty(). Closes kivy#2762. * android_api to integer (kivy#2765) * android_api to integer * changes to android_api * changes to android_api * fix kivy#2768 smallIconName null can t be compared to String (kivy#2769) * fix kivy#2768 smallIconName null can t be compared to String * fix: Remove Importance None of notification which is modification from my own fork * fix: Readd Importance_NONE in the notification channel as it s also in upstream p4a * fix tools/liblink: syntax error regression from 22b7dfe * Update pyjnius version in recipe (kivy#2791) * Update Kivy recipe for 2.2.0 (kivy#2793) * Update Kivy recipe for 2.2.0rc1 * Bump to 2.2.0 * Update CHANGELOG.md and bump version to 2023.05.21 --------- Co-authored-by: Dexer <73297572+DexerBR@users.noreply.github.com> Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com> Co-authored-by: BitcoinWukong <87334822+BitcoinWukong@users.noreply.github.com> Co-authored-by: Mathias Lindström <kuzeyron@gmail.com> Co-authored-by: Dylan McCall <dylan@dylanmccall.ca> Co-authored-by: Benoît HERVIER <b@rvier.fr> Co-authored-by: SomberNight <somber.night@protonmail.com>
Merge pull request kivy#2747 from misl6/release-2023.02.10 * Update `pydantic` recipe There is [incompatibility](huggingface/transformers#8638) between python > 3.6 and package `dataclasses`. This error was happening after my compilations: `AttributeError: module 'typing' has no attribute '_ClassVar'` The fix is removing `dataclasses` from `python_depends`. I also updated the pydantic version to the newest release `1.10.4`, it can be checked [here](https://github.com/pydantic/pydantic/releases) and its url. I already compiled my app after applying these changes, and the compilation is working successfully again. * Restrict sh version to sh>=1.10, <2.0 (kivy#2746) keep sh version under 2.0 as default behaviour was switched * Update CHANGELOG.md and update version to 2023.02.10 --------- Co-authored-by: Filipe Marchesini <filipe.marchesini@gmail.com> Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com> Co-authored-by: HyTurtle <81598434+HyTurtle@users.noreply.github.com>
Merge pull request kivy#2740 from misl6/release-2023.01.28 Release 2023.01.28
Merge pull request kivy#2718 from kivy/release-2022.12.20 Release 2022.12.20
Merge pull request kivy#2638 from misl6/release-2022.07.20 Release 2022.07.20
Merge pull request kivy#2561 from misl6/release-2022.03.13 Release 2022.03.13
Merge pull request kivy#2488 from misl6/release-2021.09.05 Release 2021.09.05
PreviousNext