For my (Django) project on Heroku, I updated one of the dependencies in my requirements.txt file to a newer version, and now I want Heroku to upgrade the version installed. I tried:
heroku run "pip install -r requirements.txt --upgrade -E ."
Which spits the right output to the terminal, but apparently does not actually upgrade anything; when I run:
heroku run "pip freeze -E ."
All of the package versions are the same. I even tried removing the package and that didn't work either. How do I force an upgrade of a dependency in a Python project on Heroku?