oTree Forum >

git push heroku master | Fail

#1 by Vakru

I am trying to upload the app on heroku, getting following error for master push, please help

Installing requirements with pip
       Collecting otree==5.7.2 (from -r requirements.txt (line 4))
         Downloading otree-5.7.2.tar.gz (434 kB)
         Preparing metadata (setup.py): started
         Preparing metadata (setup.py): finished with status 'error'
         error: subprocess-exited-with-error
         
         × python setup.py egg_info did not run successfully.
         │ exit code: 1
         ╰─> [6 lines of output]
             
             **********************************************************************************
             * Error: This version of oTree is only compatible with these Python versions:
             * 3.7, 3.8, 3.9
             **********************************************************************************
             
             [end of output]
         
         note: This error originates from a subprocess, and is likely not a problem with pip.
       error: metadata-generation-failed
       
       × Encountered error while generating package metadata.
       ╰─> See above for output.
       
       note: This is an issue with the package mentioned above, not pip.
       hint: See above for details.
 !     Push rejected, failed to compile Python app.
 !     Push failed

#2 by Vakru

I have added runtime file, and even downgraded Heroku stack to 20 but it is still not working. 


kindly provide some suggestions.

#3 by Daniel_Frey

Did you try update your oTree-code to the latest version? Or do you have a specific reason you're working on 5.7.2?

Write a reply

Set forum username