Skip to content

Commit

Permalink
potentially fix vcs ref null issue
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Oct 24, 2024
1 parent 1f8cee7 commit 447c90e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions pipenv/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def get_cleaned_dict(self):
for key in VCS_LIST:
if key in self.lockfile_dict:
self.entry_dict[key] = self.lockfile_dict[key]
self.entry_dict["ref"] = self.lockfile_dict["ref"]
self.entry_dict.pop("version", None)
return self.entry_dict

Expand Down
2 changes: 0 additions & 2 deletions pipenv/utils/project.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import sys
from functools import lru_cache
from typing import Optional

from pipenv import exceptions
Expand Down Expand Up @@ -97,7 +96,6 @@ def ensure_project(
os.environ["PIP_PYTHON_PATH"] = project.python(system=system)


@lru_cache
def get_setuptools_version() -> Optional["STRING_TYPE"]:
try:
setuptools_dist = importlib_metadata.distribution("setuptools")
Expand Down

0 comments on commit 447c90e

Please sign in to comment.