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

Indeterminate order generates unneccessary diffs in Pipfile.lock when upgrading. #2799

Closed
PetterS opened this issue Aug 30, 2018 · 1 comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@PetterS
Copy link

PetterS commented Aug 30, 2018

My Pipfile.lock contains many lines of the following form:

"markers": "python_version != '3.2.*' and python_version != '3.0.*' and python_version != '3.1.*' and python_version >= '2.7' and python_version != '3.3.*'",

and after an unrelated change, this line is changed into

"markers": "python_version != '3.0.*' and python_version != '3.2.*' and python_version != '3.3.*' and python_version != '3.1.*' and python_version >= '2.7'",

i.e. the same content but different order. It would be great to keep the order deterministic in order to keep the diffs small when updating.

@uranusjr
Copy link
Member

This is essentially #2760. Closing in favour of that since it came first, and has a more descriptive title.

@uranusjr uranusjr added the Type: Duplicate This issue is a duplicate of an already-existing issue. label Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

2 participants