pyflow
pyflow copied to clipboard
pyflow randomizes the order of pyflow.lock every time I run a script through it
Every time I run pyflow ./foo.py
, it rewrites pyflow.lock
. By itself I find that somewhat surprising: since I might run this command very frequently, I would expect it to skip writing the file if nothing changed, to avoid unnecessary I/O. More importantly, though, the packages are written out in a seemingly random order every time, creating unnecessary diffs. Perhaps a hash map iteration order issue?
For the record, I reproduced this on 4c6ec9b.
I've just installed Pyflow and noticed it also. It will cause unnecessary diffs in git (for example when using git diff
cmd to see what's changed). Any way to prevent it?