Sfoglia il codice sorgente

Skip check for miniforge version `4.13.0-0`

We always detect missing build scripts for `4.13.0-0` because the
release[^1] doesn't have any mambaforge artifacts. Given that we've
already created the build files, we don't need to check the release
again.

[^1]: https://github.com/conda-forge/miniforge/releases/tag/4.13.0-0
pull/2909/head
Alex Hedges 2 anni fa
parent
commit
dbbe2b63f4
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. +5
    -0
      plugins/python-build/scripts/add_miniforge.py

+ 5
- 0
plugins/python-build/scripts/add_miniforge.py Vedi File

@ -100,6 +100,11 @@ for release in requests.get(f'https://api.github.com/repos/{MINIFORGE_REPO}/rele
logger.info('Looking for %(version)s in %(out_dir)s', locals())
# Release has no mambaforge artifacts, which causes the next check to always trigger
# Build scripts have already been generated, so safe to skip this version
if version == '4.13.0-0':
continue
if any(not list(out_dir.glob(f'{distribution}*-{version}')) for distribution in DISTRIBUTIONS):
logger.info('Downloading %(version)s', locals())
add_version(release)

Caricamento…
Annulla
Salva