keithrozario / Klayers

Python Packages as AWS Lambda Layers
Other
2.14k stars 309 forks source link

Add GDAL to packages_p312.csv #425

Closed petersmythe closed 3 months ago

petersmythe commented 3 months ago

Hi @keithrozario

Does this (from https://github.com/keithrozario/Klayers?tab=readme-ov-file#status-of-layers)

Layers are built with the latest package version at 2am UTC on the first day of the Month.

mean that the gdal package will only be available from 2024-08-01? Is there anything I can do to get it in af-south-1 earlier, or do I just need to wait?

keithrozario commented 2 months ago

Normally packages are avaiable 3-5 minutes after I merge the pull requests.

But in this case, gdal had some issues installing on python 3.12. Even trying on my local machine created some errors:

image

Unfortunately, it looks like gdal cannot be installed on versions of python above 3.9 without some effort, as per the documentation on pypi here: https://pypi.org/project/GDAL/

Doubly unfortunate is that currently Klayers does not support Python3.9 anymore, and only from 3.10 onwards. I tried manually building this with Python 3.10, but it failed with the same results.

Sorry about that. :(

petersmythe commented 2 months ago

No problem. Thank you for the great service. Should I revert this merge then?