diff --git a/HISTORY.txt b/HISTORY.txt index 999e19a3..54ba04f9 100644 --- a/HISTORY.txt +++ b/HISTORY.txt @@ -1,3 +1,5 @@ +5.3.5: + - Removal of install --lock option. 5.3.4: - Fix pip index passing. 5.3.3: diff --git a/pipenv/cli.py b/pipenv/cli.py index 1a7366f6..916ed4bb 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -870,11 +870,10 @@ def cli(ctx, where=False, venv=False, rm=False, bare=False, three=False, python= @click.option('--three/--two', is_flag=True, default=None, help="Use Python 3/2 when creating virtualenv.") @click.option('--python', default=False, nargs=1, help="Specify which version of Python virtualenv should use.") @click.option('--system', is_flag=True, default=False, help="System pip management.") -@click.option('--lock', is_flag=True, default=True, help="Lock afterwards.") @click.option('--hashes', is_flag=True, default=PIPENV_USE_HASHES, help="Use hashes.") @click.option('--ignore-pipfile', is_flag=True, default=False, help="Ignore Pipfile when installing, using the Pipfile.lock.") @click.option('--skip-lock', is_flag=True, default=False, help="Ignore locking mechanisms when installing—use the Pipfile, instead.") -def install(package_name=False, more_packages=False, dev=False, three=False, python=False, system=False, lock=False, hashes=True, ignore_pipfile=False, skip_lock=False): +def install(package_name=False, more_packages=False, dev=False, three=False, python=False, system=False, lock=True, hashes=True, ignore_pipfile=False, skip_lock=False): # Automatically use an activated virtualenv. if PIPENV_USE_SYSTEM: