Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74ae997 commit b945752Copy full SHA for b945752
2 files changed
docs/changelog/1003.fix.rst
@@ -0,0 +1,2 @@
1
+Fix ``_has_valid_outer_pip`` returning ``True`` when pip is missing, causing build to try using a non-existent pip
2
+instead of falling back to virtualenv.
src/build/env.py
@@ -188,7 +188,7 @@ def _has_valid_outer_pip(self) -> bool | None:
188
return True
189
return False
190
191
- return True
+ return None # pragma: no cover
192
193
@functools.cached_property
194
def _has_virtualenv(self) -> bool:
0 commit comments