pyenv/plugins/python-build/scripts
Alex Hedges a43259a186 Fix overly broad check for existing miniforge build files
The glob pattern we were using was too permissive and detecting
miniconda build scripts as miniforge build scripts when they shared the
same version. I have rewritten the pattern matching code to ensure we
only look at files starting with `miniforge` and `mambaforge`.
2024-02-26 18:44:05 -05:00
..
add_miniconda.py Determine Python versions properly for Anaconda 2023-10-21 19:05:48 -04:00
add_miniforge.py Fix overly broad check for existing miniforge build files 2024-02-26 18:44:05 -05:00
README.md
requirements.txt

Scripts for updating python-build

Install dependencies with pip install -r requirements.txt.

add_miniconda.py

usage: add_miniconda.py [-h] [-d] [-v]

Script to add non-"latest" miniconda releases. Written for python 3.7. Checks
the miniconda download archives for new versions, then writes a build script
for any which do not exist locally, saving it to plugins/python-
build/share/python-build. Ignores releases below 4.3.30. Also ignores sub-
patch releases if that major.minor.patch already exists, but otherwise, takes
the latest sub-patch release for given OS/arch. Assumes all miniconda3
releases < 4.7 default to python 3.6, and anything else 3.7.

optional arguments:
  -h, --help     show this help message and exit
  -d, --dry-run  Do not write scripts, just report them to stdout
  -v, --verbose  Increase verbosity of logging