0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/modules/datasource/pypi
RahulGautamSingh 49fa1be464
feat(util): getEnv (#35161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-06 18:37:28 +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__ test: migrate to vitest (#34475) 2025-02-26 09:35:54 +00:00
common.ts refactor(datasource/pypi): rename normalization function (#28584) 2024-04-22 15:37:37 +00:00
index.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
index.ts feat(util): getEnv (#35161) 2025-05-06 18:37:28 +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

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