dev-python/cuda-bindings
Python bindings for CUDA driver and runtime APIs
ChangeLog
commit 8f1bda406d0f40906b3061644e2fb649b713ee27
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 27 14:10:47 2026 +0200
dev-python/cuda-bindings: add 13.3.0
Upstream's build_hooks.py _REQUIRED_HEADERS list grew cudaProfiler.h
(driver) + cuda_profiler_api.h (runtime) in 13.3.0, so the toolkit's
profiler components are now mandatory at build time. Tightened the
nvidia-cuda-toolkit dep to [profiler].
Also tightened the cuda-pathfinder bound from unbounded to >=1.5
to match upstream's build-system requires.
Build-check incomplete on this host: the installed nvidia-cuda-toolkit
is USE=-profiler, so the build_hooks.py header lookup errors before
the wheel is produced. The dep tightening makes the failure mode a
clean USE-conflict instead of a cryptic header-missing build error
for users on the upgrade path; full build-verification deferred.
commit 426bfde39bbb8761827d58e571775bad5a9cc5a6
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 13 14:34:35 2026 +0200
dev-python/cuda-bindings: disable py3.11
commit 15354fced224e3b64be4ac5535203e1931e5dd00
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 17:08:48 2026 +0200
dev-python/cuda-bindings: add RESTRICT="bindist mirror"
NVIDIA-CUDA is an EULA license; per Gentoo policy the distfile must
not be redistributed by the mirror network and binpkgs built from it
must not be shared. pkgcheck's MissingLicenseRestricts flagged this
on the initial commit; following up rather than amending the
already-pushed-elsewhere change.
commit 9b548a35551aa65a625c843c90e0dfb1044d7f49
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 17:04:48 2026 +0200
dev-python/cuda-bindings: new package, 13.2.0
Tier 1 of the vllm CUDA target packaging cycle. NVIDIA's Cython
bindings to the CUDA driver and runtime APIs — the Python layer
under cuda-python that real consumers (cutlass-dsl, flashinfer,
quack) talk through.
Built from source rather than the wheel-only PyPI release, per the
"full source" decision in the audit memo. Source lives in the
NVIDIA/cuda-python monorepo under cuda_bindings/; the matching tag
is the bare \`v<PV>\` form (cuda-pathfinder uses a different prefix).
Build_hooks.py runs at wheel build time:
- pyclibrary parses /opt/cuda's CUDA driver/runtime/nvrtc/nvjitlink/
nvvm/nvfatbin/cufile/nvml headers
- generates Cython sources from .in templates
- cythonize + g++ build 17 extension modules per Python impl
CUDA_HOME is exported so build_hooks._get_cuda_paths picks up
/opt/cuda from dev-util/nvidia-cuda-toolkit. Cython is pinned by
upstream to 3.2.x; ::gentoo's 3.2.4 is in band.
LICENSE is NVIDIA-CUDA (proprietary, same as the toolkit).
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CUDA_BINDINGS feeds the version
to setuptools_scm since the GitHub archive has no .git history.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 27 14:10:47 2026 +0200
dev-python/cuda-bindings: add 13.3.0
Upstream's build_hooks.py _REQUIRED_HEADERS list grew cudaProfiler.h
(driver) + cuda_profiler_api.h (runtime) in 13.3.0, so the toolkit's
profiler components are now mandatory at build time. Tightened the
nvidia-cuda-toolkit dep to [profiler].
Also tightened the cuda-pathfinder bound from unbounded to >=1.5
to match upstream's build-system requires.
Build-check incomplete on this host: the installed nvidia-cuda-toolkit
is USE=-profiler, so the build_hooks.py header lookup errors before
the wheel is produced. The dep tightening makes the failure mode a
clean USE-conflict instead of a cryptic header-missing build error
for users on the upgrade path; full build-verification deferred.
commit 426bfde39bbb8761827d58e571775bad5a9cc5a6
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 13 14:34:35 2026 +0200
dev-python/cuda-bindings: disable py3.11
commit 15354fced224e3b64be4ac5535203e1931e5dd00
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 17:08:48 2026 +0200
dev-python/cuda-bindings: add RESTRICT="bindist mirror"
NVIDIA-CUDA is an EULA license; per Gentoo policy the distfile must
not be redistributed by the mirror network and binpkgs built from it
must not be shared. pkgcheck's MissingLicenseRestricts flagged this
on the initial commit; following up rather than amending the
already-pushed-elsewhere change.
commit 9b548a35551aa65a625c843c90e0dfb1044d7f49
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 17:04:48 2026 +0200
dev-python/cuda-bindings: new package, 13.2.0
Tier 1 of the vllm CUDA target packaging cycle. NVIDIA's Cython
bindings to the CUDA driver and runtime APIs — the Python layer
under cuda-python that real consumers (cutlass-dsl, flashinfer,
quack) talk through.
Built from source rather than the wheel-only PyPI release, per the
"full source" decision in the audit memo. Source lives in the
NVIDIA/cuda-python monorepo under cuda_bindings/; the matching tag
is the bare \`v<PV>\` form (cuda-pathfinder uses a different prefix).
Build_hooks.py runs at wheel build time:
- pyclibrary parses /opt/cuda's CUDA driver/runtime/nvrtc/nvjitlink/
nvvm/nvfatbin/cufile/nvml headers
- generates Cython sources from .in templates
- cythonize + g++ build 17 extension modules per Python impl
CUDA_HOME is exported so build_hooks._get_cuda_paths picks up
/opt/cuda from dev-util/nvidia-cuda-toolkit. Cython is pinned by
upstream to 3.2.x; ::gentoo's 3.2.4 is in band.
LICENSE is NVIDIA-CUDA (proprietary, same as the toolkit).
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CUDA_BINDINGS feeds the version
to setuptools_scm since the GitHub archive has no .git history.


View
Download
Browse