Моя Ма c работает 3.7.6. Мой runtime.txt выглядит так:
# runtime.txt
python-3.7.6
Ошибка, которую я получаю при сборке, такова:
-----> Python app detected
! Requested runtime (# runtime.txt python-3.7.6) is not available for this stack (heroku-18).
! Aborting. More info: https://devcenter.heroku.com/articles/python-support
! Push rejected, failed to compile Python app.
! Push failed
Итак, я перешел по ссылке в ошибка и показывает, что поддерживается 3.7.6.