Skip to content

Confusing message when the wheel package is not installed #8178

Closed
@mcclurem

Description

@mcclurem

Environment

  • pip version: 20.1
  • Python version: 3.6
  • OS: CentOS 6.9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: build logicStuff related to metadata generation / wheel generation

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions