Feature request: "pip find" to replace internal PackageFinder usage #6740
Labels
auto-locked
Outdated issues that have been locked by automation
resolution: duplicate
Duplicate of an existing issue/PR
What's the problem this feature will solve?
Currently there is no way for third-party projects to use
PackageFinder
's logic via the command line. Instead, projects likepip-compile
andpipenv
need to import from the_internal
API.Describe the solution you'd like
Ideally this would mimic
PackageFinder.find_all_candidates()
as much as possible, and would have a human-friendly and machine-friendly format. Something like:Alternative Solutions
PackageFinder
logic into a separate package (Splitting out PackageFinder logic #5800) and having third-parties use this insteadpip search
to usePackageFinder
("pip search" should use PackageFinder, not XML-RPC API #395) and add extra options there to overload the current behavior/API ofpip search
Additional context
Recent internal API changes in 19.2 will break
pip-compile
: jazzband/pip-tools#853The text was updated successfully, but these errors were encountered: