Когда я пытаюсь отправить sh свой проект в Heroku с git push heroku master
, я получаю следующий вывод:
remote: -----> Python app detected
remote: ! Python has released a security update! Please consider upgrading to python-3.7.6
remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes
remote: cp: cannot create regular file '/app/tmp/cache/.heroku/requirements.txt': No such file or directory
remote: -----> Installing python-3.7.3
remote: -----> Installing pip
remote: -----> Installing dependencies with Pipenv 2018.5.18…
remote: Your Pipfile.lock (e78d47) is out of date. Expected: (d89661).
remote: Aborting deploy.
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
Я пытался запустить pipenv lock
, но это не решило проблему.
Мой Pipfile
выглядит так:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
flask = "*"
gunicorn = "*"
numpy = "*"
opencv-python = "*"
[requires]
python_version = "3.7"
Есть идеи?