Merge pull request #4652 from nid5/4642-fix

4642 fix pipenv lock --pre doesn't include prerelease dependencies
This commit is contained in:
Frost Ming
2021-04-17 16:45:12 +08:00
committed by GitHub
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Fix bug preventing use of pipenv lock --pre
+2
View File
@@ -705,6 +705,8 @@ class Resolver(object):
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