You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipenv lock -r returns the exact same output when given the same Pipfile and Pipfile.lock.
Actual result
pipenv lock -r randomly reorders lines on each run. This becomes a problem when combined with pipenv lock -r > requirements.txt and version control, as it chances requirements.txt even if there is no actual change.
Steps to replicate
Create a project with Pipfile and Pipfile.lock (mine for reference). Run pipenv lock -r.
Workaound
A possible workaround is pipenv lock -r | sort.
The text was updated successfully, but these errors were encountered:
While not a real solution to the problem, why not generate requirements.txt on the fly when you need it? In fact, I would argue that you shouldn't commit it since at best it just duplicates whatever is in Pipfile and at worst they would differ because someone forgot to do pipenv lock -r > requirements.txt.
Describe your environment
Ubuntu 17.04, Python 3.5.3, pipenv 9.0.1
Expected result
pipenv lock -r
returns the exact same output when given the same Pipfile and Pipfile.lock.Actual result
pipenv lock -r
randomly reorders lines on each run. This becomes a problem when combined withpipenv lock -r > requirements.txt
and version control, as it chancesrequirements.txt
even if there is no actual change.Steps to replicate
Create a project with Pipfile and Pipfile.lock (mine for reference). Run
pipenv lock -r
.Workaound
A possible workaround is
pipenv lock -r | sort
.The text was updated successfully, but these errors were encountered: