python-aiconfigurator-core

LOW
maintainer Smoolak 0 votes scanned 2026-09-21 00:26:32.109917
View on AUR
Why flagged

The package builds from a legitimate project source on GitHub, uses Git LFS for large files, and has a SKIP'd checksum due to LFS content; while the low vote count and recent upload are minor concerns, the build process is transparent and follows standard practices for Rust/Python crates.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a legitimate project source on GitHub, uses Git LFS for large files, and has a SKIP'd checksum due to LFS content; while the low vote count and recent upload are minor concerns, the build process is transparent and follows standard practices for Rust/Python crates.

PKGBUILD

1# Maintainer: Smoolak <smoolak@gmail.com>
2pkgname=python-aiconfigurator-core
3pkgver=0.12.0
4pkgrel=1
5_commit=7bdd746cedc46f4d555ccbd3d0d2194c4015219f
6pkgdesc='Standalone AIConfigurator modeling data and native Rust estimators'
7arch=('x86_64')
8url='https://github.com/ai-dynamo/aiconfigurator'
9license=('Apache-2.0')
10# The cc-built bundled zstd archive must contain native objects, not GCC LTO
11# bytecode that Rust's linker cannot resolve (observed missing ZSTD_* symbols).
12options=('!lto')
13depends=('glibc' 'gcc-libs' 'python>=3.11' 'python-packaging>=20.0'
14 'python-numpy>=2.1' 'python-numpy<3' 'python-pandas>=2.2.3'
15 'python-pyarrow>=15.0.0' 'python-yaml>=6.0' 'python-scipy>=1.13.1')
16makedepends=('cargo' 'git' 'git-lfs' 'python-build' 'python-installer'
17 'python-maturin>=1.12' 'python-maturin<2' 'python-setuptools>=69' 'python-wheel')
18checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-timeout'
19 'python-jinja>=3.1.0' 'python-matplotlib>=3.9.4' 'python-plotext>=5.3.2' 'python-plotext<6'
20 'python-plotly>=6.0.1' 'python-prettytable>=3.16.0' 'python-pydantic>=2.5'
21 'python-tqdm>=4.0.0' 'python-bokeh' 'python-nvidia-ml-py' 'python-munch>=4.0.0')
22source=("git+https://github.com/ai-dynamo/aiconfigurator.git#commit=$_commit")
23sha256sums=('SKIP')
24
25prepare() {
26 cd aiconfigurator
27 git lfs install --local
28 git config lfs.url https://github.com/ai-dynamo/aiconfigurator.git/info/lfs
29 git lfs pull
30 # Allow Arch's Python 3.14; the upstream tests exercise the Python/native
31 # interface and the installed package is checked separately.
32 sed -i 's/requires-python = ">=3.11,<3.14"/requires-python = ">=3.11"/' \
33 pyproject.toml aic-core/pyproject.toml
34 # Keep the cross-package metadata contract aligned with the distribution's
35 # Python support range; retain its comparisons and the behavioral tests.
36 sed -i 's/SUPPORTED_PYTHON = ">=3.11,<3.14"/SUPPORTED_PYTHON = ">=3.11"/' \
37 tests/cross_package/test_core_version_contract.py
38}
39
40build() {
41 cd aiconfigurator/aic-core
42 export CARGO_HOME="$srcdir/cargo"
43 # Preserve portable CPU targeting while optimizing the cross-crate native
44 # estimator. GCC's mixed-language LTO remains disabled above; this is LLVM
45 # LTO entirely within the Rust release build, not incompatible C bitcode.
46 export CARGO_PROFILE_RELEASE_LTO=fat
47 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
48 python -m build --wheel --no-isolation
49}
50
51check() {
52 cd aiconfigurator
53 export CARGO_HOME="$srcdir/cargo"
54 local root="$srcdir/test-install" site
55 site="$(python -c 'import sysconfig; print(sysconfig.get_path("purelib"))')"
56 python -m installer --destdir="$root" aic-core/dist/*.whl
57 # Same-source upper SDK is a fixture for the upstream cross-package/native
58 # contracts. It is not shipped with the standalone core package.
59 python -m build --wheel --no-isolation
60 python -m installer --destdir="$root" dist/*.whl
61 export PYTHONPATH="$root$site"
62 export HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 MPLBACKEND=agg
63 cargo test --locked --workspace --no-default-features
64 AIC_REQUIRE_EMBEDDED_ROUND_TRIP=1 cargo test --locked --workspace --all-features
65 python -m pytest -o addopts='' --confcutdir=tests/cross_package tests/cross_package
66 python -m pytest -o addopts='' aic-core/rust/aiconfigurator-core/parity_tests
67}
68
69package() {
70 cd aiconfigurator
71 python -m installer --destdir="$pkgdir" aic-core/dist/*.whl
72 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
73}
74

Scan history

Scanned at (UTC)SeverityRules
2026-09-21 00:26:32 Low 2
2026-09-20 23:33:19 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