Пытаюсь задеплоидить телеграм бота командой git push heroku master а оно выдаёт ошибку вот весь процесс целиком
PS C:UsersAdminDownloadsAutoshopBot2.9> git remote -v
heroku https://git.heroku.com/autoshoprbot.git (fetch)
heroku https://git.heroku.com/autoshoprbot.git (push)
PS C:UsersAdminDownloadsAutoshopBot2.9> git push heroku master
Enumerating objects: 126, done.
Counting objects: 100% (126/126), done.
Delta compression using up to 4 threads
Compressing objects: 100% (121/121), done.
Writing objects: 100% (126/126), 116.16 KiB | 1.08 MiB/s, done.
Total 126 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Compressing source files… done.
remote: Building source:
remote:
remote: ——> Building on the Heroku-20 stack
remote: ——> Determining which buildpack to use for this app
remote: ——> Python app detected
remote: ——> Using Python version specified in runtime.txt
remote: ! Requested runtime () is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy…
remote:
remote: ! Push rejected to autoshoprbot.
remote:
To https://git.heroku.com/autoshoprbot.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/autoshoprbot.git’
PS C:UsersAdminDownloadsAutoshopBot2.9> git push heroku master
Enumerating objects: 126, done.
Counting objects: 100% (126/126), done.
Delta compression using up to 4 threads
Compressing objects: 100% (121/121), done.
Writing objects: 100% (126/126), 116.16 KiB | 1.04 MiB/s, done.
Total 126 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Compressing source files… done.
remote: Building source:
remote:
remote: ——> Building on the Heroku-20 stack
remote: ——> Determining which buildpack to use for this app
remote: ——> Python app detected
remote: ——> Using Python version specified in runtime.txt
remote: ! Requested runtime () is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: !
remote: ! ## Warning — The same version of this code has already been built: 1449d16559d9476de20f1c7da4f501409c92a13e
remote: !
remote: ! We have detected that you have triggered a build from source code with version 1449d16559d9476de20f1c7da4f501409c92a13e
remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote: !
remote: ! If you are developing on a branch and deploying via git you must run:
remote: !
remote: ! git push heroku <branchname>:main
remote: !
remote: ! This article goes into details on the behavior:
remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
remote:
remote: Verifying deploy…
remote:
remote: ! Push rejected to autoshoprbot.
remote:
To https://git.heroku.com/autoshoprbot.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/autoshoprbot.git’
тэги:
мессенджер,
телеграм
категория:
компьютеры и интернет
ответить
комментировать
в избранное
бонус