From ad0bb93539701ebcc8e23e1d59b1d3221e4ecc2d Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:20:11 +0000 Subject: [PATCH 1/5] Initial plan From 952296c1263cbf4bed06469c5274e4c10132afc6 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:22:19 +0000 Subject: [PATCH 2/5] Update recipe to cuda-python 12.9.6 Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --- recipe/build_output.sh | 5 +++++ recipe/meta.yaml | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/recipe/build_output.sh b/recipe/build_output.sh index 998836d5..068fdeea 100644 --- a/recipe/build_output.sh +++ b/recipe/build_output.sh @@ -2,4 +2,9 @@ DIR_NAME="$(echo $PKG_NAME | tr '-' '_')" cd $DIR_NAME +if [[ ${DIR_NAME} == "cuda_python" ]]; then + # The upstream setup.py calls get_version() without dist_name, + # so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored. + export SETUPTOOLS_SCM_PRETEND_VERSION=${PKG_VERSION} +fi $PYTHON -m pip install . --no-deps -vv diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5270c4c0..4ff4aaf6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,6 @@ {% set number = 0 %} -{% set version = "12.9.5" %} -{% set sha256 = "5210b063a74741abb86eb82f2d40e075be4e85c755208f4c92dd7cb86647415f" %} +{% set version = "12.9.6" %} +{% set sha256 = "c48d81e7ee0755c571c82b5c06614b8c4a40e8b5976536a0967705253ae45f48" %} {% set is_freethreading = environ.get("is_freethreading", False) %} {% set bindings_major_version = version.split(".")[0]|int %} @@ -49,6 +49,7 @@ outputs: - python {{ python_min }}.* - pip - setuptools + - setuptools-scm >=8 run: - python >={{ python_min }} - {{ pin_subpackage('cuda-bindings', max_pin='x.x') }} @@ -67,7 +68,8 @@ outputs: - cuda.bindings.nvrtc - cuda.bindings.nvjitlink - cuda.bindings.nvvm - - cuda.bindings._nvml + - cuda.bindings.nvml + - cuda.bindings.nvfatbin commands: - python -c "import importlib.metadata; importlib.metadata.version('cuda-python')" about: @@ -125,6 +127,7 @@ outputs: - pyclibrary - python - setuptools + - setuptools-scm >=8 run: - python - cuda-pathfinder >=1.1.0,<2 @@ -174,7 +177,8 @@ outputs: - cuda.bindings.nvrtc - cuda.bindings.nvjitlink - cuda.bindings.nvvm - - cuda.bindings._nvml + - cuda.bindings.nvml + - cuda.bindings.nvfatbin about: home: https://nvidia.github.io/cuda-python/cuda-bindings license: LicenseRef-NVIDIA-SOFTWARE-LICENSE From e6d87d2db4b4b0c9535d3c15f7b24057201523ce Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:27:49 +0000 Subject: [PATCH 3/5] MNT: Re-rendered with conda-smithy 3.56.2 and conda-forge-pinning 2026.03.11.21.47.0 --- .scripts/build_steps.sh | 1 + LICENSE.txt | 3 +-- azure-pipelines.yml | 2 +- build-locally.py | 8 +------- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 250a5e22..d7df163b 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 < Date: Wed, 11 Mar 2026 23:08:18 -0400 Subject: [PATCH 4/5] WAR for cuda-bindings --- recipe/build_output.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/build_output.sh b/recipe/build_output.sh index 068fdeea..0cd9a9c8 100644 --- a/recipe/build_output.sh +++ b/recipe/build_output.sh @@ -2,7 +2,7 @@ DIR_NAME="$(echo $PKG_NAME | tr '-' '_')" cd $DIR_NAME -if [[ ${DIR_NAME} == "cuda_python" ]]; then +if [[ ${DIR_NAME} == "cuda_python" || ${DIR_NAME} == "cuda_bindings" ]]; then # The upstream setup.py calls get_version() without dist_name, # so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored. export SETUPTOOLS_SCM_PRETEND_VERSION=${PKG_VERSION} From ea7edd6d8645dcc6837d2cafd96c36858874aa88 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Thu, 12 Mar 2026 03:22:17 +0000 Subject: [PATCH 5/5] Apply setuptools-scm fix to Windows build script Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --- recipe/build_output.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipe/build_output.bat b/recipe/build_output.bat index 841c561b..49d2a4ef 100644 --- a/recipe/build_output.bat +++ b/recipe/build_output.bat @@ -1,3 +1,13 @@ set DIR_NAME=%PKG_NAME:-=_% cd %DIR_NAME% +if "%DIR_NAME%"=="cuda_python" ( + rem The upstream setup.py calls get_version() without dist_name, + rem so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored. + set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION% +) +if "%DIR_NAME%"=="cuda_bindings" ( + rem The upstream setup.py calls get_version() without dist_name, + rem so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored. + set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION% +) %PYTHON% -m pip install . --no-deps -vv