Skip to content

Commit a0dead9

Browse files
authored
Merge pull request #13330 from stefanor/no-wheel-required
Remove check for wheel in --no-use-pep517
2 parents fa8cf0c + 5e12ee4 commit a0dead9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

news/13330.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Don't require the ``wheel`` library to be installed to use ``--no-use-pep517``, any more.

src/pip/_internal/cli/cmdoptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,9 @@ def _handle_no_use_pep517(
824824
"""
825825
raise_option_error(parser, option=option, msg=msg)
826826

827-
# If user doesn't wish to use pep517, we check if setuptools and wheel are installed
827+
# If user doesn't wish to use pep517, we check if setuptools is installed
828828
# and raise error if it is not.
829-
packages = ("setuptools", "wheel")
829+
packages = ("setuptools",)
830830
if not all(importlib.util.find_spec(package) for package in packages):
831831
msg = (
832832
f"It is not possible to use --no-use-pep517 "

0 commit comments

Comments
 (0)