Revert change that caused the credentials in source url issue (#5882)

* fully revert this change to fix the credentials in source url issue
This commit is contained in:
Matt Davis
2023-08-28 19:52:21 -04:00
committed by GitHub
parent 6cd5a99df0
commit 413675fd33
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
Revert change that caused the credentials in source url issue.
+2 -2
View File
@@ -266,7 +266,7 @@ class Resolver:
pip_args.extend(["--cache-dir", self.project.s.PIPENV_CACHE_DIR])
return pip_args
@cached_property
@property # cached_property breaks authenticated private indexes
def pip_args(self):
use_pep517 = environments.get_from_env("USE_PEP517", prefix="PIP")
build_isolation = environments.get_from_env("BUILD_ISOLATION", prefix="PIP")
@@ -298,7 +298,7 @@ class Resolver:
)
return default_constraint_filename
@cached_property
@property # cached_property breaks authenticated private indexes
def pip_options(self):
pip_options, _ = self.pip_command.parser.parse_args(self.pip_args)
pip_options.cache_dir = self.project.s.PIPENV_CACHE_DIR