diff --git a/pipenv/core.py b/pipenv/core.py index 1f4f6702..74673337 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -2763,6 +2763,7 @@ def do_check( # Run the PEP 508 checker in the virtualenv. cmd = _cmd + [Path(pep508checker_path).as_posix()] c = run_command(cmd, is_verbose=project.s.is_verbose()) + results = [] if c.returncode is not None: try: results = simplejson.loads(c.stdout.strip()) diff --git a/pipenv/vendor/plette/lockfiles.py b/pipenv/vendor/plette/lockfiles.py index 001b360c..ccd031ba 100644 --- a/pipenv/vendor/plette/lockfiles.py +++ b/pipenv/vendor/plette/lockfiles.py @@ -90,8 +90,8 @@ class Lockfile(DataView): "requires": _copy_jsonsafe(pipfile._data.get("requires", {})), "sources": _copy_jsonsafe(pipfile.sources._data), }, - "default": {}, - "develop": {}, + "default": _copy_jsonsafe(pipfile._data.get("packages", {})), + "develop": _copy_jsonsafe(pipfile._data.get("dev-packages", {})), } return cls(data)