python-llama-index-retrievers-bm25
maintainer enihcam
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install in check() installs the package's own built wheel into a test venv for a smoke-test import check; the source is from the official PyPI CDN with a pinned sha256 checksum, so there is no meaningful supply-chain risk beyond the minor quality concern of using pip inside check().
Triggered rules
LOW
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. Severity reduced: python-* packages routinely use pip.
-
PKGBUILD:24
test-env/bin/pip install installer dist/*.whl --quiet
LOW
AI review
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is LOW (confidence 70%): The pip install in check() installs the package's own built wheel into a test venv for a smoke-test import check; the source is from the official PyPI CDN with a pinned sha256 checksum, so there is no meaningful supply-chain risk beyond the minor quality concern of using pip inside check().
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Youcef NAFA <youcef.nafa at gmail>
2
3
_name=llama-index-retrievers-bm25
4
pkgname=python-${_name}
5
pkgver=0.7.1
6
pkgrel=1
7
pkgdesc="llama-index retrievers bm25 integration"
8
arch=('any')
9
url="https://github.com/run-llama/llama_index"
10
license=('MIT')
11
depends=('python' 'python-bm25s' 'python-llama-index-core' 'python-pystemmer')
12
makedepends=('python-hatchling' 'python-build' 'python-installer' 'python-wheel')
13
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name//-/_}-$pkgver.tar.gz")
14
sha256sums=('65bff95c5c1354854394209406d2d342ff5e62983ff2818fd2b85d5bed70bed0')
15
16
build() {
17
cd "${srcdir}"/${_name//-/_}-${pkgver}
18
python -m build --wheel --no-isolation
19
}
20
21
check() {
22
cd "${srcdir}"/${_name//-/_}-${pkgver}
23
python -m venv test-env
24
test-env/bin/pip install installer dist/*.whl --quiet
25
test-env/bin/python -c "from llama_index.retrievers.bm25 import BM25Retriever; print('import OK')"
26
}
27
28
package() {
29
cd "${srcdir}"/${_name//-/_}-${pkgver}
30
python -m installer --destdir="$pkgdir" dist/*.whl
31
}
32
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 | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |