diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 2a55d072b..01723d2c2 100644 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -5,49 +5,49 @@ jobs: - job: osx pool: - vmImage: $(VMIMAGE) + vmImage: $(vm_image) strategy: matrix: osx_64_build_typedebugchannel_targetsconda-forge_python_debug: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debug UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 resize_partitions: false store_build_artifacts: false tools_install_dir: ~/miniforge3 + vm_image: macOS-15 osx_64_build_typereleasechannel_targetsconda-forge_main: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_main UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 resize_partitions: false store_build_artifacts: false tools_install_dir: ~/miniforge3 + vm_image: macOS-15 osx_arm64_build_typedebugchannel_targetsconda-forge_python_debug: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debug UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15-arm64 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 resize_partitions: false store_build_artifacts: false tools_install_dir: ~/miniforge3 + vm_image: macOS-15-arm64 osx_arm64_build_typereleasechannel_targetsconda-forge_main: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_main UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15-arm64 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 resize_partitions: false store_build_artifacts: false tools_install_dir: ~/miniforge3 + vm_image: macOS-15-arm64 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/migrations/libffi37.yaml b/.ci_support/migrations/libffi37.yaml deleted file mode 100644 index 59a7a7f5a..000000000 --- a/.ci_support/migrations/libffi37.yaml +++ /dev/null @@ -1,8 +0,0 @@ -__migrator: - build_number: 1 - commit_message: Rebuild for libffi 3.7 - kind: version - migration_number: 1 -libffi: -- '3.7' -migrator_ts: 1783528989.6688116 diff --git a/.ci_support/migrations/zstd16.yaml b/.ci_support/migrations/zstd16.yaml new file mode 100644 index 000000000..89d280273 --- /dev/null +++ b/.ci_support/migrations/zstd16.yaml @@ -0,0 +1,14 @@ +__migrator: + build_number: 1 + commit_message: Rebuild for zstd 1.6 + kind: version + migration_number: 1 + exclude: + # bot misdetects a cycle + - binutils # build-only dep for python + - cmake + - curl + - llvmdev +migrator_ts: 1795498666.105089 +zstd: +- '1.6' diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debug.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debug.yaml index b00b71b0d..925b41bef 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debug.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debug.yaml @@ -7,7 +7,7 @@ bzip2: c_compiler: - clang c_compiler_version: -- '21' +- '22' c_stdlib: - macosx_deployment_target c_stdlib_version: @@ -19,7 +19,7 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '21' +- '22' expat: - '2' libffi: diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_main.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_main.yaml index 4d903df57..5f5b94644 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_main.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_main.yaml @@ -7,7 +7,7 @@ bzip2: c_compiler: - clang c_compiler_version: -- '21' +- '22' c_stdlib: - macosx_deployment_target c_stdlib_version: @@ -19,7 +19,7 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '21' +- '22' expat: - '2' libffi: diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debug.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debug.yaml index c13c23afd..8d9342376 100644 --- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debug.yaml +++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debug.yaml @@ -7,7 +7,7 @@ bzip2: c_compiler: - clang c_compiler_version: -- '21' +- '22' c_stdlib: - macosx_deployment_target c_stdlib_version: @@ -19,7 +19,7 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '21' +- '22' expat: - '2' libffi: diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_main.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_main.yaml index cded1eacb..b4f80b4de 100644 --- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_main.yaml +++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_main.yaml @@ -7,7 +7,7 @@ bzip2: c_compiler: - clang c_compiler_version: -- '21' +- '22' c_stdlib: - macosx_deployment_target c_stdlib_version: @@ -19,7 +19,7 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '21' +- '22' expat: - '2' libffi: diff --git a/.ci_support/win_64_.yaml b/.ci_support/win_64_.yaml index 318573673..f8b4ca77d 100644 --- a/.ci_support/win_64_.yaml +++ b/.ci_support/win_64_.yaml @@ -3,7 +3,9 @@ build_type: bzip2: - '1' c_compiler: -- vs2022 +- vs +c_compiler_version: +- '2022' c_stdlib: - vs channel_sources: @@ -11,7 +13,9 @@ channel_sources: channel_targets: - conda-forge main cxx_compiler: -- vs2022 +- vs +cxx_compiler_version: +- '2022' expat: - '2' libffi: diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 9a08751fe..2769e63d8 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -28,20 +28,28 @@ export RATTLER_CACHE_DIR="${CONDA_BLD_PATH}/pkg_cache" ( endgroup "Configuring build environment" ) 2> /dev/null arch=$(uname -m) +MICROMAMBA_VERSION="2.10.0-0" +MINIFORGE_VERSION="26.9.4-2" if [[ "${arch}" == "x86_64" ]]; then arch="64" + MICROMAMBA_SHA256="8421462a1ef1df9f7acd114f9e2a24c1332ce4f4e29f44465b4acb44e2755172" + MINIFORGE_SHA256="30e82ce68875fc50b917a3a541ea0516272866584187f7ea980ce8eaf715807d" +else + # arch is already correct + MICROMAMBA_SHA256="c547639f5caf742236641c362746abb4a3505774753ecd08fe341643670c4c01" + MINIFORGE_SHA256="fb567612b76f4ef46de326f04425dbe381b6afc6a66c545f5043255a5ef34258" fi ( startgroup "Provisioning base env with micromamba" ) 2> /dev/null MAMBA_ROOT_PREFIX="${MINIFORGE_HOME}-micromamba-$(date +%s)" -MICROMAMBA_VERSION="2.9.0-0" MICROMAMBA_URL="https://github.com/mamba-org/micromamba-releases/releases/download/${MICROMAMBA_VERSION}/micromamba-osx-${arch}" MICROMAMBA_TMPDIR=$(mktemp -d) MICROMAMBA_EXE=${MICROMAMBA_TMPDIR}/micromamba echo "Downloading micromamba ${MICROMAMBA_VERSION}" -curl -L -o "${MICROMAMBA_EXE}" "${MICROMAMBA_URL}" +curl --fail --retry 5 --retry-delay 5 -L -o "${MICROMAMBA_EXE}" "${MICROMAMBA_URL}" +echo "${MICROMAMBA_SHA256} *${MICROMAMBA_EXE}" | shasum -a 256 -c chmod +x "${MICROMAMBA_EXE}" echo Creating environment diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index bb04aa492..2bb22a762 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -22,22 +22,36 @@ set RECIPE_ROOT=%FEEDSTOCK_ROOT%\recipe set CI_SUPPORT=%FEEDSTOCK_ROOT%\.ci_support set CONFIG_FILE=%CI_SUPPORT%\%CONFIG%.yaml -set "arch=64" -if "%PROCESSOR_ARCHITECTURE%"=="ARM64" set "arch=arm64" +set "MICROMAMBA_VERSION=2.10.0-0" +set "MINIFORGE_VERSION=26.9.4-2" +if "%PROCESSOR_ARCHITECTURE%"=="AMD64" ( + set "short_arch=64" + set "full_arch=x86_64" + set "MICROMAMBA_SHA256=f8b4284bd4eb1134122eaf93b3ea6c7be567e596de5829e1a6f478e34e41974a" + set "MINIFORGE_SHA256=9d83983669bc5d3b5dd4c631454bf953c3caf4ac78b9c9ada9971e5b021d83c3" +) else ( + set "short_arch=arm64" + set "full_arch=arm64" + set "MICROMAMBA_SHA256=1fcb3463c684d02366a3d447c153d00922decb16999eef7fb4634d0942a9093e" + set "MINIFORGE_SHA256=4cbb52ff0239488723f5e7ed0f362d393fc471a733dcd5ee9b03c74f188010c4" +) call :start_group "Provisioning base env with micromamba" set "MAMBA_ROOT_PREFIX=%MINIFORGE_HOME%-micromamba-%RANDOM%" -set "MICROMAMBA_VERSION=2.9.0-0" -set "MICROMAMBA_URL=https://github.com/mamba-org/micromamba-releases/releases/download/%MICROMAMBA_VERSION%/micromamba-win-%arch%" +set "MICROMAMBA_URL=https://github.com/mamba-org/micromamba-releases/releases/download/%MICROMAMBA_VERSION%/micromamba-win-%short_arch%" set "MICROMAMBA_TMPDIR=%TMP%\micromamba-%RANDOM%" set "MICROMAMBA_EXE=%MICROMAMBA_TMPDIR%\micromamba.exe" -echo Downloading micromamba %MICROMAMBA_VERSION% +echo Downloading micromamba %MICROMAMBA_VERSION% from %MICROMAMBA_URL% if not exist "%MICROMAMBA_TMPDIR%" mkdir "%MICROMAMBA_TMPDIR%" powershell -ExecutionPolicy Bypass -Command "(New-Object Net.WebClient).DownloadFile('%MICROMAMBA_URL%', '%MICROMAMBA_EXE%')" if !errorlevel! neq 0 exit /b !errorlevel! +if "%MICROMAMBA_SHA256%"=="" exit /b 1 +powershell -ExecutionPolicy Bypass -Command "$h = Get-FileHash '%MICROMAMBA_EXE%' -ErrorAction Stop; if ($h.Hash -ne $env:MICROMAMBA_SHA256) { Write-Error "SHA256 mismatch:`n Expected: $env:MICROMAMBA_SHA256`n Actual: $($h.Hash)"; exit 1 }" +if !errorlevel! neq 0 exit /b !errorlevel! + echo Creating environment call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ --channel conda-forge ^ diff --git a/README.md b/README.md index 41d4ee7df..4edd04c8f 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,10 @@ Current release info Installing python ================= -Installing `python` from the `conda-forge/label/python_debug` channel can be achieved by adding `conda-forge/label/python_debug` to your channels with: +Installing `python` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: ``` -conda config --add channels conda-forge/label/python_debug +conda config --add channels conda-forge conda config --set channel_priority strict ``` @@ -144,7 +144,7 @@ It is possible to list all of the versions of `cpython` available on your platfo With conda ``` -conda search cpython --channel conda-forge/label/python_debug +conda search cpython --channel conda-forge ``` @@ -153,7 +153,7 @@ conda search cpython --channel conda-forge/label/python_debug With mamba ``` -mamba search cpython --channel conda-forge/label/python_debug +mamba search cpython --channel conda-forge ``` @@ -162,7 +162,7 @@ mamba search cpython --channel conda-forge/label/python_debug With pixi ``` -pixi search cpython --channel conda-forge/label/python_debug +pixi search cpython --channel conda-forge ``` @@ -172,13 +172,13 @@ pixi search cpython --channel conda-forge/label/python_debug ``` # Search all versions available on your platform: -mamba repoquery search cpython --channel conda-forge/label/python_debug +mamba repoquery search cpython --channel conda-forge # List packages depending on `cpython`: -mamba repoquery whoneeds cpython --channel conda-forge/label/python_debug +mamba repoquery whoneeds cpython --channel conda-forge # List dependencies of `cpython`: -mamba repoquery depends cpython --channel conda-forge/label/python_debug +mamba repoquery depends cpython --channel conda-forge ``` diff --git a/recipe/meta.yaml b/recipe/meta.yaml index dc86e1a0a..bdceacfd1 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 0 %} +{% set build_number = 1 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %}