Skip to content

Commit

Permalink
Add maintenance comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Sep 18, 2022
1 parent f39d386 commit 857df90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pip/_internal/wheel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ def _should_build(

assert check_bdist_wheel is not None
if not check_bdist_wheel(req):
# /!\ When we change this to unconditionally return True, we must also remove
# support for `--install-option`. Indeed, `--install-option` implies
# `--no-binary` so we can return False here and run `setup.py install`.
# `--global-option` and `--build-option` can remain until we drop support for
# building with `setup.py bdist_wheel`.
req.legacy_install_reason = LegacyInstallReasonNoBinaryForcesSetuptoolsInstall
return False

Expand Down

0 comments on commit 857df90

Please sign in to comment.