From bddad0baf22b37cfe079e47fd1680fdfb2183590 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sat, 22 Jun 2024 12:26:50 -0400 Subject: [PATCH 01/11] Update to python 3.12 --- Miniforge3/construct.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }} From 5c7d71354f398b482201ed70e9ff2bb659dfcfbf Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Sun, 23 Jun 2024 11:36:46 +0200 Subject: [PATCH 02/11] Update included Python version in README.md Signed-off-by: Marcel Bargull --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18ff9586..b915c7fe 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ 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 | | --------|-----------------------|-----------| From d2f7b3c29150d50fcc8eeadbee930fb694972217 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Sun, 23 Jun 2024 11:44:36 +0200 Subject: [PATCH 03/11] Add minimum OS versions to table Signed-off-by: Marcel Bargull --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index b915c7fe..202b3424 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,14 @@ Miniforge installers are available here: https://github.com/conda-forge/miniforg 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) From 3446c80e3fc4dc0d2a2e3333c6de30b162896790 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Sun, 23 Jun 2024 11:52:59 +0200 Subject: [PATCH 04/11] Include Ubuntu 24.04 in tests Signed-off-by: Marcel Bargull --- .github/workflows/ci.yml | 6 +++--- build_miniforge.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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/build_miniforge.sh b/build_miniforge.sh index e3959a32..7c93ba20 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:bullseye debian:buster} export CONSTRUCT_ROOT=/construct echo "============= Create build directory =============" From eabae5ee534395ca2105fb2aa1a246e0fff0bcd3 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Sun, 23 Jun 2024 11:45:42 +0200 Subject: [PATCH 05/11] Update Debian versions in tests Signed-off-by: Marcel Bargull --- README.md | 2 +- build_miniforge.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 202b3424..ea2dd9fd 100644 --- a/README.md +++ b/README.md @@ -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)) diff --git a/build_miniforge.sh b/build_miniforge.sh index 7c93ba20..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:24.04 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 =============" From e6d1adea1ff7ce9b9df20d6a24ce4095a2fc573e Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 23 Jun 2024 07:21:14 -0400 Subject: [PATCH 06/11] Add a note about older OSX and glibc --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index ea2dd9fd..ecbc142b 100644 --- a/README.md +++ b/README.md @@ -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? From c76e5420215f2f717041662812c134bff8c05c36 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 23 Jun 2024 08:48:30 -0400 Subject: [PATCH 07/11] Update micromamba to 1.5.8 --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 02fbbec2..dfe6b16a 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" From c94657684c06ad00b5a30746c944ef6ae520d645 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 24 Jun 2024 15:31:17 -0500 Subject: [PATCH 08/11] Set virtual pacakges before solve --- scripts/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index dfe6b16a..2fb87b6e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -53,6 +53,13 @@ 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.12 +elif [[ "${TARGET_PLATFORM}" == linux-* ]]; then + export CONDA_OVERRIDE_OSX=10.9 +fi + echo "***** Construct the installer *****" # Transmutation requires the current directory is writable cd "${TEMP_DIR}" From 9b05448c1486359c8add6c54c9510c422fa57647 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Tue, 25 Jun 2024 09:15:48 +0200 Subject: [PATCH 09/11] Set virtual packages before solve --- scripts/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 2fb87b6e..4707ea0c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -56,8 +56,10 @@ fi echo "***** Set virtual package versions *****" if [[ "${TARGET_PLATFORM}" == linux-* ]]; then export CONDA_OVERRIDE_GLIBC=2.12 -elif [[ "${TARGET_PLATFORM}" == linux-* ]]; then +elif [[ "${TARGET_PLATFORM}" == osx-64 ]]; then export CONDA_OVERRIDE_OSX=10.9 +elif [[ "${TARGET_PLATFORM}" == osx-arm64 ]]; then + export CONDA_OVERRIDE_OSX=11.0 fi echo "***** Construct the installer *****" From 27b726613c9baaf3a53882a33dd63c8d2b3b99ab Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Tue, 25 Jun 2024 09:41:41 +0200 Subject: [PATCH 10/11] Update macOS target to 10.13 PyPy builds of conda>=24.1.1 depend on pypy3.9>=7.3.15 with the latter targeting macOS>=10.13. --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 4707ea0c..5b1240b0 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -57,7 +57,7 @@ echo "***** Set virtual package versions *****" if [[ "${TARGET_PLATFORM}" == linux-* ]]; then export CONDA_OVERRIDE_GLIBC=2.12 elif [[ "${TARGET_PLATFORM}" == osx-64 ]]; then - export CONDA_OVERRIDE_OSX=10.9 + export CONDA_OVERRIDE_OSX=10.13 elif [[ "${TARGET_PLATFORM}" == osx-arm64 ]]; then export CONDA_OVERRIDE_OSX=11.0 fi From d5b7ca9779142d52d031f39ca72223a6121cbb96 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Tue, 25 Jun 2024 11:54:45 -0400 Subject: [PATCH 11/11] Increase GLIBC requirement to 2.17 Co-authored-by: Isuru Fernando --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 5b1240b0..9891a5d9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -55,7 +55,7 @@ fi echo "***** Set virtual package versions *****" if [[ "${TARGET_PLATFORM}" == linux-* ]]; then - export CONDA_OVERRIDE_GLIBC=2.12 + export CONDA_OVERRIDE_GLIBC=2.17 elif [[ "${TARGET_PLATFORM}" == osx-64 ]]; then export CONDA_OVERRIDE_OSX=10.13 elif [[ "${TARGET_PLATFORM}" == osx-arm64 ]]; then