Skip to content

Commit c9e9660

Browse files
leofangClaudeconda-forge-webservices[bot]
authored
cuda-python v12.9.6 (#177)
* Initial plan * Update recipe to cuda-python 12.9.6 Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> * MNT: Re-rendered with conda-smithy 3.56.2 and conda-forge-pinning 2026.03.11.21.47.0 * WAR for cuda-bindings * Apply setuptools-scm fix to Windows build script Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --------- Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com> Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> Co-authored-by: conda-forge-webservices[bot] <91080706+conda-forge-webservices[bot]@users.noreply.github.com>
1 parent 5a5c434 commit c9e9660

7 files changed

Lines changed: 27 additions & 14 deletions

File tree

.scripts/build_steps.sh

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE.txt

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build-locally.py

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/build_output.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
set DIR_NAME=%PKG_NAME:-=_%
22
cd %DIR_NAME%
3+
if "%DIR_NAME%"=="cuda_python" (
4+
rem The upstream setup.py calls get_version() without dist_name,
5+
rem so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored.
6+
set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%
7+
)
8+
if "%DIR_NAME%"=="cuda_bindings" (
9+
rem The upstream setup.py calls get_version() without dist_name,
10+
rem so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored.
11+
set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%
12+
)
313
%PYTHON% -m pip install . --no-deps -vv

recipe/build_output.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
DIR_NAME="$(echo $PKG_NAME | tr '-' '_')"
44
cd $DIR_NAME
5+
if [[ ${DIR_NAME} == "cuda_python" || ${DIR_NAME} == "cuda_bindings" ]]; then
6+
# The upstream setup.py calls get_version() without dist_name,
7+
# so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored.
8+
export SETUPTOOLS_SCM_PRETEND_VERSION=${PKG_VERSION}
9+
fi
510
$PYTHON -m pip install . --no-deps -vv

recipe/meta.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set number = 0 %}
2-
{% set version = "12.9.5" %}
3-
{% set sha256 = "5210b063a74741abb86eb82f2d40e075be4e85c755208f4c92dd7cb86647415f" %}
2+
{% set version = "12.9.6" %}
3+
{% set sha256 = "c48d81e7ee0755c571c82b5c06614b8c4a40e8b5976536a0967705253ae45f48" %}
44

55
{% set is_freethreading = environ.get("is_freethreading", False) %}
66
{% set bindings_major_version = version.split(".")[0]|int %}
@@ -49,6 +49,7 @@ outputs:
4949
- python {{ python_min }}.*
5050
- pip
5151
- setuptools
52+
- setuptools-scm >=8
5253
run:
5354
- python >={{ python_min }}
5455
- {{ pin_subpackage('cuda-bindings', max_pin='x.x') }}
@@ -67,7 +68,8 @@ outputs:
6768
- cuda.bindings.nvrtc
6869
- cuda.bindings.nvjitlink
6970
- cuda.bindings.nvvm
70-
- cuda.bindings._nvml
71+
- cuda.bindings.nvml
72+
- cuda.bindings.nvfatbin
7173
commands:
7274
- python -c "import importlib.metadata; importlib.metadata.version('cuda-python')"
7375
about:
@@ -125,6 +127,7 @@ outputs:
125127
- pyclibrary
126128
- python
127129
- setuptools
130+
- setuptools-scm >=8
128131
run:
129132
- python
130133
- cuda-pathfinder >=1.1.0,<2
@@ -174,7 +177,8 @@ outputs:
174177
- cuda.bindings.nvrtc
175178
- cuda.bindings.nvjitlink
176179
- cuda.bindings.nvvm
177-
- cuda.bindings._nvml
180+
- cuda.bindings.nvml
181+
- cuda.bindings.nvfatbin
178182
about:
179183
home: https://nvidia.github.io/cuda-python/cuda-bindings
180184
license: LicenseRef-NVIDIA-SOFTWARE-LICENSE

0 commit comments

Comments
 (0)