P
P
Python Newbie2021-08-22 15:38:36
git
Python Newbie, 2021-08-22 15:38:36

heroku error. What to do?

Error when deploying:

C:\Users\Irina\Desktop\py\tbot2>git push heroku master
Enumerating objects: 10, done.
Counting objects: 100% (10/10), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (10/10), 2.18 KiB | 558.00 KiB/s, done.
Total 10 (delta 0), 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 (python-3.8.2) is not available for this stack
(heroku-20).
remote:  !     Aborting.  More info: https://devcenter.heroku.com/articles/pytho
n-support
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to imageq-bot.
remote:
To https://git.heroku.com/imageq-bot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/imageq-bot.git'

C:\Users\Irina\Desktop\py\tbot2>


How to remove it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2021-08-22
@deepblack

Are you reading the error output or are you just scribbling here?

Requested runtime (python-3.8.2) is not available for this stack (heroku-20).

Supported runtimes:
  • python-3.9.6 on all supported stacks
  • python-3.8.11 on all supported stacks
  • python-3.7.11 on all supported stacks
  • python-3.6.14 on all supported stacks

B
BorLaze, 2021-08-22
@BorLaze

remote: ! Requested runtime (python-3.8.2) is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support

really... what to do? Well, do not go, really, according to the proposed link?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question