Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not include @ when no ref is specified #5845

Merged
merged 5 commits into from
Aug 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Handle case where vcs in Pipfile is just a string
  • Loading branch information
matteius committed Aug 22, 2023
commit 38a32398bfca74313174f2a3498341eb4fcb406c
3 changes: 2 additions & 1 deletion pipenv/utils/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,8 @@ def install_req_from_pipfile(name, pipfile):
_pipfile = dict(pipfile).copy()
else:
vcs = next(iter([vcs for vcs in VCS_LIST if pipfile.startswith(f"{vcs}+")]), None)
_pipfile[vcs] = pipfile
if vcs is not None:
_pipfile[vcs] = pipfile

extras = _pipfile.get("extras", [])
extras_str = ""
Expand Down
Loading