Skip to content

Commit

Permalink
Merge pull request #12683 from ichard26/disable-self-version-check-in…
Browse files Browse the repository at this point in the history
…-pep517

Disable self version check in PEP 517 pip subprocesses
  • Loading branch information
pfmoore authored Jul 2, 2024
2 parents c25a522 + 9697688 commit abde745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions news/12683.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Disable pip's self version check when invoking a pip subprocess to install
PEP 517 build requirements.
1 change: 1 addition & 0 deletions src/pip/_internal/build_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def _install_requirements(
"--prefix",
prefix.path,
"--no-warn-script-location",
"--disable-pip-version-check",
]
if logger.getEffectiveLevel() <= logging.DEBUG:
args.append("-vv")
Expand Down

0 comments on commit abde745

Please sign in to comment.