From af896016899b6341dfdd1681ac19780e2d3baa0f Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:03:33 +0000 Subject: [PATCH 01/25] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.41.1, and conda-forge-pinning 2024.10.08.09.45.19 --- .scripts/build_steps.sh | 1 + README.md | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 5f435bf..1cac28a 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -63,6 +63,7 @@ else rattler-build build --recipe "${RECIPE_ROOT}" \ -m "${CI_SUPPORT}/${CONFIG}.yaml" \ ${EXTRA_CB_OPTIONS:-} \ + --target-platform "${HOST_PLATFORM}" \ --extra-meta flow_run_id="${flow_run_id:-}" \ --extra-meta remote_url="${remote_url:-}" \ --extra-meta sha="${sha:-}" diff --git a/README.md b/README.md index 5babd45..f4012a1 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,16 @@ About numba-cuda-feedstock Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/numba-cuda-feedstock/blob/main/LICENSE.txt) - +Home: https://github.com/NVIDIA/numba-cuda Package license: BSD-2-Clause Summary: A CUDA target for Numba +Development: https://github.com/NVIDIA/numba-cuda + +Documentation: https://nvidia.github.io/numba-cuda + A Numba target for compiling Python code to excute on CUDA GPUs. Current build status From 360a6c776edd9c367fa7b31ddee968085c95bc4c Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Tue, 8 Oct 2024 16:06:48 +0100 Subject: [PATCH 02/25] Address lint issue --- recipe/recipe.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 7d5697c..592bde6 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -18,11 +18,11 @@ build: requirements: host: - - python + - python >=3.9 - pip - setuptools run: - - python + - python >=3.9 - numba >=0.59.1 tests: @@ -44,4 +44,3 @@ about: extra: recipe-maintainers: - gmarkall - From 429f7cb67a41527de60777c027de3f2d26d566b8 Mon Sep 17 00:00:00 2001 From: conda-forge-admin Date: Wed, 6 Nov 2024 04:37:30 +0000 Subject: [PATCH 03/25] [ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration RemoveAutomergeAndRerender --- .github/workflows/automerge.yml | 17 ----------------- .github/workflows/webservices.yml | 13 ------------- 2 files changed, 30 deletions(-) delete mode 100644 .github/workflows/automerge.yml delete mode 100644 .github/workflows/webservices.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml deleted file mode 100644 index 0535f6a..0000000 --- a/.github/workflows/automerge.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: - status: {} - check_suite: - types: - - completed - -jobs: - automerge-action: - runs-on: ubuntu-latest - name: automerge - steps: - - name: automerge-action - id: automerge-action - uses: conda-forge/automerge-action@main - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} diff --git a/.github/workflows/webservices.yml b/.github/workflows/webservices.yml deleted file mode 100644 index d6f06b5..0000000 --- a/.github/workflows/webservices.yml +++ /dev/null @@ -1,13 +0,0 @@ -on: repository_dispatch - -jobs: - webservices: - runs-on: ubuntu-latest - name: webservices - steps: - - name: webservices - id: webservices - uses: conda-forge/webservices-dispatch-action@main - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} From 840d702385b6f6f3a1a43dca8bcc802ad9feaf73 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Sun, 10 Nov 2024 22:37:38 +0000 Subject: [PATCH 04/25] Bump version to 0.0.18 --- recipe/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 592bde6..438f944 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,7 +1,7 @@ context: name: numba-cuda sdist_name: numba_cuda - version: "0.0.17" + version: "0.0.18" package: name: ${{ name }} @@ -9,7 +9,7 @@ package: source: url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz - sha256: 62e4ab17e07131961dfc41c0bc825318dcf1ebced10b220496638b629421fc54 + sha256: a7ca2f4d7d73d8d100da82e90d59ed89e61a25858a3a544ace123a20cb50b750 build: noarch: python From b7baf5ce5f14405351a62b363848632b9c68ee5e Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 22:42:02 +0000 Subject: [PATCH 05/25] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.44.2, and conda-forge-pinning 2024.11.10.12.19.58 --- .ci_support/linux_64_.yaml | 2 +- .scripts/build_steps.sh | 14 +++++++------- azure-pipelines.yml | 29 +++++++++++++++++++++++++++-- 3 files changed, 35 insertions(+), 10 deletions(-) diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 82f2873..7f68ce7 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,5 +1,5 @@ cdt_name: -- cos7 +- conda channel_sources: - conda-forge channel_targets: diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 1cac28a..2b517d9 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 rattler-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 rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" -mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" - # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -69,8 +69,8 @@ else --extra-meta sha="${sha:-}" ( startgroup "Inspecting artifacts" ) 2> /dev/null - # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0 - command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0" + # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 + command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" ( endgroup "Inspecting artifacts" ) 2> /dev/null ( startgroup "Validating outputs" ) 2> /dev/null diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad85a2c..d309e84 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,5 +2,30 @@ # update the conda-forge.yml and/or the recipe/meta.yaml. # -*- mode: yaml -*- -jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml \ No newline at end of file +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 From 45c8b2ed552408bf1a1108edd25479845ef703d7 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Fri, 29 Nov 2024 23:29:53 +0000 Subject: [PATCH 06/25] Bump version to 0.0.19 --- recipe/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 438f944..0e806e6 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,7 +1,7 @@ context: name: numba-cuda sdist_name: numba_cuda - version: "0.0.18" + version: "0.0.19" package: name: ${{ name }} @@ -9,7 +9,7 @@ package: source: url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz - sha256: a7ca2f4d7d73d8d100da82e90d59ed89e61a25858a3a544ace123a20cb50b750 + sha256: afef31c6a2c4e93542497e0d2d6e88435806e1df066c919d37f0d33a52021415 build: noarch: python From 0ca92b500b590f08eb855b6d0695f6bb8b963989 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Fri, 29 Nov 2024 23:35:02 +0000 Subject: [PATCH 07/25] MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.44.9, and conda-forge-pinning 2024.11.29.19.06.25 --- .azure-pipelines/azure-pipelines-linux.yml | 2 +- .ci_support/linux_64_.yaml | 2 +- build-locally.py | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 875d996..1741648 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -11,7 +11,7 @@ jobs: linux_64_: CONFIG: linux_64_ UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 7f68ce7..0da1c13 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -5,4 +5,4 @@ channel_sources: channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- quay.io/condaforge/linux-anvil-x86_64:alma9 diff --git a/build-locally.py b/build-locally.py index 6788aea..c4a56c6 100755 --- a/build-locally.py +++ b/build-locally.py @@ -26,6 +26,13 @@ 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" From 7efe7c27c512d34c2c850ed5992a7a552f49836b Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Fri, 29 Nov 2024 23:41:45 +0000 Subject: [PATCH 08/25] Add @bdice and @jakirkham as maintainers --- recipe/recipe.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 0e806e6..08b0086 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -43,4 +43,7 @@ about: extra: recipe-maintainers: + - bdice - gmarkall + - jakirkham + From ae6de8798219d1af0ccae5a0a6047cfee750d875 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Fri, 29 Nov 2024 23:42:21 +0000 Subject: [PATCH 09/25] MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.44.9, and conda-forge-pinning 2024.11.29.19.06.25 --- .github/CODEOWNERS | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d03da44..6ed8c2c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @gmarkall \ No newline at end of file +* @bdice @gmarkall @jakirkham \ No newline at end of file diff --git a/README.md b/README.md index f4012a1..fc10e53 100644 --- a/README.md +++ b/README.md @@ -149,5 +149,7 @@ In order to produce a uniquely identifiable distribution: Feedstock Maintainers ===================== +* [@bdice](https://github.com/bdice/) * [@gmarkall](https://github.com/gmarkall/) +* [@jakirkham](https://github.com/jakirkham/) From 17ffb72e4e7a8485b5d596a9f900505a64a502ab Mon Sep 17 00:00:00 2001 From: Graham Markall <535640+gmarkall@users.noreply.github.com> Date: Mon, 2 Dec 2024 14:11:10 +0000 Subject: [PATCH 10/25] Update recipe/recipe.yaml Co-authored-by: Bradley Dice --- recipe/recipe.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 08b0086..92a2189 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -46,4 +46,3 @@ extra: - bdice - gmarkall - jakirkham - From e40f647da5d64bfd803f48807218e8b07152449b Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Thu, 5 Dec 2024 20:09:56 +0000 Subject: [PATCH 11/25] Replace @jakirkham with @vyasr --- recipe/recipe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 92a2189..1e3d677 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -45,4 +45,4 @@ extra: recipe-maintainers: - bdice - gmarkall - - jakirkham + - vyasr From 388f80a6c7e0848f6884c160f33662d0cfdce517 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Thu, 5 Dec 2024 20:11:09 +0000 Subject: [PATCH 12/25] MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.44.9, and conda-forge-pinning 2024.12.05.17.22.05 --- .github/CODEOWNERS | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6ed8c2c..cfcdd85 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @bdice @gmarkall @jakirkham \ No newline at end of file +* @bdice @gmarkall @vyasr \ No newline at end of file diff --git a/README.md b/README.md index fc10e53..a80365b 100644 --- a/README.md +++ b/README.md @@ -151,5 +151,5 @@ Feedstock Maintainers * [@bdice](https://github.com/bdice/) * [@gmarkall](https://github.com/gmarkall/) -* [@jakirkham](https://github.com/jakirkham/) +* [@vyasr](https://github.com/vyasr/) From ea06d063a2ca24523caf6c5696f957ea03a9841c Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Thu, 5 Dec 2024 20:12:53 +0000 Subject: [PATCH 13/25] Bump version to 0.0.20 --- recipe/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 0e806e6..51261b2 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,7 +1,7 @@ context: name: numba-cuda sdist_name: numba_cuda - version: "0.0.19" + version: "0.0.20" package: name: ${{ name }} @@ -9,7 +9,7 @@ package: source: url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz - sha256: afef31c6a2c4e93542497e0d2d6e88435806e1df066c919d37f0d33a52021415 + sha256: 9d350e2a7d6ebbb9fed23ce5ce09761be52a3144eb84da6be4d267ad3f13b90c build: noarch: python From aa3c74278b948a8f6c22b85c137dbb7a9618dcb9 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Fri, 6 Dec 2024 14:58:06 +0000 Subject: [PATCH 14/25] Bump version to 0.0.21 --- recipe/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 51261b2..6a9bd80 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,7 +1,7 @@ context: name: numba-cuda sdist_name: numba_cuda - version: "0.0.20" + version: "0.0.21" package: name: ${{ name }} @@ -9,7 +9,7 @@ package: source: url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz - sha256: 9d350e2a7d6ebbb9fed23ce5ce09761be52a3144eb84da6be4d267ad3f13b90c + sha256: a95af3abb1c20e1db5d74b49d7322d312cd3a112cdac15e87039938241b9cabb build: noarch: python From 033576869df288a79a355681ffa590fe3b22979c Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 14:23:20 -0800 Subject: [PATCH 15/25] MNT: Re-rendered with conda-build 24.7.1, conda-smithy 3.44.9, and conda-forge-pinning 2024.12.09.20.27.57 --- .azure-pipelines/azure-pipelines-linux.yml | 2 +- .ci_support/linux_64_.yaml | 4 +-- .github/CODEOWNERS | 1 - .github/workflows/automerge.yml | 17 ------------- .github/workflows/webservices.yml | 13 ---------- .scripts/build_steps.sh | 15 +++++------ README.md | 7 ++++-- azure-pipelines.yml | 29 ++++++++++++++++++++-- build-locally.py | 7 ++++++ 9 files changed, 50 insertions(+), 45 deletions(-) delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/workflows/automerge.yml delete mode 100644 .github/workflows/webservices.yml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 875d996..1741648 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -11,7 +11,7 @@ jobs: linux_64_: CONFIG: linux_64_ UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 82f2873..0da1c13 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,8 +1,8 @@ cdt_name: -- cos7 +- conda channel_sources: - conda-forge channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- quay.io/condaforge/linux-anvil-x86_64:alma9 diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index d03da44..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @gmarkall \ No newline at end of file diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml deleted file mode 100644 index 0535f6a..0000000 --- a/.github/workflows/automerge.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: - status: {} - check_suite: - types: - - completed - -jobs: - automerge-action: - runs-on: ubuntu-latest - name: automerge - steps: - - name: automerge-action - id: automerge-action - uses: conda-forge/automerge-action@main - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} diff --git a/.github/workflows/webservices.yml b/.github/workflows/webservices.yml deleted file mode 100644 index d6f06b5..0000000 --- a/.github/workflows/webservices.yml +++ /dev/null @@ -1,13 +0,0 @@ -on: repository_dispatch - -jobs: - webservices: - runs-on: ubuntu-latest - name: webservices - steps: - - name: webservices - id: webservices - uses: conda-forge/webservices-dispatch-action@main - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 5f435bf..2b517d9 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 rattler-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 rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" -mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" - # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -63,13 +63,14 @@ else rattler-build build --recipe "${RECIPE_ROOT}" \ -m "${CI_SUPPORT}/${CONFIG}.yaml" \ ${EXTRA_CB_OPTIONS:-} \ + --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.6.0 - command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0" + # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 + command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" ( endgroup "Inspecting artifacts" ) 2> /dev/null ( startgroup "Validating outputs" ) 2> /dev/null diff --git a/README.md b/README.md index 5babd45..aa5b55f 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,16 @@ About numba-cuda-feedstock Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/numba-cuda-feedstock/blob/main/LICENSE.txt) - +Home: https://github.com/NVIDIA/numba-cuda Package license: BSD-2-Clause Summary: A CUDA target for Numba +Development: https://github.com/NVIDIA/numba-cuda + +Documentation: https://nvidia.github.io/numba-cuda + A Numba target for compiling Python code to excute on CUDA GPUs. Current build status @@ -145,5 +149,4 @@ In order to produce a uniquely identifiable distribution: Feedstock Maintainers ===================== -* [@gmarkall](https://github.com/gmarkall/) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad85a2c..d309e84 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,5 +2,30 @@ # update the conda-forge.yml and/or the recipe/meta.yaml. # -*- mode: yaml -*- -jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml \ No newline at end of file +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 6788aea..c4a56c6 100755 --- a/build-locally.py +++ b/build-locally.py @@ -26,6 +26,13 @@ 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" From 41f1c730a24fff6152474a9c18941f12ff8f3230 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 14:24:36 -0800 Subject: [PATCH 16/25] Update to 0.0.17.1. --- recipe/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 7d5697c..f40abb2 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -1,7 +1,7 @@ context: name: numba-cuda sdist_name: numba_cuda - version: "0.0.17" + version: "0.0.17.1" package: name: ${{ name }} @@ -9,7 +9,7 @@ package: source: url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz - sha256: 62e4ab17e07131961dfc41c0bc825318dcf1ebced10b220496638b629421fc54 + sha256: 6963e0f5ea7838700eb1ff7017070e2b4a31791fd1072cd8d514e85609786499 build: noarch: python From 0ab9b1a021348b411f625c79941bcd7d9ce6a202 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 14:34:29 -0800 Subject: [PATCH 17/25] Use python_min. --- recipe/recipe.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index b58c549..083e236 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -18,11 +18,11 @@ build: requirements: host: - - python >=3.9 + - python ${{ python_min }} - pip - setuptools run: - - python >=3.9 + - python >=${{ python_min }} - numba >=0.59.1 tests: From 0a97687509641cc528bc19c1068e4735e3ee134f Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 14:34:55 -0800 Subject: [PATCH 18/25] Use pypi.org. --- recipe/recipe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 083e236..4db403a 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -8,7 +8,7 @@ package: version: ${{ version }} source: - url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz + url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/${{ sdist_name }}-${{ version }}.tar.gz sha256: 6963e0f5ea7838700eb1ff7017070e2b4a31791fd1072cd8d514e85609786499 build: From 1375bac91f19899bbb280fcaca23071fca163811 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 16:41:05 -0600 Subject: [PATCH 19/25] Add test requirements on Python and pip. Co-authored-by: jakirkham --- recipe/recipe.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 4db403a..9df4086 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -26,6 +26,10 @@ requirements: - numba >=0.59.1 tests: + - requirements: + run: + - python ${{ python_min }} + - pip - python: imports: - numba_cuda From 493250eeae2bfab28a2cdb57b452e4be89d31687 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 18:11:04 -0600 Subject: [PATCH 20/25] Update tests. Co-authored-by: jakirkham --- recipe/recipe.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 9df4086..2d3ab94 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -30,9 +30,9 @@ tests: run: - python ${{ python_min }} - pip - - python: - imports: - - numba_cuda + - script: + - python -m pip check + - python -c "import numba_cuda" pip_check: true about: From d681632c0d0432395bd8c64d19ecd20d8eb65373 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 18:11:12 -0600 Subject: [PATCH 21/25] Update recipe/recipe.yaml Co-authored-by: jakirkham --- recipe/recipe.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 2d3ab94..5df88cd 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -27,9 +27,9 @@ requirements: tests: - requirements: - run: - - python ${{ python_min }} - - pip + run: + - python ${{ python_min }} + - pip - script: - python -m pip check - python -c "import numba_cuda" From 3bc71c554c8e5eafbbd3428ea4942aacdef261a9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 18:11:27 -0600 Subject: [PATCH 22/25] Update recipe/recipe.yaml --- recipe/recipe.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 5df88cd..3c2fcf6 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -33,7 +33,6 @@ tests: - script: - python -m pip check - python -c "import numba_cuda" - pip_check: true about: homepage: https://github.com/NVIDIA/numba-cuda From e1eee9ee8c2076e4b8b44c81ecf5a4376b42cee4 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Dec 2024 19:03:36 -0600 Subject: [PATCH 23/25] Update recipe/recipe.yaml Co-authored-by: jakirkham --- recipe/recipe.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 3c2fcf6..6db764c 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -2,6 +2,7 @@ context: name: numba-cuda sdist_name: numba_cuda version: "0.0.17.1" + python_min: "3.9" package: name: ${{ name }} From ccbe4f9988af6401a7710ab02dfadb3541f8ac09 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Mon, 9 Dec 2024 17:14:36 -0800 Subject: [PATCH 24/25] Combine `test` into one entry --- recipe/recipe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index 6db764c..6e1f840 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -31,7 +31,7 @@ tests: run: - python ${{ python_min }} - pip - - script: + script: - python -m pip check - python -c "import numba_cuda" From 49de81ef38dadb8653d9ade09e45f041837d2852 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 01:17:14 +0000 Subject: [PATCH 25/25] MNT: Re-rendered with conda-build 24.11.2, conda-smithy 3.44.9, and conda-forge-pinning 2024.12.09.22.31.18 --- .ci_support/linux_64_.yaml | 2 ++ .github/CODEOWNERS | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 0da1c13..9964e05 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -6,3 +6,5 @@ channel_targets: - conda-forge main docker_image: - quay.io/condaforge/linux-anvil-x86_64:alma9 +python_min: +- '3.9' diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c69aa3c..cfcdd85 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @bdice @gmarkall @vyasr +* @bdice @gmarkall @vyasr \ No newline at end of file