From 0ee30834dfa9e7e040b3da3baadc841f6968d31a Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 27 Jan 2026 01:03:08 +0000 Subject: [PATCH 1/2] migration: supportwindowsarm64platform --- conda-forge.yml | 1 + recipe/meta.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/conda-forge.yml b/conda-forge.yml index e84c0a69..bf3d6415 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -4,6 +4,7 @@ build_platform: linux_aarch64: linux_64 linux_ppc64le: linux_64 osx_arm64: osx_64 + win_arm64: win_64 conda_build: pkg_format: '2' conda_forge_output_validation: true diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 67e21f54..928b202f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -88,6 +88,8 @@ build: requirements: build: + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] {% if from_source_control == 'yes' %} - git {% else %} From b7324314c9fc297e5a14c30463bd00f7f04e4d01 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 27 Jan 2026 01:04:46 +0000 Subject: [PATCH 2/2] MNT: Re-rendered with conda-smithy 3.54.1 and conda-forge-pinning 2026.01.26.23.17.1 --- .azure-pipelines/azure-pipelines-win.yml | 4 +++ .ci_support/migrations/libffi35.yaml | 8 ----- .ci_support/win_arm64_.yaml | 39 ++++++++++++++++++++++++ .scripts/run_osx_build.sh | 19 ++++++++++++ README.md | 7 +++++ 5 files changed, 69 insertions(+), 8 deletions(-) delete mode 100644 .ci_support/migrations/libffi35.yaml create mode 100644 .ci_support/win_arm64_.yaml diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 4c11f474..c4b0e7b6 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -12,6 +12,10 @@ jobs: CONFIG: win_64_ UPLOAD_PACKAGES: 'True' SHORT_CONFIG: win_64_ + win_arm64_: + CONFIG: win_arm64_ + UPLOAD_PACKAGES: 'True' + SHORT_CONFIG: win_arm64_ timeoutInMinutes: 360 variables: CONDA_BLD_PATH: D:\\bld\\ diff --git a/.ci_support/migrations/libffi35.yaml b/.ci_support/migrations/libffi35.yaml deleted file mode 100644 index cccfdc46..00000000 --- a/.ci_support/migrations/libffi35.yaml +++ /dev/null @@ -1,8 +0,0 @@ -__migrator: - build_number: 1 - commit_message: Rebuild for libffi 3.5 - kind: version - migration_number: 1 -libffi: -- '3.5' -migrator_ts: 1760302128.4447467 diff --git a/.ci_support/win_arm64_.yaml b/.ci_support/win_arm64_.yaml new file mode 100644 index 00000000..65b40dcf --- /dev/null +++ b/.ci_support/win_arm64_.yaml @@ -0,0 +1,39 @@ +build_type: +- release +bzip2: +- '1' +c_compiler: +- vs2022 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- vs2022 +expat: +- '2' +libffi: +- '3.5' +liblzma_devel: +- '5' +openssl: +- '3.5' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.11' +sqlite: +- '3' +target_platform: +- win-arm64 +tk: +- '8.6' +zip_keys: +- - build_type + - channel_targets +zlib: +- '1' diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 361edeb2..bac7141a 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -63,6 +63,25 @@ if [[ "${sha:-}" == "" ]]; then sha=$(git rev-parse HEAD) fi +if [[ "${OSX_SDK_DIR:-}" == "" ]]; then + if [[ "${CI:-}" == "" ]]; then + echo "Please set OSX_SDK_DIR to a directory where SDKs can be downloaded to. Aborting" + exit 1 + else + export OSX_SDK_DIR=/opt/conda-sdks + /usr/bin/sudo mkdir -p "${OSX_SDK_DIR}" + /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" + fi +else + if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then + rm -f "$tmpf" + echo "OSX_SDK_DIR is writeable without sudo, continuing" + else + echo "User-provided OSX_SDK_DIR is not writeable for current user! Aborting" + exit 1 + fi +fi + echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup diff --git a/README.md b/README.md index 36ec5225..67e03ffb 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,13 @@ Current build status variant + + win_arm64 + + + variant + +