heroku / heroku-geo-buildpack

Classic buildpack that installs the Geo/GIS libraries GDAL, GEOS and PROJ.
38 stars 28 forks source link

Add support for 3.4.2 #28

Closed MarieEngel closed 2 years ago

MarieEngel commented 2 years ago

Hi 🖖

I was trying to use the buildpack for GeoDjango by specifying GDAL_VERSION=3.4.2, however the build fails with the following message:

-----> Building on the Heroku-20 stack
-----> Using buildpacks:
       1. https://github.com/heroku/heroku-geo-buildpack
       2. heroku/python
-----> Geo Packages (GDAL/GEOS/PROJ) app detected
-----> Installing GDAL-3.4.2
 !     Requested GDAL Version (3.4.2) is not available for this stack (heroku-20).
 !     Aborting.
 !     Push rejected, failed to compile Geo Packages (GDAL/GEOS/PROJ) app.
 !     Push failed

Unfortunately I don't exactly know how these files are connected and used, so I followed the pattern with the other two versions.

Fixes #24