newfs / gobotany-app

Deployable code for the Go Botany application
9 stars 8 forks source link

Update Heroku runtime to the latest Python 3 version #753

Closed jnga closed 3 years ago

jnga commented 4 years ago

After upgrading the Heroku stack, upgrade the specified Python runtime to the latest Python 3 version supported by Heroku (currently it's 3.8.5).

Note that this is not the same as our Python version specified for the application in our virtual environment (see #752).

jnga commented 3 years ago

To summarize what was done here: the project was using Python 3.6.9 at the start. Heroku's latest officially supported version is 3.9.0. Tried upgrading to that and had some problems with caching on Heroku (esp. due to no py39-pylibmc available on MacPorts yet), so ended up at Python 3.8.6, which so far seems to be working as expected in Dev.