From d2ba5b97a9dfccc9bf5cc1affeae4e3b3ab2c975 Mon Sep 17 00:00:00 2001
From: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
Date: Tue, 16 Jun 2026 15:05:52 -0700
Subject: [PATCH 1/3] Bump to 3.15.0b2
---
recipe/meta.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index a3a4579b..764c4782 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -1,5 +1,5 @@
{% set version = "3.15.0" %}
-{% set dev = "a8" %}
+{% set dev = "b2" %}
{% set dev_ = "" %}
{% set ver2 = '.'.join(version.split('.')[0:2]) %}
{% set ver2nd = ''.join(version.split('.')[0:2]) %}
@@ -46,7 +46,7 @@ package:
source:
- url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz
# sha256 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/
- sha256: 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69
+ sha256: d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71
patches:
- patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
- patches/0002-Win32-Do-not-download-externals.patch
From b4b22c7cc942c898fc5a5507a6ea6158f05c1489 Mon Sep 17 00:00:00 2001
From: "conda-forge-webservices[bot]"
<91080706+conda-forge-webservices[bot]@users.noreply.github.com>
Date: Tue, 16 Jun 2026 22:09:55 +0000
Subject: [PATCH 2/3] MNT: Re-rendered with conda-smithy 2026.6.14 and
conda-forge-pinning 2026.06.16.09.36.5
---
.azure-pipelines/azure-pipelines-osx.yml | 56 +++++++-
.azure-pipelines/azure-pipelines-win.yml | 27 ++--
.ci_support/README | 0
.gitattributes | 0
.github/workflows/conda-build.yml | 160 ++++++++++++++++++-----
.gitignore | 1 +
.scripts/build_steps.sh | 29 +++-
.scripts/logging_utils.sh | 0
.scripts/run_docker_build.sh | 25 +++-
.scripts/run_osx_build.sh | 4 +-
.scripts/run_win_build.bat | 2 +-
LICENSE.txt | 0
README.md | 121 ++---------------
build-locally.py | 5 +-
14 files changed, 256 insertions(+), 174 deletions(-)
mode change 100644 => 100755 .ci_support/README
mode change 100644 => 100755 .gitattributes
mode change 100644 => 100755 .gitignore
mode change 100644 => 100755 .scripts/logging_utils.sh
mode change 100644 => 100755 LICENSE.txt
diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml
index f7f2a778..079a8ddc 100755
--- a/.azure-pipelines/azure-pipelines-osx.yml
+++ b/.azure-pipelines/azure-pipelines-osx.yml
@@ -12,34 +12,82 @@ jobs:
CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_dev_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
osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes:
CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_dev_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
osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno:
CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
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
osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes:
CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
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
osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno:
CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_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
osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes:
CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_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
osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno:
CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
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
osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes:
CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
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
timeoutInMinutes: 360
variables: {}
@@ -47,12 +95,14 @@ jobs:
# TODO: Fast finish on azure pipelines?
- script: |
export CI=azure
+ export CONDA_BLD_PATH=$(build_workspace_dir)
+ export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
+ export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
+ export MINIFORGE_HOME=$(tools_install_dir)
+ export OSX_FORCE_SDK_DOWNLOAD="1"
export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt)
export remote_url=$(Build.Repository.Uri)
export sha=$(Build.SourceVersion)
- export OSX_FORCE_SDK_DOWNLOAD="1"
- export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
- export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
export IS_PR_BUILD="True"
else
diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml
index d5d5b998..9c4f923e 100755
--- a/.azure-pipelines/azure-pipelines-win.yml
+++ b/.azure-pipelines/azure-pipelines-win.yml
@@ -11,31 +11,40 @@ jobs:
win_64_freethreadingno:
CONFIG: win_64_freethreadingno
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ free_disk_space: skip
+ pagefile_size: 0
+ resize_partitions: false
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
win_64_freethreadingyes:
CONFIG: win_64_freethreadingyes
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ free_disk_space: skip
+ pagefile_size: 0
+ resize_partitions: false
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
timeoutInMinutes: 360
variables:
- CONDA_BLD_PATH: D:\\bld\\
- MINIFORGE_HOME: D:\Miniforge
UPLOAD_TEMP: D:\\tmp
steps:
-
- script: |
call ".scripts\run_win_build.bat"
displayName: Run Windows build
env:
- MINIFORGE_HOME: $(MINIFORGE_HOME)
- CONDA_BLD_PATH: $(CONDA_BLD_PATH)
- PYTHONUNBUFFERED: 1
- CONFIG: $(CONFIG)
CI: azure
+ CONFIG: $(CONFIG)
+ CONDA_BLD_PATH: $(build_workspace_dir)
+ MINIFORGE_HOME: $(tools_install_dir)
+ PYTHONUNBUFFERED: 1
+ UPLOAD_PACKAGES: $(UPLOAD_PACKAGES)
+ UPLOAD_TEMP: $(UPLOAD_TEMP)
flow_run_id: azure_$(Build.BuildNumber).$(System.JobAttempt)
remote_url: $(Build.Repository.Uri)
sha: $(Build.SourceVersion)
- UPLOAD_PACKAGES: $(UPLOAD_PACKAGES)
- UPLOAD_TEMP: $(UPLOAD_TEMP)
BINSTAR_TOKEN: $(BINSTAR_TOKEN)
FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
diff --git a/.ci_support/README b/.ci_support/README
old mode 100644
new mode 100755
diff --git a/.gitattributes b/.gitattributes
old mode 100644
new mode 100755
diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml
index cf09c915..51b9029c 100644
--- a/.github/workflows/conda-build.yml
+++ b/.github/workflows/conda-build.yml
@@ -23,118 +23,216 @@ jobs:
matrix:
include:
- CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
- CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
+ build_workspace_dir: build_artifacts
+ docker_run_args:
+ free_disk_space: skip
os: ubuntu
+ pagefile_size: 0
+ resize_partitions: False
runs_on: ['ubuntu-latest']
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - name: Configure binfmt_misc
+ if: matrix.os == 'ubuntu'
+ shell: bash
+ run: |
+ if [[ "$(uname -m)" == "x86_64" ]]; then
+ docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
+ fi
- name: Build on Linux
id: build-linux
if: matrix.os == 'ubuntu'
env:
+ CI: github_actions
+ CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
+ CONDA_FORGE_DOCKER_RUN_ARGS: ${{ matrix.docker_run_args }}
CONFIG: ${{ matrix.CONFIG }}
- UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
+ MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
- CI: github_actions
- CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
+ UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
+ RATTLER_BUILD_COLOR: always
+ RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
shell: bash
run: |
- if [[ "$(uname -m)" == "x86_64" ]]; then
- echo "::group::Configure binfmt_misc"
- docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
- fi
+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
+ export GIT_BRANCH="$(basename $GITHUB_REF)"
+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export flow_run_id="github_$GITHUB_RUN_ID"
export remote_url="https://github.com/$GITHUB_REPOSITORY"
export sha="$GITHUB_SHA"
- export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
- export GIT_BRANCH="$(basename $GITHUB_REF)"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
export IS_PR_BUILD="True"
else
export IS_PR_BUILD="False"
fi
- echo "::endgroup::"
./.scripts/run_docker_build.sh
- name: Build on macOS
id: build-macos
if: matrix.os == 'macos'
env:
+ CI: github_actions
+ CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
+ MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
- CI: github_actions
+ RATTLER_BUILD_COLOR: always
+ RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
shell: bash
run: |
+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
+ export GIT_BRANCH="$(basename $GITHUB_REF)"
+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export flow_run_id="github_$GITHUB_RUN_ID"
export remote_url="https://github.com/$GITHUB_REPOSITORY"
export sha="$GITHUB_SHA"
- export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
- export GIT_BRANCH="$(basename $GITHUB_REF)"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
export IS_PR_BUILD="True"
else
@@ -152,14 +250,14 @@ jobs:
set "sha=%GITHUB_SHA%"
call ".scripts\run_win_build.bat"
env:
- # default value; make it explicit, as it needs to match with artefact
- # generation below. Not configurable for now, can be revisited later
- CONDA_BLD_DIR: C:\bld
- MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
- PYTHONUNBUFFERED: 1
- CONFIG: ${{ matrix.CONFIG }}
CI: github_actions
+ CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
+ CONFIG: ${{ matrix.CONFIG }}
+ MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
+ PYTHONUNBUFFERED: 1
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
+ RATTLER_BUILD_COLOR: always
+ RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
index 47b5408a..86a9c55b
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
# Ignore all files and folders in root
*
!/conda-forge.yml
+!.recipe_maintainers.json
# Don't ignore any files/folders if the parent folder is 'un-ignored'
# This also avoids warnings when adding an already-checked file with an ignored parent.
diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh
index be060cb0..5c97f744 100755
--- a/.scripts/build_steps.sh
+++ b/.scripts/build_steps.sh
@@ -36,7 +36,7 @@ mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d-
echo > /opt/conda/conda-meta/history
micromamba install --root-prefix ~/.conda --prefix /opt/conda \
--yes --override-channels --channel conda-forge --strict-channel-priority \
- pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
+ pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=26.3"
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
# set up the condarc
@@ -61,18 +61,33 @@ if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then
fi
if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
- if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then
- EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}"
- fi
- conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
+ # differences between conda-build vs. rattler-build
+ # - 1 step (conda debug + manually open shell) vs. 2 step (rb debug {setup, shell})
+ # - recipe is positional vs. --recipe "${RECIPE_ROOT}"
+ # - --output-id vs. --output-name
+ # - --clobber-file vs. none
+ # - none vs. --target-platform
+ conda debug \
+ "${RECIPE_ROOT}" \
+ -m "${CI_SUPPORT}/${CONFIG}.yaml" \
${EXTRA_CB_OPTIONS:-} \
+ ${BUILD_OUTPUT_ID:+--output-id "${BUILD_OUTPUT_ID}"} \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml"
# Drop into an interactive shell
/bin/bash
else
- conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
- --suppress-variables ${EXTRA_CB_OPTIONS:-} \
+ # differences between conda-build vs. rattler-build
+ # - recipe is positional vs. --recipe "${RECIPE_ROOT}"
+ # - --suppress-variables vs. none
+ # - --clobber-file vs. none
+ # - none vs. --target-platform
+ # - --extra-meta a=b c=d vs. --extra-meta a=b --extra-meta c=d
+ conda-build \
+ "${RECIPE_ROOT}" \
+ -m "${CI_SUPPORT}/${CONFIG}.yaml" \
+ ${EXTRA_CB_OPTIONS:-} \
+ --suppress-variables \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
( startgroup "Inspecting artifacts" ) 2> /dev/null
diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh
old mode 100644
new mode 100755
diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh
index 10d6a2af..17d983f1 100755
--- a/.scripts/run_docker_build.sh
+++ b/.scripts/run_docker_build.sh
@@ -96,6 +96,14 @@ if [ "${DOCKER_EXECUTABLE}" = "podman" ]; then
fi
fi
+# When running on GitHub Actions, mount the step summary file into the container
+# and point GITHUB_STEP_SUMMARY at it so that rattler-build's GitHub integration
+# can write its summary. GitHub writes the file out to the job summary after the
+# step finishes.
+if [[ -n "${GITHUB_STEP_SUMMARY:-}" ]]; then
+ DOCKER_RUN_ARGS="${DOCKER_RUN_ARGS} -v ${GITHUB_STEP_SUMMARY}:/home/conda/github_step_summary:rw${VOLUME_SUFFIX},delegated -e GITHUB_STEP_SUMMARY=/home/conda/github_step_summary"
+fi
+
( endgroup "Configure Docker" ) 2> /dev/null
( startgroup "Start Docker" ) 2> /dev/null
@@ -107,17 +115,20 @@ ${DOCKER_EXECUTABLE} pull "${DOCKER_IMAGE}"
${DOCKER_EXECUTABLE} run ${DOCKER_RUN_ARGS} \
-v "${RECIPE_ROOT}":/home/conda/recipe_root:rw${VOLUME_SUFFIX},delegated \
-v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw${VOLUME_SUFFIX},delegated \
+ -e BUILD_OUTPUT_ID \
+ -e BUILD_WITH_CONDA_DEBUG \
+ -e CI \
-e CONFIG \
+ -e CPU_COUNT \
+ -e FEEDSTOCK_NAME \
+ -e GIT_BRANCH \
+ -e GITHUB_ACTIONS \
-e HOST_USER_ID \
- -e UPLOAD_PACKAGES \
-e IS_PR_BUILD \
- -e GIT_BRANCH \
+ -e RATTLER_BUILD_COLOR \
+ -e RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION \
-e UPLOAD_ON_BRANCH \
- -e CI \
- -e FEEDSTOCK_NAME \
- -e CPU_COUNT \
- -e BUILD_WITH_CONDA_DEBUG \
- -e BUILD_OUTPUT_ID \
+ -e UPLOAD_PACKAGES \
-e flow_run_id \
-e remote_url \
-e sha \
diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh
index bac7141a..b0eda55c 100755
--- a/.scripts/run_osx_build.sh
+++ b/.scripts/run_osx_build.sh
@@ -26,7 +26,7 @@ chmod +x "${micromamba_exe}"
echo "Creating environment"
"${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \
--channel conda-forge \
- pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
+ pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=26.3"
echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}"
mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}"
echo "Cleaning up micromamba"
@@ -73,7 +73,7 @@ if [[ "${OSX_SDK_DIR:-}" == "" ]]; then
/usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}"
fi
else
- if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then
+ if tmpf=$(mktemp "$OSX_SDK_DIR"/tmp.XXXXXXXX 2>/dev/null); then
rm -f "$tmpf"
echo "OSX_SDK_DIR is writeable without sudo, continuing"
else
diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat
index 27c552b1..c07d98e6 100755
--- a/.scripts/run_win_build.bat
+++ b/.scripts/run_win_build.bat
@@ -31,7 +31,7 @@ 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 ^
- pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
+ pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=26.3"
if !errorlevel! neq 0 exit /b !errorlevel!
echo Removing %MAMBA_ROOT_PREFIX%
del /S /Q "%MAMBA_ROOT_PREFIX%" >nul
diff --git a/LICENSE.txt b/LICENSE.txt
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
index c190c2a1..845d26cd 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,14 @@ Current build status
====================
-
+
+ | GitHub Actions |
+
+
+
+
+ |
+
| Azure |
@@ -59,90 +66,6 @@ Current build status
| Variant | Status |
- | linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
-
-
-
-
- |
-
- | linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes |
-
-
-
-
- |
-
- | linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno |
-
-
-
-
- |
-
- | linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes |
-
-
-
-
- |
-
- | linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
-
-
-
-
- |
-
- | linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes |
-
-
-
-
- |
-
- | linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno |
-
-
-
-
- |
-
- | linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes |
-
-
-
-
- |
-
- | linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
-
-
-
-
- |
-
- | linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes |
-
-
-
-
- |
-
- | linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno |
-
-
-
-
- |
-
- | linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes |
-
-
-
-
- |
-
| osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
@@ -170,34 +93,6 @@ Current build status
|
-
- | osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
-
-
-
-
- |
-
- | osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes |
-
-
-
-
- |
-
- | osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno |
-
-
-
-
- |
-
- | osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes |
-
-
-
-
- |
| win_64_freethreadingno |
diff --git a/build-locally.py b/build-locally.py
index 05493e4d..3beb68cc 100755
--- a/build-locally.py
+++ b/build-locally.py
@@ -98,7 +98,10 @@ def main(args=None):
p.add_argument(
"--debug",
action="store_true",
- help="Setup debug environment using `conda debug`",
+ help=(
+ "Setup debug environment using `conda debug` "
+ "(or `rattler-build debug` for rattler-build recipes)"
+ ),
)
p.add_argument("--output-id", help="If running debug, specify the output to setup.")
From 64ee679ade7e3074bcc2c62c1d41c90bc443d63c Mon Sep 17 00:00:00 2001
From: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
Date: Tue, 16 Jun 2026 15:49:32 -0700
Subject: [PATCH 3/3] bump ci
|