renovate/lib/modules/datasource/pypi
Rhys Arkins c868ed0634
feat(datasource/pypi): always fallback to try simple endpoints (#32024)
2024-11-27 08:57:59 +00:00
..
__fixtures__ fix(datasource/pypi): handle non-normalized package names for pypi simple lookup (#30716) 2024-08-14 14:16:40 +00:00
__snapshots__ feat(datasource/pypi): always fallback to try simple endpoints (#32024) 2024-11-27 08:57:59 +00:00
common.ts refactor(datasource/pypi): rename normalization function (#28584) 2024-04-22 15:37:37 +00:00
index.spec.ts feat(datasource/pypi): always fallback to try simple endpoints (#32024) 2024-11-27 08:57:59 +00:00
index.ts feat(datasource/pypi): always fallback to try simple endpoints (#32024) 2024-11-27 08:57:59 +00:00
readme.md feat(datasource/pypi): always fallback to try simple endpoints (#32024) 2024-11-27 08:57:59 +00:00
types.ts refactor(datasource): Prefer interface over type (#16707) 2022-07-22 12:18:58 +00:00

readme.md

This datasource uses the following logic to determine lookup URLs:

  • If the normalized registryUrl ends in /simple/ or /+simple/ then only the simple API will be tried
  • Otherwise, the JSON API will be tried first
  • If the JSON API returns a result, it will be used
  • If the JSON API throws an error (e.g. 403, 404) then the simple API will be tried