diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 00cdd8c15..8fde257fe 100644 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -5,89 +5,89 @@ jobs: - job: osx pool: - vmImage: $(VMIMAGE) + vmImage: $(vm_image) strategy: matrix: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno 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_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes 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_mainfreethreadingno: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno 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_mainfreethreadingyes: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes 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_debugfreethreadingno: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno 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_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes 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_mainfreethreadingno: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno 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_mainfreethreadingyes: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes 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/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 4101b6e93..af1ed8b90 100644 --- a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 3ec39defd..57fae2932 100644 --- a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 3912ef21f..46ee6dc03 100644 --- a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 007c6a912..21f750322 100644 --- a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 2b6d6d2d7..7dda1a725 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 459d888e5..791f9c269 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 6cf775046..e6afec63f 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 0bd49ed7a..fb168a120 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -58,4 +58,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 4653219f3..df48c5b94 100644 --- a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index eededa84b..02e7a59e4 100644 --- a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 0ada3f3e9..b3d8d03da 100644 --- a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 993e5dc66..733496eac 100644 --- a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' 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_debugfreethreadingno.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index ec3fc3af2..dd461133e 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index d046c4c02..36dca7098 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index c83bd3067..b6b7fba7c 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index e924add5a..ebb39846b 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 92ffa52b6..ebb5ea9ea 100644 --- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 8669d3af6..447fb7af8 100644 --- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index a1b9997c2..92328cff8 100644 --- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 68c51560a..095a5cdb7 100644 --- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.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' freethreading: @@ -56,4 +56,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/win_64_freethreadingno.yaml b/.ci_support/win_64_freethreadingno.yaml index d4f030119..739feb918 100644 --- a/.ci_support/win_64_freethreadingno.yaml +++ b/.ci_support/win_64_freethreadingno.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' freethreading: @@ -40,4 +44,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' diff --git a/.ci_support/win_64_freethreadingyes.yaml b/.ci_support/win_64_freethreadingyes.yaml index 21d8cda29..fd901d53a 100644 --- a/.ci_support/win_64_freethreadingyes.yaml +++ b/.ci_support/win_64_freethreadingyes.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' freethreading: @@ -40,4 +44,4 @@ zip_keys: zlib: - '1' zstd: -- '1.5' +- '1.6' 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/recipe/meta.yaml b/recipe/meta.yaml index 4f7568e6b..768e61ed2 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' %} @@ -247,7 +247,7 @@ outputs: - setuptools requires: - ripgrep - - cmake + - cmake >=3.10 - ninja # Pin to the openssl version used during the build to check whether # we load the conda-forge version. @@ -386,7 +386,7 @@ outputs: # cmake expects a C++ compiler for some reason - {{ compiler('cxx') }} - ripgrep - - cmake + - cmake >=3.10 - ninja commands: - VER=${PKG_VERSION%.*} # [not win]