renovate/lib/modules/datasource/conda
renovate[bot] fffd986fa7
chore(deps): update linters (main) (#35113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-04-02 14:28:27 +00:00
..
__fixtures__ refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
__snapshots__ feat(datasource/conda): support calling prefix.dev (#34681) 2025-03-14 22:44:37 +00:00
schema feat(datasource/conda): support calling prefix.dev (#34681) 2025-03-14 22:44:37 +00:00
common.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
index.spec.ts feat(datasource/conda): support calling prefix.dev (#34681) 2025-03-14 22:44:37 +00:00
index.ts feat(datasource/conda): support calling prefix.dev (#34681) 2025-03-14 22:44:37 +00:00
prefix-dev.ts chore(deps): update linters (main) (#35113) 2025-04-02 14:28:27 +00:00
readme.md feat(datasource/conda): support calling prefix.dev (#34681) 2025-03-14 22:44:37 +00:00
types.ts feat(datasource/conda): support calling prefix.dev (#34681) 2025-03-14 22:44:37 +00:00

readme.md

This datasource returns releases for package from anaconda registry and prefix.dev. Other repositories are not supported currently.

This datasource support following cases:

Look up numpy in conda-forge channel on anaconda.

{
  packageName: 'conda-forge/numpy',
}

Look up numpy in conda-forge channel from prefix.dev using API https://prefix.dev/api/graphql.

{
  packageName: 'numpy',
  registryUrls: ["https://prefix.dev/conda-forge/"]
}

Multiple channels support

{
  packageName: 'some-package',
  registryUrls: [
    "https://api.anaconda.org/package/conda-forge/",
    "https://prefix.dev/conda-forge/",
  ]
}

The above example will lookup try to find the package on anaconda first, if the package can not be found on prefix.dev.