diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d64c69eb..b042cd28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,7 +88,7 @@ jobs: # The time consuming operation is an attempt a full solve of conda/mamba/boa # for as a compatibility # xref https://github.com/conda-forge/miniforge/pull/361 - TEST_IMAGE_NAMES: "ubuntu:22.04" + TEST_IMAGE_NAMES: "ubuntu:24.04" - os: ubuntu-latest ARCH: x86_64 @@ -125,7 +125,7 @@ jobs: # The time consuming operation is an attempt a full solve of conda/mamba/boa # for as a compatibility # xref https://github.com/conda-forge/miniforge/pull/361 - TEST_IMAGE_NAMES: "ubuntu:22.04" + TEST_IMAGE_NAMES: "ubuntu:24.04" - os: ubuntu-latest ARCH: aarch64 @@ -146,7 +146,7 @@ jobs: # The time consuming operation is an attempt a full solve of conda/mamba/boa # for as a compatibility # xref https://github.com/conda-forge/miniforge/pull/361 - TEST_IMAGE_NAMES: "ubuntu:22.04" + TEST_IMAGE_NAMES: "ubuntu:24.04" - os: ubuntu-latest ARCH: x86_64 diff --git a/Miniforge3/construct.yaml b/Miniforge3/construct.yaml index c5d9a09e..703cc492 100644 --- a/Miniforge3/construct.yaml +++ b/Miniforge3/construct.yaml @@ -1,5 +1,5 @@ {% set name = os.environ.get("MINIFORGE_NAME", "Miniforge3") %} -{% set version = os.environ.get("MINIFORGE_VERSION", "24.3.0-0") %} +{% set version = os.environ.get("MINIFORGE_VERSION", "24.5.0-0") %} {% set conda_libmamba_solver_version = "24.1.0"%} {% set mamba_version = "1.5.8"%} @@ -28,7 +28,7 @@ user_requested_specs: {% if name.endswith("pypy3") %} - python 3.9.* *_pypy {% else %} - - python 3.10.* + - python 3.12.* {% endif %} - pip - conda >={{ version.split("-")[0] }} @@ -40,7 +40,7 @@ specs: {% if name.endswith("pypy3") %} - python 3.9.* *_pypy {% else %} - - python 3.10.* + - python 3.12.* {% endif %} - conda {{ version.split("-")[0] }} - conda-libmamba-solver {{ conda_libmamba_solver_version }} diff --git a/README.md b/README.md index 18ff9586..ecbc142b 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,16 @@ Miniforge installers are available here: https://github.com/conda-forge/miniforg #### Miniforge3 -Latest installers with Python 3.10 `(*)` in the base environment: +Latest installers with Python 3.12 `(*)` in the base environment: -| OS | Architecture | Download | -| --------|-----------------------|-----------| -| Linux | x86_64 (amd64) | [Miniforge3-Linux-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh) | -| Linux | aarch64 (arm64) `(**)` | [Miniforge3-Linux-aarch64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh) | -| Linux | ppc64le (POWER8/9) | [Miniforge3-Linux-ppc64le](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-ppc64le.sh) | -| OS X | x86_64 | [Miniforge3-MacOSX-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh) | -| OS X | arm64 (Apple Silicon) `(***)` | [Miniforge3-MacOSX-arm64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh) | -| Windows | x86_64 | [Miniforge3-Windows-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe) | +| OS | Architecture | Minimum Version | Download | +| --------|-------------------------------|------------------|-----------| +| Linux | x86_64 (amd64) | glibc >= 2.17 | [Miniforge3-Linux-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh) | +| Linux | aarch64 (arm64) `(**)` | glibc >= 2.17 | [Miniforge3-Linux-aarch64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh) | +| Linux | ppc64le (POWER8/9) | glibc >= 2.17 | [Miniforge3-Linux-ppc64le](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-ppc64le.sh) | +| OS X | x86_64 | macOS >= 10.13 | [Miniforge3-MacOSX-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh) | +| OS X | arm64 (Apple Silicon) `(***)` | macOS >= 11.0 | [Miniforge3-MacOSX-arm64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh) | +| Windows | x86_64 | Windows >= 7 | [Miniforge3-Windows-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe) | `(*)` The Python version is specific only to the base environment. Conda can create new environments with different Python versions and implementations. @@ -41,13 +41,13 @@ The versions listed as "System: 32-bit" are not compatible with the installers o Latest installers with PyPy 3.9 in the base environment: -| OS | Architecture | Download | -| --------|-----------------------|-----------| -| Linux | x86_64 (amd64) | [Miniforge-pypy3-Linux-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Linux-x86_64.sh) | -| Linux | aarch64 (arm64) | [Miniforge-pypy3-Linux-aarch64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Linux-aarch64.sh) | -| Linux | ppc64le (POWER8/9) | [Miniforge-pypy3-Linux-ppc64le](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Linux-ppc64le.sh) | -| OS X | x86_64 | [Miniforge-pypy3-MacOSX-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-MacOSX-x86_64.sh) | -| Windows | x86_64 | [Miniforge-pypy3-Windows-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Windows-x86_64.exe) | +| OS | Architecture | Minimum Version | Download | +| --------|--------------------|------------------|-----------| +| Linux | x86_64 (amd64) | glibc >= 2.17 | [Miniforge-pypy3-Linux-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Linux-x86_64.sh) | +| Linux | aarch64 (arm64) | glibc >= 2.17 | [Miniforge-pypy3-Linux-aarch64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Linux-aarch64.sh) | +| Linux | ppc64le (POWER8/9) | glibc >= 2.17 | [Miniforge-pypy3-Linux-ppc64le](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Linux-ppc64le.sh) | +| OS X | x86_64 | macOS >= 10.13 | [Miniforge-pypy3-MacOSX-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-MacOSX-x86_64.sh) | +| Windows | x86_64 | Windows >= 7 | [Miniforge-pypy3-Windows-x86_64](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Windows-x86_64.exe) |
Mambaforge (Discouraged as of September 2023) @@ -240,8 +240,8 @@ after installation so the software may be used more conveniently from any comman After construction on the CI, the installer is tested against a range of distribution that match the installer architecture (`$ARCH`). For example when architecture is `aarch64`, the constructed installer is tested against: - Centos 7 -- Debian Buster (10) - Debian Bullseye (11) +- Debian Bookworm (12) - Ubuntu 16.04 ([LTS](https://ubuntu.com/about/release-cycle)) - Ubuntu 18.04 ([LTS](https://ubuntu.com/about/release-cycle)) - Ubuntu 20.04 ([LTS](https://ubuntu.com/about/release-cycle)) @@ -259,6 +259,19 @@ export DOCKERIMAGE=condaforge/linux-anvil-aarch64 bash build_miniforge.sh ``` +## Support for older operating systems + +### Support for macOS 10.9-10.12 +If you require support for macOS 10.9 through 10.12 you may download version +24.3.0-0 of miniforge available at +https://github.com/conda-forge/miniforge/releases/tag/24.3.0-0 + +### Support for glibc 2.12-2.16 + +If you require support for glibc 2.12 through 2.16 you may download version +24.3.0-0 of miniforge available at +https://github.com/conda-forge/miniforge/releases/tag/24.3.0-0 + ## FAQ ### What's the difference between Mambaforge and Miniforge? diff --git a/build_miniforge.sh b/build_miniforge.sh index e3959a32..f42d2426 100755 --- a/build_miniforge.sh +++ b/build_miniforge.sh @@ -17,7 +17,7 @@ DOCKERIMAGE=${DOCKERIMAGE:-condaforge/linux-anvil-aarch64} export MINIFORGE_NAME=${MINIFORGE_NAME:-Miniforge3} OS_NAME=${OS_NAME:-Linux} EXT=${EXT:-sh} -TEST_IMAGE_NAMES=${TEST_IMAGE_NAMES:-ubuntu:22.04 ubuntu:20.04 ubuntu:18.04 ubuntu:16.04 centos:7 debian:bullseye debian:buster} +TEST_IMAGE_NAMES=${TEST_IMAGE_NAMES:-ubuntu:24.04 ubuntu:22.04 ubuntu:20.04 ubuntu:18.04 ubuntu:16.04 centos:7 debian:bookworm debian:bullseye} export CONSTRUCT_ROOT=/construct echo "============= Create build directory =============" diff --git a/scripts/build.sh b/scripts/build.sh index 02fbbec2..9891a5d9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -38,7 +38,7 @@ cp LICENSE "${TEMP_DIR}/" ls -al "${TEMP_DIR}" if [[ "${TARGET_PLATFORM}" != win-* ]]; then - MICROMAMBA_VERSION=1.5.7 + MICROMAMBA_VERSION=1.5.8 MICROMAMBA_BUILD=0 mkdir "${TEMP_DIR}/micromamba" pushd "${TEMP_DIR}/micromamba" @@ -53,6 +53,15 @@ if [[ "${TARGET_PLATFORM}" != win-* ]]; then EXTRA_CONSTRUCTOR_ARGS="${EXTRA_CONSTRUCTOR_ARGS} --conda-exe ${MICROMAMBA_FILE} --platform ${TARGET_PLATFORM}" fi +echo "***** Set virtual package versions *****" +if [[ "${TARGET_PLATFORM}" == linux-* ]]; then + export CONDA_OVERRIDE_GLIBC=2.17 +elif [[ "${TARGET_PLATFORM}" == osx-64 ]]; then + export CONDA_OVERRIDE_OSX=10.13 +elif [[ "${TARGET_PLATFORM}" == osx-arm64 ]]; then + export CONDA_OVERRIDE_OSX=11.0 +fi + echo "***** Construct the installer *****" # Transmutation requires the current directory is writable cd "${TEMP_DIR}"