From b343ba5719932196486b3ed21338cc621bbc7a6b Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <121827174+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:05:57 +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 2ec7087..f992199 100644 --- a/README.md +++ b/README.md @@ -619,3 +619,6 @@ Feedstock Maintainers * [@timkpaine](https://github.com/timkpaine/) * [@xhochy](https://github.com/xhochy/) + + + From 0bd21f61129a1eebea5a675b975ddb32b5f0c039 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:09:31 +0000 Subject: [PATCH 2/2] ENH: updated version to 1.10.0 & Re-rendered with conda-build 24.9.0, conda-smithy 3.43.0, and conda-forge-pinning 2024.10.20.09.20.51 --- .scripts/build_steps.sh | 10 +++++----- .scripts/run_osx_build.sh | 39 +++++++++++++++++++++++++-------------- README.md | 3 --- recipe/meta.yaml | 10 +++++----- 4 files changed, 35 insertions(+), 27 deletions(-) diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 12647a5..827a29f 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -31,13 +31,13 @@ pkgs_dirs: solver: libmamba CONDARC +mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d-%H-%M-%S) +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" export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 -mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" - # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index dfef5ae..7f948c4 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -7,28 +7,39 @@ source .scripts/logging_utils.sh set -xe MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3} +MINIFORGE_HOME=${MINIFORGE_HOME%/} # remove trailing slash -( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null - -MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" -MINIFORGE_FILE="Miniforge3-MacOSX-$(uname -m).sh" -curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" -rm -rf ${MINIFORGE_HOME} -bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} - -( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null +( startgroup "Provisioning base env with micromamba" ) 2> /dev/null +MICROMAMBA_VERSION="1.5.10-0" +if [[ "$(uname -m)" == "arm64" ]]; then + osx_arch="osx-arm64" +else + osx_arch="osx-64" +fi +MICROMAMBA_URL="https://github.com/mamba-org/micromamba-releases/releases/download/${MICROMAMBA_VERSION}/micromamba-${osx_arch}" +MAMBA_ROOT_PREFIX="${MINIFORGE_HOME}-micromamba-$(date +%s)" +echo "Downloading micromamba ${MICROMAMBA_VERSION}" +micromamba_exe="$(mktemp -d)/micromamba" +curl -L -o "${micromamba_exe}" "${MICROMAMBA_URL}" +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" +echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" +mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" +echo "Cleaning up micromamba" +rm -rf "${MAMBA_ROOT_PREFIX}" "${micromamba_exe}" || true +( endgroup "Provisioning base env with micromamba" ) 2> /dev/null ( startgroup "Configuring conda" ) 2> /dev/null -source ${MINIFORGE_HOME}/etc/profile.d/conda.sh +source "${MINIFORGE_HOME}/etc/profile.d/conda.sh" conda activate base export CONDA_SOLVER="libmamba" export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 -mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + diff --git a/README.md b/README.md index f992199..2ec7087 100644 --- a/README.md +++ b/README.md @@ -619,6 +619,3 @@ Feedstock Maintainers * [@timkpaine](https://github.com/timkpaine/) * [@xhochy](https://github.com/xhochy/) - - - diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0d9b854..60f4dd6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "1.9.0" %} +{% set version = "1.10.0" %} # Note: This recipe is specifically designed to work well with the autotick bot. # Also refer to https://github.com/conda-forge/rust-feedstock/blob/main/recipe/meta.yaml. @@ -8,15 +8,15 @@ package: source: - url: https://pypi.io/packages/source/p/polars/polars-{{ version }}.tar.gz # [polars_variant == "polars"] - sha256: 8e1206ef876f61c1d50a81e102611ea92ee34631cb135b46ad314bfefd3cb122 # [polars_variant == "polars"] + sha256: 855b0fffbe4fbb1c89b4f9b4b6cc724b337f946a9ba50829eb22b8a36483b3c3 # [polars_variant == "polars"] - url: https://pypi.io/packages/source/p/polars-lts-cpu/polars_lts_cpu-{{ version }}.tar.gz # [polars_variant == "polars-lts-cpu"] - sha256: 4848ea9f54cb59cce6b08a5f161a5c488684b55729f2ef076c65ca92759a985e # [polars_variant == "polars-lts-cpu"] + sha256: ca48eec281fdd7d68665d64b4001bd06921e68ec492d9692d8093c2516e68b3f # [polars_variant == "polars-lts-cpu"] - url: https://pypi.io/packages/source/p/polars-u64-idx/polars_u64_idx-{{ version }}.tar.gz # [polars_variant == "polars-u64-idx"] - sha256: 7236e87e57a96fe783f8db01acd63f252f5017912cf1c8ffa3eda1026d4435bd # [polars_variant == "polars-u64-idx"] + sha256: 8bfb16f0d0e58573d9b3bfc42f8a9f14bfae8d5171f137d3573317290c598f13 # [polars_variant == "polars-u64-idx"] build: - number: 1 + number: 0 skip: true # [win and python_impl=="pypy"] skip: true # [aarch64 and python_impl=="pypy"]