pyup icon indicating copy to clipboard operation
pyup copied to clipboard

Add support for updating local files

Open bhearsum opened this issue 7 years ago • 2 comments

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.

bhearsum avatar Jul 23 '18 15:07 bhearsum

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 avatar Jul 25 '18 12:07 JulienPalard

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 :(

JulienPalard avatar Aug 08 '18 13:08 JulienPalard