heroku-python / conda-buildpack

[DEPRECATED] Buildpack for Conda.
MIT License
157 stars 251 forks source link

python runtime support, fixes #8 #13

Closed metakermit closed 5 years ago

metakermit commented 9 years ago

This is my attempt to solve #8 , as I need to run a Python 3 scientific app. I managed to do the deployment steps with my app, so I think it goes in the right direction, but it's not done yet. I'm still experiencing application errors due to gunicorn not being found. Maybe I need to source the condanev somewhere else as well?

scribu commented 8 years ago

Hi, I'm getting an error related to condaenv:

Total 0 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> Python/Conda app detected
remote: -----> Installing dependencies using Conda
remote: Error: could not find environment: condaenv
remote:
remote:  !     Push rejected, failed to compile Python/Conda app

runtime.txt:

python-3.5.0

conda-requirements.txt:

numpy
scipy

Is there anything else I need to do besides changing the buildpack URL?

The original conda-buildpack deploys fine (except for using Python 2.7).

icoxfog417 commented 8 years ago

@scribu You have to add some dependencies to conda-requirements.txt when running on Python3 (please see #14).

conda
conda-env
requests

The below is my repository that succeeded to deploy to Heroku.

https://github.com/icoxfog417/number_recognizer

icoxfog417 commented 7 years ago

I made the fork to support Python3. I confirmed this works fine on my application.

implementation