python-openinference-instrumentation-dspy
LOW
maintainer medaminezghal
1 votes
scanned 2026-09-06 13:11:32.219503
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-dspy
4
pkgname=python-$_name
5
pkgver=0.1.43
6
pkgrel=1
7
pkgdesc="OpenInference DSPy Instrumentation."
8
arch=('any')
9
_repo="https://github.com/Arize-ai/openinference"
10
url="$_repo/tree/main/python/instrumentation/$_name"
11
license=('Apache-2.0')
12
depends=('python' 'python-opentelemetry-api' 'python-opentelemetry-instrumentation' 'python-opentelemetry-semantic-conventions' 'python-openinference-instrumentation' 'python-openinference-semantic-conventions' 'python-wrapt' 'python-typing_extensions')
13
makedepends=('python-hatchling' 'python-build' 'python-installer' 'python-wheel')
14
checkdepends=('python-dspy' 'python-opentelemetry-sdk' 'python-pytest-recording' 'python-litellm' 'python-urllib3' 'python-vcrpy')
15
optdepends=('python-dspy: instruments')
16
source=("$_repo/archive/refs/tags/$pkgname-v$pkgver.tar.gz")
17
sha256sums=('5cd51309ca0d81ec4f2c7bc6ad6e6702cd476c13b9347265de3c7fe605b26b3b')
18
19
build() {
20
cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/python/instrumentation/$_name
21
python -m build --wheel --no-isolation
22
}
23
24
check() {
25
local pytest_options=(
26
-vv
27
--disable-warnings
28
)
29
cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/python/instrumentation/$_name
30
python -m venv --system-site-packages test-env
31
test-env/bin/python -m installer dist/*.whl
32
test-env/bin/python -P -m pytest "${pytest_options[@]}" tests
33
}
34
35
package() {
36
cd "$srcdir"/${_name%%-*}-$pkgname-v$pkgver/python/instrumentation/$_name
37
python -m installer --destdir="$pkgdir" dist/*.whl
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 13:11:32 | Low | 1 |