Skip to content

pip3 search finds only libraries with whitespace/dash after search term #5506

@meridsa

Description

@meridsa

Environment

  • pip version: 19.0.3
  • Python version: 3.7.1
  • OS: macOS Mojave 10.14.3
  • Terminal: Default apple Terminal: 2.9.1

Description
Searching a term with pip3 search [foo] will only return libraries or descriptions with [foo] followed by whitespace or dash. Whilst any prefixes or upper/lower combination will be returned. I am wondering if this is a result of the terminal adding a whitespace after any command being entered.

Expected behavior
Returning all libraries that include the term in anyway in the description or name.

How to Reproduce
Search any term you know is included/vital in a library but does not end in the term.
Ex: pip3 search wx -> fails to return wxPython

screenshot 2019-03-01 at 14 34 00

screenshot 2019-03-01 at 14 34 41

This issue was raised in pip repository, was told this was the more appropriate repo for raising this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    searchOpensearch, search filters, and so on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions