What is the difference between pipenv install --deploy and pipenv sync - both seem to install whatever is specified in Pipfile.lock. What am I missing?
pipenv version 2018.11.26
@haizaar Yeah they are nearly equivalent except that pipenv sync will never try to relock your dependencies(You can regard it as blind to Pipfile) while pipenv install --deploy will first check the consistency between Pipfile and Pipfile.lock and abort if they don't match.
Thanks you!
Reading docs again it looks like pipenv install --deploy will also check Python version actual vs requested in Pipfile.lock.
Most helpful comment
@haizaar Yeah they are nearly equivalent except that
pipenv syncwill never try to relock your dependencies(You can regard it as blind toPipfile) whilepipenv install --deploywill first check the consistency betweenPipfileandPipfile.lockand abort if they don't match.