python-openinference-instrumentation-litellm

LOW
maintainer medaminezghal 1 votes scanned 2026-09-06 17:12:21.241024
View on AUR
Why flagged

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

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.

PKGBUILD

1# Maintainer: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
2
3_name=openinference-instrumentation-litellm
4pkgname=python-$_name
5pkgver=0.1.41
6pkgrel=1
7pkgdesc="OpenInference liteLLM Instrumentation."
8arch=('any')
9_repo="https://github.com/Arize-ai/openinference"
10url="$_repo/tree/main/${pkgname/-//instrumentation/}"
11license=('Apache-2.0')
12depends=('python' 'python-opentelemetry-api' 'python-opentelemetry-sdk' 'python-opentelemetry-instrumentation' 'python-openinference-instrumentation' 'python-openinference-semantic-conventions' 'python-wrapt' 'python-setuptools')
13makedepends=('python-hatchling' 'python-build' 'python-installer' 'python-wheel')
14checkdepends=('python-litellm' 'python-fastapi' 'python-orjson' 'python-opentelemetry-sdk' 'python-opentelemetry-instrumentation-httpx' 'python-pytest-recording' 'python-tenacity')
15source=("$_repo/archive/refs/tags/$pkgname-v$pkgver.tar.gz"
16 "fix-duplicated-thinking-text.patch")
17sha256sums=('8357307f9a91fe92c468b6d0da2d7ed69cacf7cc0fbc4fe3359c2a905ec75ea2'
18 '40007b9e2e2557deae751e058df6d0a289aea0721eca29e64f97318beb635474')
19
20prepare() {
21 cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/${pkgname/-//instrumentation/}
22 patch -Np1 -i "$srcdir"/fix-duplicated-thinking-text.patch
23}
24
25build() {
26 cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/${pkgname/-//instrumentation/}
27 python -m build --wheel --no-isolation
28}
29
30check() {
31 local pytest_options=(
32 -vv
33 --disable-warnings
34 )
35 cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/${pkgname/-//instrumentation/}
36 python -m venv --system-site-packages test-env
37 test-env/bin/python -m installer dist/*.whl
38 test-env/bin/python -P -m pytest "${pytest_options[@]}" tests
39}
40
41package() {
42 cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/${pkgname/-//instrumentation/}
43 python -m installer --destdir="$pkgdir" dist/*.whl
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-09-06 17:12:21 Low 1

Report a package

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

0 / 4000
Your suggestion