pocosoft / django_channels_heroku

Django channels v2 will run on Heroku.
Apache License 2.0
8 stars 9 forks source link

Failed to compile Python App #3

Open alsib opened 6 years ago

alsib commented 6 years ago

Build failed because of hiredis

aioredis==1.1.0
asgiref==2.3.2
async-timeout==3.0.0
attrs==18.1.0
autobahn==18.5.2
Automat==0.6.0
channels==2.1.1
channels-redis==2.2.1
constantly==15.1.0
daphne==2.1.2
dj-database-url==0.5.0
Django==2.0.5
django-heroku==0.3.1
hiredis==0.2.0
hyperlink==18.0.0
idna==2.6
incremental==17.5.0
msgpack==0.5.6
psycopg2==2.7.4
pytz==2018.4
six==1.11.0
Twisted==18.4.0
txaio==2.10.0
whitenoise==3.3.1
zope.interface==4.5.0

Was super hyped by this repo, hope I can make it work

Full trace :

-----> Python app detected -----> Installing python-3.6.6 -----> Installing pip -----> Installing dependencies with Pipenv 2018.5.18… Installing dependencies from Pipfile.lock (389a29)… An error occurred while installing hiredis==0.2.0! Will try again. Installing initially–failed dependencies… Collecting hiredis==0.2.0 Using cached https://files.pythonhosted.org/packages/f2/be/e064ff9969d6f0bbdb0c8ee600326e4b3325c33d1703be919aac743d00e7/hiredis-0.2.0-cp36-cp36m-manylinux1_x86_64.whl

   THESE PACKAGES DO NOT MATCH THE HASHES FROM Pipfile.lock!. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
       hiredis==0.2.0 from https://files.pythonhosted.org/packages/f2/be/e064ff9969d6f0bbdb0c8ee600326e4b3325c33d1703be919aac743d00e7/hiredis-0.2.0-cp36-cp36m-manylinux1_x86_64.whl#sha256=3f8b334c59c474e2b92580d7f4fb6503a08c013ae8a877ffc5c252f899d90ac6 (from -r /tmp/pipenv-yiybl2b6-requirements/pipenv-a8rb8nwm-requirement.txt (line 1)):
           Expected sha256 ca958e13128e49674aa4a96f02746f5de5973f39b57297b84d59fd44d314d5b5
                Got        3f8b334c59c474e2b92580d7f4fb6503a08c013ae8a877ffc5c252f899d90ac6

! Push rejected, failed to compile Python app. ! Push failed

pocosoft commented 6 years ago

@alsib This issue fixed. Please re-run the application. Thank you for reporting.

alsib commented 6 years ago

Works perfectly now, thanks !!

Have you experienced any performance loss in serving templates when in production ? DEBUG=False

Performance loss for serving static is a know issue (because of whitenoise apparently)

I'm now serving statics via S3, but my API calls response times have also doubled.

Any idea ?