pyup.io¶
pyup.io is a service which helps you to keep your dependencies
up-to-date. When connected to your Github repository, a pyup-bot will automatically
create pull-requests in pre-defined intervals to update requirements.txt
or
environment.yml
(only the packages under pip:
) to the latest package versions.
Caveat¶
This tool is not a no-brainer. Newer does not mean better as it might introduce bugs or break your project pipeline, leads to incompatibilities among installed packages. But, this tool keeps you notified when libraries change and provides easy access to the changelogs. After reading them carefully, you can decide to update or not.
Installation¶
Just go to https://pyup.io and choose login via Github in the upper right corner of the website. You will be redirected to Github to allow the service to read your repositories, etc..
After that, when logged in on https://pyup.io, choose add repository in the upper right
corner. You are asked about how you would like to schedule updates, but that does not
matter as the service is already configured by .pyup.yml
in your project folder. If
you want to change the settings, have a look at https://pyup.io/docs/bot/config/ to see
all possible options.