From 123690c3eb9340a1069462883b93ce792b93d0de Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Tue, 24 Apr 2018 00:08:21 -0400 Subject: [PATCH] Re-add check for vcs pkgs presence in pipfile - This was removed in a refactor for no discernable reason - The logic is still present in dev-packages - Fixes #1130 Signed-off-by: Dan Ryan --- pipenv/core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pipenv/core.py b/pipenv/core.py index 3153803318..65afb34b3a 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1126,6 +1126,11 @@ def do_lock( pip_freeze = delegator.run('{0} freeze'.format(escape_grouped_arguments(which_pip(allow_global=system)))).out for dep in vcs_deps: for line in pip_freeze.strip().split('\n'): + # if the line doesn't match a vcs dependency in the Pipfile, + # ignore it + if not any(dep in line for dep in vcs_deps): + continue + try: installed = convert_deps_from_pip(line) name = list(installed.keys())[0]