pip search
only finds whole-word matches
#6842
Labels
C: search
'pip search'
state: needs discussion
This needs some more discussion
type: enhancement
Improvements to functionality
Environment
Description
pip search
only returns results where the query term is a "whole word" in the package name or description (delimited by hyphen or space).So e.g.
pip search prometheus
will find prometheus-foo, but not prometheus_client.This issue was raised in #6309, which was closed as being a PyPi issue, however PyPi does succeed with the above query, contrary to one of the comments on that issue before it was closed/locked.
Related bug against PyPi: pypi/warehouse#5506
Expected behavior
pip search foo
returns anything with the substring foo in the name or summary.The text was updated successfully, but these errors were encountered: