-
Notifications
You must be signed in to change notification settings - Fork 3k
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
"pip search" should use PackageFinder, not XML-RPC API #395
Comments
as #368 will be fixed by this ticket, it's a +1 |
any news about this issue? i'm having to work with pip behind a firewalled machine and it's not working... |
what's not working "pip search" or "pip install" ? 2012/2/22 equake <
|
This comment has been minimized.
This comment has been minimized.
Any progress on this? Pip still doesn't allow |
I'm not aware that anyone is actively working on this. I don't have any plans to work on it myself, though I'd certainly collaborate and review the work of anyone motivated to tackle it. |
This bug is still true with |
I think this can be closed now, #1902 solves the proxy issue; if we wish to use a different method to return search results for perhaps the new Warehouse PyPI infra then a new issue is probably best to discuss on a clean slate. |
The description of the ticket is about disadvantages of using XML-RPC API in pip search, but it somehow became mixed with the proxy problems, which are not related to the original message |
Reopening, I still think it is valid to use the |
AIUI, |
@brainwane @di FYI. IMO this would need to be fixed before Warehouse disables XML-RPC APIs. |
Or we'd need to expose a new search API that isn't built on top of XML-RPC. |
Hi! I'm having an issue with I wanted to do the same with This issue is very old, so I'm not sure if there is anything going on to solve this problem or if you have planned to solve this problem. So in the meantime: do you know a workaround to this issue? I suspected more people having such problems, but I could not find solutions. |
Hi,
I believe this issue should be marked as blocked by pypi/warehouse#3436 |
Can someone sketch what it would mean to use |
Since this is brought up again (latest issue reference), here are my unorganised thoughts on this:
|
Is it? Fetching the packages that match the query is the requirement. Currently queries search in both the package name and the description (and possibly elsewhere - the search functionality is a bit weird!). I'm not sure replicating that would be "easy". OTOH, if we redefine search to just search on package name, it should be OK.
-1 on this. The simple repository API should remain just that - simple. Being able to have a web server just serve a static directory using its default functionality is a key feature of the API. While extensions like this are optional, the more we add, the more we risk getting people complaining that things don't work when actually they rely on optional features which simply aren't present.
That sounds like a better option. We're going to need to do this at some point when we expose static metadata from indexes, so why not start now by standardising the JSON API, and a means to query a repository to confirm what version (if any) of the JSON API it supports? I don't know if tools like devpi support the JSON API at the moment, but I'd expect them to be more likely to do so if it were standardised. |
I have a few questions regarding this.
|
Honestly, I'd much rather we remove the command entirely: #5216 |
Closing this since I don't think we can implement this as-is.
That would be pypi/warehouse#284 -- we can revisit this if/when that API is implemented. |
Using the XML-RPC API has several disadvantages:
The text was updated successfully, but these errors were encountered: