I am deploying a Python application in Heroku.
I have a file requirements.txtin which I install a dependency on a git repository attached to a specific tag, say:
git+git://github.com/django/django.git@1.7c2
When I redistribute it, for example. after changing the tag link 1.7c3, Heroku does not update this dependency. (As can be seen from heroku run pip list.)
As a workaround, I found that you can change yours runtime.txt(link to an older version of Python), commit, click on Heroku (which rebuilds the whole environment), and then undo commit and force click on Heroku again (which restores the whole environment again ) This, of course, is not a very satisfactory solution in the long run (and I do not like the idea of deploying my production application twice).
Is there a better solution? Any improvements on the horizon?
source
share