python-nvidia-dali-cuda130
maintainer Eirikr
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package installs a pre-built wheel from NVIDIA's official PyPI host (pypi.nvidia.com), which is a trusted source for this software; the non-whitelisted host is plausibly official and the wheel contains only expected binary components for CUDA 13.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs a pre-built wheel from NVIDIA's official PyPI host (pypi.nvidia.com), which is a trusted source for this software; the non-whitelisted host is plausibly official and the wheel contains only expected binary components for CUDA 13.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:19
source=("https://pypi.nvidia.com/nvidia-dali-cuda130/${_whl}")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: eirikr <151315375+Oichkatzelesfrettschen@users.noreply.github.com>
2
# Why: AUR python-nvidia-dali is orphaned and requires gcc13 (AUR) to build from source.
3
# NVIDIA publishes pre-built DALI wheels on pypi.nvidia.com for cuda130.
4
# Wheel is py3-none but contains per-cpython .so files (cp39..cp313).
5
# System Python is 3.14; python313 provides the matching cp313 extension.
6
# Upgraded from AUR 1.51.0 to 1.53.0, then to 2.0.0 (latest CUDA 13 compatible release).
7
8
pkgname=python-nvidia-dali-cuda130
9
pkgver=2.0.0
10
pkgrel=1
11
pkgdesc='NVIDIA DALI 2.x - data loading and augmentation library for deep learning (CUDA 13.x; use python3.13)'
12
arch=(x86_64)
13
url='https://github.com/NVIDIA/DALI'
14
license=('Apache-2.0')
15
# DALI bundles its own libs; system depends are minimal
16
depends=(cuda 'nvidia-utils>=590' python313)
17
18
_whl="nvidia_dali_cuda130-${pkgver}-py3-none-manylinux_2_28_x86_64.whl"
19
source=("https://pypi.nvidia.com/nvidia-dali-cuda130/${_whl}")
20
sha256sums=('dd950e289753cfee88fa3bfd246eedf94412010b143621fc46ea4903c0cc2ba5')
21
noextract=("${_whl}")
22
23
_sitepkgs313="$(python3.13 -c 'import site; print(site.getsitepackages()[0])')"
24
25
package() {
26
# Install wheel to Python 3.13 site-packages (cp313 extension present; no cp314).
27
install -d "${pkgdir}${_sitepkgs313}"
28
bsdtar -C "${pkgdir}${_sitepkgs313}" -xf "${srcdir}/${_whl}" \
29
'nvidia/*' \
30
"nvidia_dali_cuda130-${pkgver}.dist-info/*"
31
32
# Mark .so files executable
33
find "${pkgdir}${_sitepkgs313}/nvidia/dali" -name '*.so*' -exec chmod 755 {} \;
34
35
# Symlink main DALI libs to /usr/lib for system-level use
36
install -d "${pkgdir}/usr/lib"
37
for _so in libdali.so libdali_core.so libdali_kernels.so libdali_operators.so; do
38
ln -sr "${pkgdir}${_sitepkgs313}/nvidia/dali/${_so}" "${pkgdir}/usr/lib/${_so}" 2>/dev/null || true
39
done
40
}
41
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |