You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short-circuit get_requires hooks when there are no extra build dependencies
The PEP 517 get_requires_for_build_(wheel|sdist) hooks function by
running the egg_info command with a patched Distribution that raises a
special exception when build dependencies (from setup_requires) are
about to be installed.
This works great at minimizing the overhead of the requires hooks...
except when there are no dynamic build dependencies. In such a
situation, the injected install_build_eggs() shim that raises
SetupRequirementsError is never invoked, thus the entire egg_info
command will execute. This often results in substantial overhead
for modern projects that use [build-system].requires and not
setup_requires.
0 commit comments