Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyflow randomizes the order of pyflow.lock every time I run a script through it #178

Open
comex opened this issue May 26, 2022 · 2 comments

Comments

@comex
Copy link

comex commented May 26, 2022

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?

@comex
Copy link
Author

comex commented May 28, 2022

For the record, I reproduced this on 4c6ec9b.

@SergeiMinaev
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants