-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing message when the wheel package is not installed #8178
Comments
Linking #7768 |
Example output when reinstalling $ pip install ./packaging Processing ./packaging
Requirement already satisfied: pyparsing>=2.0.2 in /tmp/venv/lib/python3.7/site-packages (from packaging==20.1) (2.4.7)
Requirement already satisfied: six in /tmp/venv/lib/python3.7/site-packages (from packaging==20.1) (1.14.0)
Could not build wheels for packaging, since package 'wheel' is not installed.
Could not build wheels for pyparsing, since package 'wheel' is not installed.
Could not build wheels for six, since package 'wheel' is not installed.
Installing collected packages: packaging
Attempting uninstall: packaging
Found existing installation: packaging 20.1
Uninstalling packaging-20.1:
Successfully uninstalled packaging-20.1
Running setup.py install for packaging ... done
Successfully installed packaging-20.1 |
Improved output with #8180 : $ pip install ./packaging
Processing ./packaging
Requirement already satisfied: pyparsing>=2.0.2 in /tmp/venv/lib/python3.7/site-packages (from packaging==20.1) (2.4.7)
Requirement already satisfied: six in /tmp/venv/lib/python3.7/site-packages (from packaging==20.1) (1.14.0)
Using legacy setup.py install for packaging, since package 'wheel' is not installed.
Installing collected packages: packaging
Attempting uninstall: packaging
Found existing installation: packaging 20.1
Uninstalling packaging-20.1:
Successfully uninstalled packaging-20.1
Running setup.py install for packaging ... done
Successfully installed packaging-20.1 |
I'd be happy to test it, is there an easy trick for testing/installing pip from a git hash or do I need to check it out and then do a "python setup.py install"? |
|
Looks good! |
126: Update pip to 20.1.1 r=duckinator a=pyup-bot This PR updates [pip](https://pypi.org/project/pip) from **20.1** to **20.1.1**. <details> <summary>Changelog</summary> ### 20.1.1 ``` =================== Deprecations and Removals ------------------------- - Revert building of local directories in place, restoring the pre-20.1 behaviour of copying to a temporary directory. (`7555 <https://github.com/pypa/pip/issues/7555>`_) - Drop parallelization from ``pip list --outdated``. (`8167 <https://github.com/pypa/pip/issues/8167>`_) Bug Fixes --------- - Fix metadata permission issues when umask has the executable bit set. (`8164 <https://github.com/pypa/pip/issues/8164>`_) - Avoid unnecessary message about the wheel package not being installed when a wheel would not have been built. Additionally, clarify the message. (`8178 <https://github.com/pypa/pip/issues/8178>`_) ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/pip - Changelog: https://pyup.io/changelogs/pip/ - Homepage: https://pip.pypa.io/ </details> Co-authored-by: pyup-bot <github-bot@pyup.io>
Environment
Description
I happen to have a script that myself and my coworkers I run frequently to create a virtualenv, update to the latest version of pip, then install a pinned requirements.txt as part of my daily workflow. Suddenly when I ran it today I got a whole lot of:
Could not build wheels for <pkgname>, since package 'wheel' is not installed.
I got this message even though all my requirements were actually up to date so it shouldn't have even been trying to build wheels.
The wording of this is extremely jarring and especially since theres no coloration of the output or a prefix saying "INFO" or something, the first assumption that myself and my coworkers made was that our package installation wasn't happening correctly.
This pull request should be reverted or at the very least the language changed a lot because it will cause a lot of panic. I would argue that it should only launch a single log line at the top that says something like "Info: the package wheel isn't installed, so we won't try building any wheels" instead of printing one line for each package
The text was updated successfully, but these errors were encountered: