HomeSoftware Heritage

swh.lister.pypi: Use xmlrpc api to list pypi's origins

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

swh.lister.pypi: Use xmlrpc api to list pypi's origins

Following discussion with team, the xmlrpc api is not deprecated
today. It will not disappear soon.

Also, as:

  • parsing the legacy html api [1] is considered bad practice
  • discussions exist to create equivalent apis to their deprecated/legacy apis [1] [2]

We chose to implement the xmlrpc one.

[1] https://warehouse.readthedocs.io/api-reference/legacy/#simple-project-api

[2] https://github.com/pypa/warehouse/issues/284

[3] https://github.com/pypa/warehouse/pull/4078

Related T422

Details

Provenance
ardumontAuthored on Jul 31 2018, 8:32 AM
ardumontPushed on Jul 31 2018, 8:55 AM

Commit No Longer Exists

This commit no longer exists in the repository.