We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a14f9aa + 88da344 commit 76b8651Copy full SHA for 76b8651
src/pip/_internal/wheel_builder.py
@@ -119,11 +119,8 @@ def _should_cache(
119
wheel cache, assuming the wheel cache is available, and _should_build()
120
has determined a wheel needs to be built.
121
"""
122
- if not should_build_for_install_command(
123
- req, check_binary_allowed=_always_true
124
- ):
125
- # never cache if pip install would not have built
126
- # (editable mode, etc)
+ if req.editable or not req.source_dir:
+ # never cache editable requirements
127
return False
128
129
if req.link and req.link.is_vcs:
0 commit comments