Skip to content

Commit 0df9c19

Browse files
committed
MNT: tighten cuda-python 13.3.1 recipe update
Reset the build number for the new upstream release and align the v1 recipe with the published cuda-python metadata by adding cuda-core as a runtime dependency of the metapackage. Address follow-up review from the rattler-build migration by adding aarch64-only cudla runtime/test coverage, keeping libnvfatbin as a runtime dependency only, and restoring the setuptools workaround comment.
1 parent c41122a commit 0df9c19

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

recipe/recipe.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
schema_version: 1
33

44
context:
5-
number: 2
5+
number: 0
66
version: "13.3.1"
77
sha256: 5d21c94fb373c9dc5c71f922a4356bb0e292b85c1a3c04930a37834f5201a00d
88
bindings_major_version: ${{ (version | split("."))[0] | int }}
@@ -45,6 +45,7 @@ outputs:
4545
run:
4646
- python >=${{ python_min }}
4747
- ${{ pin_subpackage('cuda-bindings', upper_bound='x.x') }}
48+
- cuda-core >=1.0.0,<1.1.0
4849
- cuda-version >=13.0,<14.0a0
4950
tests:
5051
- script:
@@ -53,6 +54,8 @@ outputs:
5354
- if: linux
5455
then: python -c "import cuda.bindings.cufile"
5556
- python -c "import cuda.bindings.nvml"
57+
- if: aarch64
58+
then: python -c "import cuda.bindings.cudla"
5659
requirements:
5760
run:
5861
- python ${{ python_min }}.*
@@ -112,7 +115,6 @@ outputs:
112115
then:
113116
- libcufile
114117
- libcufile-dev
115-
- libnvfatbin
116118
- cython
117119
- pip
118120
- pyclibrary
@@ -131,7 +133,9 @@ outputs:
131133
- ${{ pin_compatible('cuda-nvvm-impl', lower_bound='x', upper_bound='x') }}
132134
- if: linux
133135
then: ${{ pin_compatible('libcufile', lower_bound='x', upper_bound='x') }}
134-
- ${{ pin_compatible('libnvfatbin', lower_bound='x', upper_bound='x') }}
136+
- if: aarch64
137+
then: libcudla >=13.0,<14.0a0
138+
- libnvfatbin >=13.0,<14.0a0
135139
- libnvjitlink >=13.0,<14.0a0
136140
ignore_run_exports:
137141
from_package:
@@ -156,6 +160,7 @@ outputs:
156160
then: export C_INCLUDE_PATH="$CONDA_PREFIX/${{ subdir }}/include"
157161
- if: win
158162
then: set "CL=%CL% /I%CONDA_PREFIX%\${{ subdir }}\include"
163+
# Workaround for https://github.com/conda-forge/setuptools-feedstock/issues/399
159164
- pip install setuptools
160165
- cythonize -i -3 -Xfreethreading_compatible=True *.pyx
161166
- python -c "import test_cimport; test_cimport.test()"
@@ -164,6 +169,8 @@ outputs:
164169
- python -c "import cuda.bindings.nvml"
165170
- if: linux
166171
then: python -c "import cuda.bindings.cufile"
172+
- if: aarch64
173+
then: python -c "import cuda.bindings.cudla"
167174
requirements:
168175
run:
169176
- ${{ compiler('c') }}

0 commit comments

Comments
 (0)