Skip to content

PyPI's XML-RPC is deprecated #227

@webknjaz

Description

@webknjaz

Got this in CI half an hour ago:

Exception occurred:
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/xmlrpc/client.py", line 668, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: 'RuntimeError: PyPI no longer supports the XMLRPC list_packages method. Use JSON or Simple API instead. See https://github.com/pypi/warehouse/issues/16642 and https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.'>
The full traceback has been saved in /tmp/sphinx-err-q6f1kt1m.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <[https://github.com/sphinx-doc/sphinx/issues](https://github.com/sphinx-doc/sphinx/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen)>. Thanks!

(https://github.com/ansible/awx-plugins/actions/runs/10774764535/job/29877727274#step:18:45)

https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods has

Use the Simple API to query for list of project names with releases on PyPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions