phono3py

maintainer yuhldr · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The pip install is used internally within a build environment to install build dependencies (numpy, scikit-build-core, etc.) required to build the project's own source from a trusted git repository; this is a normal part of building Python packages and does not involve installing untrusted or external code.

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 pip install is used internally within a build environment to install build dependencies (numpy, scikit-build-core, etc.) required to build the project's own source from a trusted git repository; this is a normal part of building Python packages and does not involve installing untrusted or external code.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:42 _buildenv/bin/pip install --upgrade pip

PKGBUILD

1 offending line(s) highlighted
1pkgname=('phono3py')
2pkgver=4.3.3
3pkgrel=2
4pkgdesc="A simulation package of phonon-phonon interaction related properties"
5arch=('any')
6url="https://github.com/phonopy/phono3py"
7license=('BSD')
8depends=(
9 # "python-phonopy>=2.46.0"
10 # "python-phonopy<2.47"
11 "python-phonopy"
12 "python-scipy"
13)
14makedepends=(
15 python-pip
16 cmake
17 gcc
18 ninja
19)
20
21
22source=(
23 "git+https://github.com/phonopy/phono3py.git#tag=v${pkgver}"
24 # "lammps.patch"
25)
26sha256sums=(
27 'SKIP'
28 # 'SKIP'
29)
30
31prepare() {
32 cd "$srcdir"/phono3py
33 sed -i 's/cmake\.verbose/build.verbose/g' pyproject.toml
34}
35
36
37build() {
38 cd "$srcdir"/phono3py
39 rm -rf dist
40
41 python -m venv _buildenv
42 _buildenv/bin/pip install --upgrade pip
43 _buildenv/bin/pip install \
44 numpy \
45 "scikit-build-core" \
46 "nanobind<2.10.0" \
47 setuptools-scm \
48 build
49
50 _buildenv/bin/python -m build --wheel --no-isolation
51}
52
53
54package() {
55 cd "$srcdir"/phono3py
56 PIP_CONFIG_FILE=/dev/null pip install \
57 --isolated --root="$pkgdir" \
58 --ignore-installed --no-deps dist/*.whl
59}
60

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion