mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
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:
@@ -0,0 +1 @@
|
||||
Revert change that caused the credentials in source url issue.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user