pyupio / pyup

A tool to update your project's dependencies on GitHub. Runs on pyup.io, comes with a command line interface.
https://pyup.io
MIT License
454 stars 67 forks source link

Add support for updating local files #313

Open bhearsum opened 6 years ago

bhearsum commented 6 years ago

Pyup works really well if you have a Github or Gitlab repo, but it doesn't work at all for other types of repositories. If there a way to run it against a local file (and have it overwrite the local file with the new contents), this would be a nice fallback mode to make it possible to update files that aren't hosted in a supported repository.

JulienPalard commented 6 years ago

I'm +1 on this, I was looking at it right now!

It's looks easy to implement according to https://github.com/pyupio/pyup/blob/master/tests/test_requirements.py#L34

JulienPalard commented 6 years ago

TIL of https://github.com/jazzband/pip-tools#example-usage-for-pip-compile which has a --upgrade-package option, but that's not what we need :(