oTree Forum >

Push failed

#1 by keren

Hi,
I was trying to update the requirements file and then push to heroku and got this problem:

failed with exit status 1
remote:                    [end of output]
remote:
remote:                note: This error originates from a subprocess, and is likely not a problem with pip.
remote:                ERROR: Failed building wheel for numpy
remote:              Failed to build numpy
remote:              ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
remote:              [end of output]
remote:
remote:          note: This error originates from a subprocess, and is likely not a problem with pip.
remote:        error: subprocess-exited-with-error
remote:
remote:        × pip subprocess to install build dependencies did not run successfully.
remote:        │ exit code: 1
remote:        ╰─> See above for output.
remote:
remote:        note: This error originates from a subprocess, and is likely not a problem with pip.
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to decisions-making.
remote:
To https://git.heroku.com/decisions-making.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/decisions-making.git'

This is my requirements file:
# oTree-may-overwrite-this-file
# IF YOU MODIFY THIS FILE, remove these comments. 
# otherwise, oTree will automatically overwrite it.
otree[mturk]>=5.8.5
psycopg2>=2.8.4
sentry-sdk==0.7.9
numpy>=1.21.5
pandas>=1.3.1
scipy


I tried to add to the file poetry and whell (after some readings in forums) but it didn't work.
Hope you will have an advise for me!

Thanks, Keren

Write a reply

Set forum username