From 4d371e33f5770571fdf4d6bef481f5855293dab5 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <121827174+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 19 Sep 2026 00:59:24 +0000 Subject: [PATCH 1/2] dummy commit for rerendering --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4755e1f..f1ddb8b 100644 --- a/README.md +++ b/README.md @@ -191,3 +191,6 @@ Feedstock Maintainers * [@Tobias-Fischer](https://github.com/Tobias-Fischer/) * [@petercorke](https://github.com/petercorke/) + + + From d480c321fea1babd925235e37e5a99298e697ad8 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 19 Sep 2026 01:01:13 +0000 Subject: [PATCH 2/2] chore: convert recipe to v1 & -rendered with conda-smithy 2026.9.10 and conda-forge-pinning 2026.09.18.22.03.5 --- .ci_support/linux_64_.yaml | 6 ---- .scripts/build_steps.sh | 28 +++++++++++-------- README.md | 3 -- conda-forge.yml | 1 + recipe/meta.yaml | 54 ------------------------------------ recipe/recipe.yaml | 56 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 73 insertions(+), 75 deletions(-) delete mode 100644 recipe/meta.yaml create mode 100644 recipe/recipe.yaml diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index a4fc336..11719cd 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -4,11 +4,5 @@ channel_targets: - conda-forge main docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma10 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.14.* *_cp314 python_min: - '3.11' diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 857e215..b4957f9 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>=26.3" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=26.3" export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 # set up the condarc @@ -64,15 +64,16 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then # - --output-id vs. --output-name # - --clobber-file vs. none # - none vs. --target-platform - CONDA_SUBDIR="${BUILD_PLATFORM}" conda debug \ - "${RECIPE_ROOT}" \ + export CONDA_BLD_PATH="${CONDA_BLD_PATH:-${FEEDSTOCK_ROOT}/build_artifacts}" + rattler-build debug setup \ + --recipe "${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" + ${BUILD_OUTPUT_ID:+--output-name "${BUILD_OUTPUT_ID}"} \ + --build-platform "${BUILD_PLATFORM}" \ + --target-platform "${HOST_PLATFORM}" - # Drop into an interactive shell - /bin/bash + rattler-build debug shell else # differences between conda-build vs. rattler-build # - recipe is positional vs. --recipe "${RECIPE_ROOT}" @@ -80,13 +81,16 @@ else # - --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}" \ + + rattler-build build \ + --recipe "${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:-}" + --build-platform "${BUILD_PLATFORM}" \ + --target-platform "${HOST_PLATFORM}" \ + --extra-meta flow_run_id="${flow_run_id:-}" \ + --extra-meta remote_url="${remote_url:-}" \ + --extra-meta sha="${sha:-}" ( startgroup "Inspecting artifacts" ) 2> /dev/null # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 diff --git a/README.md b/README.md index f1ddb8b..4755e1f 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,3 @@ Feedstock Maintainers * [@Tobias-Fischer](https://github.com/Tobias-Fischer/) * [@petercorke](https://github.com/petercorke/) - - - diff --git a/conda-forge.yml b/conda-forge.yml index 9cb5dd9..2479b63 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -6,3 +6,4 @@ github: tooling_branch_name: main conda_build: pkg_format: '2' +conda_build_tool: rattler-build diff --git a/recipe/meta.yaml b/recipe/meta.yaml deleted file mode 100644 index 110d159..0000000 --- a/recipe/meta.yaml +++ /dev/null @@ -1,54 +0,0 @@ -{% set name = "spatialmath-python" %} -{% set version = "1.1.18" %} - - -package: - name: {{ name|lower }} - version: {{ version }} - -source: - url: https://files.pythonhosted.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz - sha256: dfd265b93f5152c02eb8c05bfc8d5f820e76caa715acbdf7bb8f2d60a6ab22ec - -build: - number: 0 - noarch: python - script: {{ PYTHON }} -m pip install . -vv - -requirements: - host: - - pip - - python {{ python_min }} - - setuptools - run: - - ansitable - - colored >=2.0.0,<3 - - matplotlib-base - - numpy - - python >={{ python_min }} - - scipy - - sympy - - sphinxcontrib-jsmath - - typing-extensions - - pre_commit - -test: - imports: - - spatialmath - - spatialmath.base - commands: - - pip check - requires: - - pip - - python {{ python_min }} - -about: - home: https://github.com/bdaiinstitute/spatialmath-python - summary: Provides spatial maths capability for Python. - license: MIT - license_file: LICENSE - -extra: - recipe-maintainers: - - Tobias-Fischer - - petercorke diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml new file mode 100644 index 0000000..736fb0c --- /dev/null +++ b/recipe/recipe.yaml @@ -0,0 +1,56 @@ +schema_version: 1 + +context: + name: spatialmath-python + version: "1.1.18" + +package: + name: ${{ name|lower }} + version: ${{ version }} + +source: + url: https://files.pythonhosted.org/packages/source/${{ name[0] }}/${{ name }}/${{ name | replace('-', '_') }}-${{ version }}.tar.gz + sha256: dfd265b93f5152c02eb8c05bfc8d5f820e76caa715acbdf7bb8f2d60a6ab22ec + +build: + number: 1 + noarch: python + script: ${{ PYTHON }} -m pip install . -vv + +requirements: + host: + - pip + - python ${{ python_min }}.* + - setuptools + run: + - ansitable + - colored >=2.0.0,<3 + - matplotlib-base + - numpy + - python >=${{ python_min }} + - scipy + - sympy + - sphinxcontrib-jsmath + - typing-extensions + - pre_commit + +tests: + - python: + imports: + - spatialmath + - spatialmath.base + pip_check: true + python_version: + - ${{ python_min }}.* + - "*" + +about: + summary: Provides spatial maths capability for Python. + license: MIT + license_file: LICENSE + homepage: https://github.com/bdaiinstitute/spatialmath-python + +extra: + recipe-maintainers: + - Tobias-Fischer + - petercorke