chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
806 stars 132 forks source link

ujson for Python 3.9 or later #1157

Open Olnunes2022 opened 4 months ago

Olnunes2022 commented 4 months ago

Chaquopy version

Relevant parts of your build.gradle file

Describe your issue

Task :app:generateDebugPythonRequirements
Chaquopy: Installing for arm64-v8a
Looking in indexes: https://pypi.org/simple, https://chaquo.com/pypi-13.1
Collecting toga-android~=0.4.0
Using cached toga_android-0.4.4-py3-none-any.whl (65 kB)
Collecting setuptools
Using cached setuptools-69.5.1-py3-none-any.whl (894 kB)
Collecting pandas
Using cached https://chaquo.com/pypi-13.1/pandas/pandas-1.5.0-1-cp311-cp311-android_21_arm64_v8a.whl (10.1 MB)
[...]
ERROR: Failed to install ujson from https://files.pythonhosted.org/packages/f0/00/3110fd566786bfa542adb7932d62035e0c0ef662a8ff6544b6643b3d6fd7/ujson-5.10.0.tar.gz#sha256=b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1 (from -r requirements.txt (line 9)).
mhsmith commented 4 months ago

Your app is set to Python 3.11, but as you can see from the repository, we currently only have ujson for Python 3.8. You can change your app's Python version by following these instructions.