chaquo / chaquopy

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

Build missing packages for Python 3.9 - 3.12 #972

Closed IsakTheHacker closed 9 months ago

IsakTheHacker commented 1 year ago

Python 3.11 has been supported for about a year now but no packages are built targeting this Python version. WHY!?

IsakTheHacker commented 1 year ago

Better support for Python 3.11 would probably also make apps faster on average and improve the startup time according to this: https://docs.python.org/3/whatsnew/3.11.html#optimizations

mhsmith commented 1 year ago

Yes, we should look into this. I'll add it to the milestone for the next version, when we'll be adding Python 3.12 as well.

mhsmith commented 11 months ago

The following packages are now available for Python 3.11:

murmurhash cffi pillow regex pynacl zstandard aiohttp bcrypt brotli cymem cytoolz frozenlist greenlet multidict ruamel-yaml-clib srsly yarl numpy pandas pywavelets kiwisolver contourpy matplotlib argon2-cffi bitarray editdistance ephem lru-dict pyzbar typed-ast netifaces wordcloud pycurl preshed

This is the same list as we released last year for Python 3.9 and 3.10, minus:

I'll add more Python 3.9 - 3.11 packages later, but first I'll look at 3.12.

mhsmith commented 11 months ago

The same packages are now available for Python 3.12, minus:

mhsmith commented 11 months ago

I've also added the following combinations which didn't previously exist:

arijit4 commented 11 months ago

@mhsmith can pycryptodome be added?

mhsmith commented 11 months ago

OK, pycryptodome and pycryptodomex version 3.9.4 have now been added for Python 3.9 - 3.12. This is the newest version that can build with the current patch. If anyone needs a newer version, see #807.

IsakTheHacker commented 10 months ago

@mhsmith Could you build Python 3.11 and 3.12 wheels for miniaudio?

mhsmith commented 10 months ago

OK, I'll give it a try. And for future reference, here's a list of all the packages which were added since the initial 3.9 and 3.10 build:

jpegio tgcrypto lameenc pyproj astropy pyerfa qutip photutils miniaudio lz4 soxr aubio pycocotools zope-interface

Most of these are currently only available for Python 3.8 - 3.10.

mhsmith commented 10 months ago

The packages in the previous comment have now been added for Python 3.11 and 3.12, except:

samefow commented 9 months ago

Please add lxml package for python 3.9-3.12. Thanks.

mhsmith commented 9 months ago

I don't have time to add any more packages at the moment, but lxml shouldn't be too difficult to build yourself – see https://github.com/chaquo/chaquopy/issues/816#issuecomment-1450283229.

mhsmith commented 3 months ago

If anyone has more package requests for Python 3.9 or later, please first search to see if there's an existing issue you can vote for, and create a new issue if you can't find one.