Removal of install --lock option

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-05 16:07:07 -04:00
parent 6fcd10d2ae
commit f9414f72ac
2 changed files with 3 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
5.3.5:
- Removal of install --lock option.
5.3.4:
- Fix pip index passing.
5.3.3:
+1 -2
View File
@@ -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: