There is 2 methods of upgrading the python dependencies. WARNING: there is a 70% chance that this will generate warnings and errors due to dependency mismatches; this will break most codes; this command should be ran only once a week - once a month or, to be safe, none at all
pip3 install pip-review # on mac
pip install pip-review # on win
# upgrade
pip-review --interactive
pip3 install -r requirements.txt --upgrade # on mac
pip install -r requirements.txt --upgrade # on win
# don't forget to save the upgraded dependecies version
pip3 freeze > requirements.txt # on mac
pip freeze > requirements.txt # on win
# docker mode
docker-compose -f local.yml run --rm pip freeze > requirements.txt --upgrade