Files
renovate/lib
Alex Thomae 1c3a16c6a5 fix(datasource/pypi): allow null home_page in PyPI JSON response (#43814)
* fix(datasource/pypi): allow null home_page in PyPI JSON response

PyPI returns "home_page": null for projects that declare only
project_urls. The strict z.string().optional() schema threw a ZodError
in getDependency, aborting the JSON-API lookup and resolving such
packages to no-result. Use .nullish() to accept null, matching how
requires_python already handles PyPI's nulls.

* fix(datasource/pypi): allow missing home_page in PyPI JSON response

Apply the suggestion to chain `.optional()` and `.nullish()`.
2026-06-05 11:34:34 +00:00
..