Skip to content
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

Shouldn't the docs mention pip search is deprecated on PyPi? #12059

Closed
1 task done
JamesParrott opened this issue May 28, 2023 · 2 comments · Fixed by #12271
Closed
1 task done

Shouldn't the docs mention pip search is deprecated on PyPi? #12059

JamesParrott opened this issue May 28, 2023 · 2 comments · Fixed by #12271
Labels
state: awaiting PR Feature discussed, PR is needed type: docs Documentation related type: enhancement Improvements to functionality

Comments

@JamesParrott
Copy link

JamesParrott commented May 28, 2023

What's the problem this feature will solve?

pip search has been deprecated on PyPi, but the docs for pip search don't mention anything about this

readable docs: https://pip.pypa.io/en/stable/cli/pip_search/
source for docs: https://github.com/pypa/pip/blob/main/docs/html/cli/pip_search.rst

Describe the solution you'd like

The documentation to mention that pip search now requires a custom repository

Alternative Solutions

Any alternative solution than simply adding a line to the docs is way more work, and unneccessary.

Additional context

https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods
https://status.python.org/incidents/grk0k7sz6zkp

# pip search requests
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead. See https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.

Code of Conduct

@JamesParrott JamesParrott added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels May 28, 2023
@pradyunsg pradyunsg added type: enhancement Improvements to functionality type: docs Documentation related state: awaiting PR Feature discussed, PR is needed and removed type: feature request Request for a new feature S: needs triage Issues/PRs that need to be triaged labels May 29, 2023
@pradyunsg
Copy link
Member

Seems reasonable to me! I think adding a link to the warehouse documentation, to reflect this is likely a good idea. :)

@pradyunsg
Copy link
Member

I've labelled this issue as an "awaiting PR". This label is essentially for indicating that the next step here is for someone to file a PR implementing the suggested change.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
state: awaiting PR Feature discussed, PR is needed type: docs Documentation related type: enhancement Improvements to functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants