【问题标题】:Heroku: Python Django deployment suddenly failingHeroku:Python Django 部署突然失败
【发布时间】:2020-11-14 12:04:26
【问题描述】:

我今天早上部署我的应用程序一切正常,它已经运行了几个月,我刚刚尝试部署对两个 HTML 模板的更改(GIT 中没有其他任何更改)。 Heroku 突然在以下情况下失败了


-----> Python app detected

 !     Requested runtime (python-3.6.10) 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

我什至看不到我在 Django 中指定了 python 版本的任何地方,而不是在 requirements.txt 中,但几个月来应用程序在这方面没有任何变化?

任何想法都非常感谢

【问题讨论】:

    标签: python django heroku heroku-cli


    【解决方案1】:

    在文章中,它链接到您的错误跟踪中,指出它们支持运行时 python-3.6.11,同时您的应用程序似乎仍在 python-3.6.10 上。他们可能升级了他们支持的python版本。

    【讨论】:

      猜你喜欢
      • 2021-03-08
      • 1970-01-01
      • 2011-09-19
      • 2017-08-31
      • 1970-01-01
      • 2016-08-12
      • 1970-01-01
      • 2017-02-12
      • 2021-07-19
      相关资源
      最近更新 更多