Skip to content

Commit b03dd3e

Browse files
committed
Patch out the BASE configuration location)
1 parent 87678ee commit b03dd3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pip/_internal/configuration.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ def get_configuration_files() -> Dict[Kind, List[str]]:
8787
)
8888
new_config_file = os.path.join(appdirs.user_config_dir("pip"), CONFIG_BASENAME)
8989
return {
90-
kinds.BASE: [base_config_file],
90+
# TEMPORARY FIX: Remove BASE location
91+
# kinds.BASE: [base_config_file],
9192
kinds.GLOBAL: global_config_files,
9293
kinds.SITE: [site_config_file],
9394
kinds.USER: [legacy_config_file, new_config_file],
@@ -354,7 +355,8 @@ def iter_config_files(self) -> Iterable[Tuple[Kind, List[str]]]:
354355
# The legacy config file is overridden by the new config file
355356
yield kinds.USER, config_files[kinds.USER]
356357

357-
yield kinds.BASE, config_files[kinds.BASE]
358+
# TEMPORARY FIX: Remove BASE location
359+
# yield kinds.BASE, config_files[kinds.BASE]
358360

359361
# finally virtualenv configuration first trumping others
360362
yield kinds.SITE, config_files[kinds.SITE]

0 commit comments

Comments
 (0)