You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The metadata.json file for the rules_perl module doesn't have a yanked_versions list. This is causing renovate-bot to fail upgrading this module with a schema error:
"datasource":"bazel","packageName":"rules_perl",
"err":
{
"message" : "Schema error",
"stack" :
"ZodError: Schema error
at Object.get error [as error] (/usr/local/renovate/node_modules/.pnpm/[email protected]/node_modules/zod/lib/types.js:55:31)
at ZodObject.parseAsync (/usr/local/renovate/node_modules/.pnpm/[email protected]/node_modules/zod/lib/types.js:196:22)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Http.requestJson (/usr/local/renovate/lib/util/http/index.ts:297:16)
at BazelDatasource.getReleases (/usr/local/renovate/lib/modules/datasource/bazel/index.ts:46:34)
at /usr/local/renovate/lib/util/cache/package/decorator.ts:134:20
at getRegistryReleases (/usr/local/renovate/lib/modules/datasource/index.ts:85:15)
at huntRegistries (/usr/local/renovate/lib/modules/datasource/index.ts:137:13)
at fetchReleases (/usr/local/renovate/lib/modules/datasource/index.ts:320:15)
at lookupUpdates (/usr/local/renovate/lib/workers/repository/process/lookup/index.ts:142:56)
at /usr/local/renovate/lib/workers/repository/process/fetch.ts:79:12
at Function.wrap (/usr/local/renovate/lib/util/stats.ts:38:20)
at /usr/local/renovate/lib/workers/repository/process/fetch.ts:125:23
at /usr/local/renovate/node_modules/.pnpm/[email protected]/node_modules/p-map/index.js:57:22",
"issues":{
"yanked_versions" : "Required"
}}
Version
Development (host) and target OS/architectures:
linux/x86_64
Output of bazel --version:
bazel 7.4.1
Version of relevant rules from the WORKSPACE or MODULE.bazel file:
bazel_dep(name = "rules_perl", version = "0.2.4")
Language(s) and/or frameworks involved:
n/a
How to reproduce
Can reproduce the error by using [renovate-bot](https://docs.renovatebot.com/) to manage the `rules_perl` dependency, but reviewing the file should be sufficient.
Any other information?
Similar issue was previously reported against the debian_dependency_bazelizer module in #1254.
There are other metadata.json files missing yanked_versions, which presumable will all have the same issue:
What happened?
The
metadata.json
file for therules_perl
module doesn't have ayanked_versions
list. This is causing renovate-bot to fail upgrading this module with a schema error:Version
Development (host) and target OS/architectures:
Output of
bazel --version
:Version of relevant rules from the
WORKSPACE
orMODULE.bazel
file:Language(s) and/or frameworks involved:
n/a
How to reproduce
Can reproduce the error by using [renovate-bot](https://docs.renovatebot.com/) to manage the `rules_perl` dependency, but reviewing the file should be sufficient.
Any other information?
Similar issue was previously reported against the
debian_dependency_bazelizer
module in #1254.There are other
metadata.json
files missingyanked_versions
, which presumable will all have the same issue:The text was updated successfully, but these errors were encountered: