From 5680a5864223f13d14794ea5280557e6076544e6 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 2 Sep 2026 07:38:43 +1100 Subject: [PATCH 1/6] apply track_features to all freethreading builds --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 8e63474..e4ffeed 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set build_num = 8 %} +{% set build_num = 9 %} {% if python_impl_version is not defined %} {% set python_impl_version = "3.8" %} {% endif %} @@ -20,7 +20,7 @@ build: track_features: - pypy # [python_implementation == "pypy"] - native_graalpy # [python_implementation == "graalpy"] - - freethreading # [python_abi_tag == "cp313t"] + - freethreading # [python_abi_tag in ("cp313t", "cp314t", "cp315t")] requirements: run_constrained: From 4b373c649f6faccf5a9a9801107a7a360d1ea386 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 2 Sep 2026 07:38:59 +1100 Subject: [PATCH 2/6] simplify local pinning --- recipe/conda_build_config.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 52cb5c3..5869a81 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -72,13 +72,7 @@ python: python_impl: - '*' numpy: - - '1.16' -c_compiler: - - "*" -cxx_compiler: - - "*" -vc: - - "*" + - 2 is_python_min: - false From ca8b730712cb7534bf4b1d1a2cc7f6e0120e7180 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 2 Sep 2026 07:58:33 +1100 Subject: [PATCH 3/6] remove redundant build_platforms, only built on linux-64 --- conda-forge.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conda-forge.yml b/conda-forge.yml index 04fedf2..429c37e 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,8 +1,3 @@ -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 From bfbc8bb292567e1ca6795fdebfc0b4d9819a4de2 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 2 Sep 2026 08:01:20 +1100 Subject: [PATCH 4/6] MNT: Re-rendered with conda-smithy 2026.9.1 and conda-forge-pinning 2026.09.01.16.28.00 Other tools: - conda-build 26.7.1 - rattler-build 0.75.0 - rattler-build-conda-compat 1.4.19 --- .azure-pipelines/azure-pipelines-linux.yml | 100 ------ ...plementationcpythonpython_version3.10.yaml | 4 +- ...plementationcpythonpython_version3.11.yaml | 4 +- ...plementationcpythonpython_version3.12.yaml | 4 +- ...plementationcpythonpython_version3.13.yaml | 4 +- ...plementationcpythonpython_version3.13.yaml | 4 +- ...plementationcpythonpython_version3.14.yaml | 4 +- ...plementationcpythonpython_version3.14.yaml | 4 +- ...plementationcpythonpython_version3.15.yaml | 4 +- ...plementationcpythonpython_version3.15.yaml | 4 +- ...mplementationcpythonpython_version3.8.yaml | 4 +- ...mplementationcpythonpython_version3.9.yaml | 4 +- ...plementationgraalpypython_version3.10.yaml | 4 +- ...plementationgraalpypython_version3.10.yaml | 4 +- ...n_implementationpypypython_version3.8.yaml | 4 +- ...n_implementationpypypython_version3.9.yaml | 4 +- .github/workflows/conda-build.yml | 299 +++++++++++++++++- .gitignore | 1 + .scripts/build_steps.sh | 30 +- .scripts/logging_utils.sh | 0 .scripts/run_docker_build.sh | 58 +++- LICENSE.txt | 3 +- README.md | 61 +++- azure-pipelines.yml | 31 -- build-locally.py | 13 +- 25 files changed, 450 insertions(+), 206 deletions(-) delete mode 100755 .azure-pipelines/azure-pipelines-linux.yml mode change 100644 => 100755 .scripts/logging_utils.sh delete mode 100644 azure-pipelines.yml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml deleted file mode 100755 index c577faf..0000000 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ /dev/null @@ -1,100 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -jobs: -- job: linux - pool: - vmImage: ubuntu-latest - strategy: - matrix: - linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10: - CONFIG: linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11: - CONFIG: linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12: - CONFIG: linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13: - CONFIG: linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13: - CONFIG: linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14: - CONFIG: linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14: - CONFIG: linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15: - CONFIG: linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15: - CONFIG: linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8: - CONFIG: linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9: - CONFIG: linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10: - CONFIG: linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10: - CONFIG: linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8: - CONFIG: linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9: - CONFIG: linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - timeoutInMinutes: 360 - variables: {} - - steps: - # configure qemu binfmt-misc running. This allows us to run docker containers - # embedded qemu-static - - script: | - docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes - ls /proc/sys/fs/binfmt_misc/ - condition: not(startsWith(variables['CONFIG'], 'linux_64')) - displayName: Configure binfmt_misc - - - script: | - export CI=azure - export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) - export remote_url=$(Build.Repository.Uri) - export sha=$(Build.SourceVersion) - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - .scripts/run_docker_build.sh - displayName: Run docker build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) - FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) diff --git a/.ci_support/linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10.yaml b/.ci_support/linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10.yaml index b2ef8ce..0d0deb6 100644 --- a/.ci_support/linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10.yaml +++ b/.ci_support/linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.10' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11.yaml b/.ci_support/linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11.yaml index 9f50aab..e8a1e87 100644 --- a/.ci_support/linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11.yaml +++ b/.ci_support/linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.11' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12.yaml b/.ci_support/linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12.yaml index 7dc800c..b62dd1e 100644 --- a/.ci_support/linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12.yaml +++ b/.ci_support/linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.12' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13.yaml b/.ci_support/linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13.yaml index 960f87b..3738470 100644 --- a/.ci_support/linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13.yaml +++ b/.ci_support/linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.13' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13.yaml b/.ci_support/linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13.yaml index 6ca103d..f94e98f 100644 --- a/.ci_support/linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13.yaml +++ b/.ci_support/linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.13' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14.yaml b/.ci_support/linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14.yaml index d201c7e..83e31f4 100644 --- a/.ci_support/linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14.yaml +++ b/.ci_support/linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.14' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14.yaml b/.ci_support/linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14.yaml index 1377bf2..d60a801 100644 --- a/.ci_support/linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14.yaml +++ b/.ci_support/linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.14' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15.yaml b/.ci_support/linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15.yaml index 754b775..8af4c30 100644 --- a/.ci_support/linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15.yaml +++ b/.ci_support/linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.15' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15.yaml b/.ci_support/linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15.yaml index 538e854..0d814fe 100644 --- a/.ci_support/linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15.yaml +++ b/.ci_support/linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.15' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8.yaml b/.ci_support/linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8.yaml index 053d834..7c4b8f7 100644 --- a/.ci_support/linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8.yaml +++ b/.ci_support/linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.8' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9.yaml b/.ci_support/linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9.yaml index 394d8b3..8f0080b 100644 --- a/.ci_support/linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9.yaml +++ b/.ci_support/linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - cpython python_min: -- '3.10' +- '3.11' python_version: - '3.9' zip_keys: diff --git a/.ci_support/linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10.yaml b/.ci_support/linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10.yaml index 03a080d..6080b34 100644 --- a/.ci_support/linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10.yaml +++ b/.ci_support/linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - graalpy python_min: -- '3.10' +- '3.11' python_version: - '3.10' zip_keys: diff --git a/.ci_support/linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10.yaml b/.ci_support/linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10.yaml index fbfd69a..9b3f525 100644 --- a/.ci_support/linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10.yaml +++ b/.ci_support/linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - graalpy python_min: -- '3.10' +- '3.11' python_version: - '3.10' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8.yaml b/.ci_support/linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8.yaml index baf4005..dfbe293 100644 --- a/.ci_support/linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8.yaml +++ b/.ci_support/linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - pypy python_min: -- '3.10' +- '3.11' python_version: - '3.8' zip_keys: diff --git a/.ci_support/linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9.yaml b/.ci_support/linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9.yaml index b9bf9ae..e617abc 100644 --- a/.ci_support/linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9.yaml +++ b/.ci_support/linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9.yaml @@ -3,7 +3,7 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-x86_64:alma10 pin_run_as_build: python: min_pin: x.x @@ -19,7 +19,7 @@ python_impl_version: python_implementation: - pypy python_min: -- '3.10' +- '3.11' python_version: - '3.9' zip_keys: diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index a948c6c..4e617ee 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -1,15 +1,300 @@ -# This file was added automatically by admin-migrations. Do not modify. -# It ensures that Github Actions can run once rerendered for the first time. +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. # -*- mode: yaml -*- name: Build conda package on: - workflow_dispatch: + push: + + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true jobs: build: - name: Disabled build - runs-on: ubuntu-slim - if: false + name: ${{ matrix.CONFIG }} + runs-on: ${{ matrix.runs_on }} + timeout-minutes: 360 + strategy: + fail-fast: false + max-parallel: 50 + matrix: + include: + - CONFIG: linux_64_python_abi_tagcp310python_impl_version3.10python_implementationcpythonpython_version3.10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp311python_impl_version3.11python_implementationcpythonpython_version3.11 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp312python_impl_version3.12python_implementationcpythonpython_version3.12 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp313python_impl_version3.13python_implementationcpythonpython_version3.13 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp313tpython_impl_version3.13python_implementationcpythonpython_version3.13 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp314python_impl_version3.14python_implementationcpythonpython_version3.14 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp314tpython_impl_version3.14python_implementationcpythonpython_version3.14 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp315python_impl_version3.15python_implementationcpythonpython_version3.15 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp315tpython_impl_version3.15python_implementationcpythonpython_version3.15 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp38python_impl_version3.8python_implementationcpythonpython_version3.8 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagcp39python_impl_version3.9python_implementationcpythonpython_version3.9 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_taggraalpy230_310_nativepython_impl_version23.0python_implementationgraalpypython_version3.10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_taggraalpy231_310_nativepython_impl_version23.1python_implementationgraalpypython_version3.10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagpypy38_pp73python_impl_version7.3python_implementationpypypython_version3.8 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 + - CONFIG: linux_64_python_abi_tagpypy39_pp73python_impl_version7.3python_implementationpypypython_version3.9 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + 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'] + tools_install_dir: ~/miniforge3 steps: - - run: exit 0 + + - name: Checkout code + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - 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 }} + MINIFORGE_HOME: ${{ matrix.tools_install_dir }} + DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }} + 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: | + export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}" + export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" + export GIT_BRANCH="${GITHUB_REF_NAME}" + 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" + if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi + ./.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 }} + 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="${GITHUB_REF_NAME}" + 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" + if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi + ./.scripts/run_osx_build.sh + + - name: Build on windows + id: build-windows + if: matrix.os == 'windows' + shell: cmd + run: | + set "flow_run_id=github_%GITHUB_RUN_ID%" + set "remote_url=https://github.com/%GITHUB_REPOSITORY%" + set "sha=%GITHUB_SHA%" + call ".scripts\run_win_build.bat" + env: + BUILD_PLATFORM: ${{ matrix.build_platform }} + 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 index 47b5408..86a9c55 100644 --- 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 780a358..484acdd 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -20,6 +20,7 @@ export PYTHONUNBUFFERED=1 export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" +export RATTLER_CACHE_DIR="${FEEDSTOCK_ROOT}/build_artifacts/pkg_cache" cat >~/.condarc < /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 @@ -60,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_SUBDIR="${BUILD_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_SUBDIR="${BUILD_PLATFORM}" 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 b63b5a0..17d983f 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -11,6 +11,8 @@ source .scripts/logging_utils.sh set -xeo pipefail +DOCKER_EXECUTABLE="${DOCKER_EXECUTABLE:-docker}" + THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" PROVIDER_DIR="$(basename "$THISDIR")" @@ -27,7 +29,7 @@ if [[ "${sha:-}" == "" ]]; then popd fi -docker info +${DOCKER_EXECUTABLE} info # In order for the conda-build process in the container to write to the mounted # volumes, we need to run with the same id as the host machine, which is @@ -35,6 +37,7 @@ docker info export HOST_USER_ID=$(id -u) # Check if docker-machine is being used (normally on OSX) and get the uid from # the VM + if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) fi @@ -76,27 +79,56 @@ if [ -z "${CI}" ]; then DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" fi -( endgroup "Configure Docker" ) 2> /dev/null +# Default volume suffix for Docker (preserve original behavior) +VOLUME_SUFFIX=",z" + +# Podman-specific handling +if [ "${DOCKER_EXECUTABLE}" = "podman" ]; then + # Fix file permissions for rootless podman builds + podman unshare chown -R ${HOST_USER_ID}:${HOST_USER_ID} "${ARTIFACTS}" + podman unshare chown -R ${HOST_USER_ID}:${HOST_USER_ID} "${RECIPE_ROOT}" + + # Add SELinux label only if enforcing + if command -v getenforce &>/dev/null && [ "$(getenforce)" = "Enforcing" ]; then + VOLUME_SUFFIX=",z" + else + VOLUME_SUFFIX="" + 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 export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" export IS_PR_BUILD="${IS_PR_BUILD:-False}" -docker pull "${DOCKER_IMAGE}" -docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ + +${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/LICENSE.txt b/LICENSE.txt index 2ec51d7..c5aa738 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,5 @@ BSD-3-Clause license -Copyright (c) 2015-2022, conda-forge contributors -All rights reserved. +Copyright (c) 2015-2026, conda-forge contributors Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/README.md b/README.md index f51787e..19c08c7 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,11 @@ Current build status ==================== - +
All platforms:
+ @@ -39,31 +40,73 @@ conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `python_abi` can be installed with `conda`: +How to use +---------- + +
+With conda ``` conda install python_abi ``` -or with `mamba`: +
+ +
+With mamba ``` mamba install python_abi ``` -It is possible to list all of the versions of `python_abi` available on your platform with `conda`: +
+ +
+With pixi + +``` +# for adding to your local project +pixi add python_abi +# for installing globally +pixi global install python_abi +``` + +
+ +Search package versions +----------------------- + +It is possible to list all of the versions of `python_abi` available on your platform: + +
+With conda ``` conda search python_abi --channel conda-forge ``` -or with `mamba`: +
+ +
+With mamba ``` mamba search python_abi --channel conda-forge ``` -Alternatively, `mamba repoquery` may provide more information: +
+ +
+With pixi + +``` +pixi search python_abi --channel conda-forge +``` + +
+ +
+With mamba repoquery, which may provide more information ``` # Search all versions available on your platform: @@ -76,6 +119,8 @@ mamba repoquery whoneeds python_abi --channel conda-forge mamba repoquery depends python_abi --channel conda-forge ``` +
+ About conda-forge ================= diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index d309e84..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -stages: -- stage: Check - jobs: - - job: Skip - pool: - vmImage: 'ubuntu-22.04' - variables: - DECODE_PERCENTS: 'false' - RET: 'true' - steps: - - checkout: self - fetchDepth: '2' - - bash: | - git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "` - echo "##vso[task.setvariable variable=log]$git_log" - displayName: Obtain commit message - - bash: echo "##vso[task.setvariable variable=RET]false" - condition: and(eq(variables['Build.Reason'], 'PullRequest'), or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]'))) - displayName: Skip build? - - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET" - name: result - displayName: Export result -- stage: Build - condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) - dependsOn: Check - jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml \ No newline at end of file diff --git a/build-locally.py b/build-locally.py index 9dfe440..3beb68c 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,5 +1,6 @@ #!/bin/sh """exec" "python3" "$0" "$@" #""" # fmt: off # fmt: on + # # This file has been generated by conda-smithy in order to build the recipe # locally. @@ -27,13 +28,6 @@ def setup_environment(ns): os.path.dirname(__file__), "miniforge3" ) - # The default cache location might not be writable using docker on macOS. - if ns.config.startswith("linux") and platform.system() == "Darwin": - os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = ( - os.environ.get("CONDA_FORGE_DOCKER_RUN_ARGS", "") - + " -e RATTLER_CACHE_DIR=/tmp/rattler_cache" - ) - def run_docker_build(ns): script = ".scripts/run_docker_build.sh" @@ -104,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 9758edd036c1e704afafeda901b2f024ca83e2e4 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 2 Sep 2026 08:23:35 +1100 Subject: [PATCH 5/6] escape version that could be misinterpreted as float --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e4ffeed..d3964f1 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -11,7 +11,7 @@ package: name: python_abi - version: {{ python_version }} + version: "{{ python_version }}" build: number: {{ build_num }} From aa6163390aad60c83b138a0ce19fcc48582e7e9e Mon Sep 17 00:00:00 2001 From: h-vetinari Date: Wed, 2 Sep 2026 09:07:03 +1100 Subject: [PATCH 6/6] future-proof application of freethreading track_feature Co-authored-by: Isuru Fernando --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d3964f1..3cfc899 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -20,7 +20,7 @@ build: track_features: - pypy # [python_implementation == "pypy"] - native_graalpy # [python_implementation == "graalpy"] - - freethreading # [python_abi_tag in ("cp313t", "cp314t", "cp315t")] + - freethreading # [python_implementation == "cpython" and python_abi_tag.endswith("t")] requirements: run_constrained:
All platforms: - - + +