Skip to content

Commit

Permalink
first pass at keeping dev in sync with develop
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
  • Loading branch information
kennethreitz committed Feb 24, 2018
1 parent d0ee9b0 commit fdebdc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,11 @@ def do_lock(verbose=False, system=False, clear=False, pre=False):
except IndexError:
pass

# Overwrite any develop packages with default packages.
for default_package in lockfile['default']:
if default_package in lockfile['develop']:
lockfile['develop'][default_package] = lockfile['default'][default_package]

# Run the PEP 508 checker in the virtualenv, add it to the lockfile.
cmd = '"{0}" {1}'.format(which('python', allow_global=system), shellquote(pep508checker.__file__.rstrip('cdo')))
c = delegator.run(cmd)
Expand Down

0 comments on commit fdebdc3

Please sign in to comment.