Skip to content

Commit

Permalink
Merge pull request #4652 from nid5/4642-fix
Browse files Browse the repository at this point in the history
4642 fix pipenv lock --pre doesn't include prerelease dependencies
  • Loading branch information
frostming authored Apr 17, 2021
2 parents 66713a7 + 79fe5a7 commit c81b165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/4642.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug preventing use of pipenv lock --pre
2 changes: 2 additions & 0 deletions pipenv/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,8 @@ def prepare_pip_args(self, use_pep517=False, build_isolation=True):
pip_args.append("--no-use-pep517")
if build_isolation is False:
pip_args.append("--no-build-isolation")
if self.pre:
pip_args.append("--pre")
pip_args.extend(["--cache-dir", environments.PIPENV_CACHE_DIR])
return pip_args

Expand Down

0 comments on commit c81b165

Please sign in to comment.