We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa8cf0c + 5e12ee4 commit a0dead9Copy full SHA for a0dead9
news/13330.bugfix.rst
@@ -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
@@ -824,9 +824,9 @@ def _handle_no_use_pep517(
824
"""
825
raise_option_error(parser, option=option, msg=msg)
826
827
- # If user doesn't wish to use pep517, we check if setuptools and wheel are installed
+ # If user doesn't wish to use pep517, we check if setuptools is installed
828
# and raise error if it is not.
829
- packages = ("setuptools", "wheel")
+ packages = ("setuptools",)
830
if not all(importlib.util.find_spec(package) for package in packages):
831
msg = (
832
f"It is not possible to use --no-use-pep517 "
0 commit comments