Skip to content

Commit abde745

Browse files
authored
Merge pull request #12683 from ichard26/disable-self-version-check-in-pep517
Disable self version check in PEP 517 pip subprocesses
2 parents c25a522 + 9697688 commit abde745

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

news/12683.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Disable pip's self version check when invoking a pip subprocess to install
2+
PEP 517 build requirements.

src/pip/_internal/build_env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def _install_requirements(
241241
"--prefix",
242242
prefix.path,
243243
"--no-warn-script-location",
244+
"--disable-pip-version-check",
244245
]
245246
if logger.getEffectiveLevel() <= logging.DEBUG:
246247
args.append("-vv")

0 commit comments

Comments
 (0)