Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius authored and oz123 committed Jul 23, 2023
1 parent a72e961 commit 76d40f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipenv/utils/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ def venv_resolve_deps(
deps = convert_deps_to_pip(deps, project, include_index=True)
constraints = set(deps)
st.console.print("Resolving dependencies...")
# Useful for debugging and hitting breakpoints in the resolver
if project.s.PIPENV_RESOLVER_PARENT_PYTHON:
try:
results = resolver.resolve_packages(
Expand All @@ -1079,7 +1080,7 @@ def venv_resolve_deps(
environments.PIPENV_SPINNER_FAIL_TEXT.format("Locking Failed!")
)
raise
else: # Default behavior is to use project python's resolver
else: # Default/Production behavior is to use project python's resolver
cmd = [
which("python", allow_global=allow_global),
Path(resolver.__file__.rstrip("co")).as_posix(),
Expand Down

0 comments on commit 76d40f5

Please sign in to comment.