Skip to content

Commit d35a098

Browse files
committed
Automatically do --no-use-pep517 builds, even without wheel
In #13330 I removed the command line argument check for this, but I hadn't realized that there were also heuristics that needed to be fixed.
1 parent c440c47 commit d35a098

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

news/13358.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Automatically use the legacy (non-PEP517) mode even without the `wheel` package.

src/pip/_internal/pyproject.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ def load_pyproject_toml(
108108
use_pep517 = (
109109
has_pyproject
110110
or not importlib.util.find_spec("setuptools")
111-
or not importlib.util.find_spec("wheel")
112111
)
113112

114113
# At this point, we know whether we're going to use PEP 517.

0 commit comments

Comments
 (0)