opencleveland / refundcleveland

website for residents to adjust the city of Cleveland proposed budget to reflect their priorities.
MIT License
12 stars 10 forks source link

specify python 3.9 version to trigger a new ubuntu 22.04 build on he… #133

Closed skorasaurus closed 1 year ago

skorasaurus commented 1 year ago

We previously were running ubuntu 18.04 on heroku; but heroku doesn't support that anymore and won't create any builds on an ubuntu 18.04 machine; meaning no new code can be deployed)

I did manual testing on a separate heroku instance using ubuntu 22.04; made a couple test submissions; they went through as intended; the static urls for past submissions worked were saved; the pages were viewable; and the submissions were stored as json in the database as they were in the past.

I thought I upgraded the stack (to ubuntu 22.04 in november, but the build never completed because heroku 22.04 doesn't support python 3.6; this commit specifies the version of python to use and should trigger a new build using that version of python 3.9.16 which is supported by Heroku.