Commit Graph

1 Commits

Author SHA1 Message Date
Paul Eggleton
55d6840072 Add a script to help keep requirements.txt up to date
Add a script that creates a virtualenv and does the following:
1) Tests pip install -r requirements.txt
2) Runs pip freeze and diffs the output to requirements.txt (to
   check if any dependencies have been missed when it was last updated)
3) Runs pip list --outdated and writes the output to a file so you can
   see which packages might need updating (of course some may not be
   able to be updated easily e.g. if an API change has been made)
4) Installs safety and runs "safety check" to check if there are any
   known vulnerabilities

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-11-06 13:58:30 +13:00